fix plain skin

This commit is contained in:
Martin Rotter 2021-10-01 07:23:47 +02:00
parent 2a172bf3ef
commit 56e617dfa1
2 changed files with 35 additions and 43 deletions

35
resources/skins/plain/README Executable file
View File

@ -0,0 +1,35 @@
%1, %2, ..., %N placeholders are used through all files and are replaced
with various article's properties in run-time when needed.
Here is overview of all placeholders used throughtout the skin:
Common placeholders:
%data% - is replaced by current absolute path to user data folder.
html_wrapper.html:
%1 - Title of the article.
%2 - Body of the preview which is composed from:
- single html_single_message.html (single article preview),
- multiple html_single_message.html (newspaper mode).
html_single_message.html:
%1 - Title of the article.
%2 - "Written by" text.
%3 - URL of the article.
%4 - Body of the article.
%5 - Date/time of the article.
%6 - Attachments (composed from html_enclosure_every.html).
%7 - Attached pictures (composed from html_enclosure_image.html).
html_adblocked.html:
%1 - Title of the page. This page is used when the website is entirely blocked by AdBlock.
%2 - Description of what and why was blocked.
html_enclosure_every.html:
%1 - URL of the attached media file.
%2 - Attachment symbol.
%3 - MIME type of the attachment.
html_enclosure_image.html:
%1 - URL of the attached picture file.
%2 - MIME type of the picture.
%3 - height of the picture thumbnail to be displayed which is loaded from application settings.

View File

@ -1,48 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<!--
This is the main layout file for article viewer.
This file is processed in runtime with article which
should be displayed.
%1, %2, ..., %N placeholders are used throught all files and are replaced
with various article's properties when needed.
Here is overview of all placeholders used throughtout the skin:
Common placeholders:
%data% - is replaced by current absolute path to user data folder.
html_wrapper.html:
%1 - Title of the article.
%2 - Body of the preview which is composed from:
- single html_single_message.html (single article preview),
- multiple html_single_message.html (newspaper mode).
html_single_message.html:
%1 - Title of the article.
%2 - "Written by" text.
%3 - URL of the article.
%4 - Body of the article.
%5 - Date/time of the article.
%6 - Attachments (composed from html_enclosure_every.html).
%7 - Attached pictures (composed from html_enclosure_image.html).
html_adblocked.html:
%1 - Title of the page. This page is used when the website is entirely blocked by AdBlock.
%2 - Description of what and why was blocked.
html_enclosure_every.html:
%1 - URL of the attached media file.
%2 - Attachment symbol.
%3 - MIME type of the attachment.
html_enclosure_image.html:
%1 - URL of the attached picture file.
%2 - MIME type of the picture.
%3 - height of the picture thumbnail to be displayed which is loaded from application settings.
-->
<head>
<!-- Place your custom skin-wide CSS styles here. -->
<style>