complete layout of feed

This commit is contained in:
L3D 2019-07-06 17:01:57 +02:00
parent 5c22bac4b9
commit 8f77274cd9
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 18 additions and 9 deletions

View file

@ -18,8 +18,6 @@ item {
background-color:whitesmoke;
}
.itunes_author { display:none; }
/* single items */
title {
display:block;
@ -29,11 +27,13 @@ title {
title:before,
link:after,
.itunes_subtitle:after,
.itunes_subtitle:before{
.itunes_subtitle:before,
content:before{
content: '\a';
white-space: pre;
}
title:after{
title:after,
content:after {
content: '\a\a';
white-space: pre;
}
@ -58,14 +58,23 @@ pubDate,
.itunes_explicit,
.itunes_owner,
.itunes_new-feed-url,
.itunes_author,
guid,
lastBuildDate{ display: none; }
name {color:red; text-decoration: underline;}
price {color:green;}
stock {color:brown;}
country {color:blue;}
.itunes_block:pre{
content: '\a\a\a\a\a\a\a\a\a\a';
white-space: pre;
content {
color: #424242;
background-color: #ccc;
display:block;
border: 1px solid gray;
margin:1em;
margin-right: 12em;
padding:0.5em;
background-color: #ccc;
list-style: none;
}
.itunes_block{
content: '\a\a\a\a\a\a\a\a\a\a';

View file

@ -73,7 +73,7 @@ type="text/css"?>
{# #} <item>
{# #} <title>{{ page.title }}</title>
{# #} <link>{{ baseurl }}/{{ search }}/{{ page._id }}/</link>
{# #} <author>
{# #} <author class="itunes_author">
{%- if page.author -%}
{{ page.author }}
{%- else -%}
@ -83,7 +83,7 @@ type="text/css"?>
{# #} <pubDate>{{ page.pub_date|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</pubDate>
{# #} <enclosure url="{{ baseurl }}/{{ search }}/{{ page._id }}/{{ page.podcastmp3 }}" length="2307405" type="audio/mpeg"/>
{# #} <guid isPermaLink="false">{{ page._id }}</guid>
{# #} <itunes:explicit>no</itunes:explicit>
{# #} <itunes:explicit class="itunes_explicit">no</itunes:explicit>
{# #} <content type="html">
{{ page.xml }}
{%- if page.xml_img -%}