complete layout of feed
This commit is contained in:
parent
5c22bac4b9
commit
8f77274cd9
2 changed files with 18 additions and 9 deletions
|
@ -18,8 +18,6 @@ item {
|
||||||
background-color:whitesmoke;
|
background-color:whitesmoke;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itunes_author { display:none; }
|
|
||||||
|
|
||||||
/* single items */
|
/* single items */
|
||||||
title {
|
title {
|
||||||
display:block;
|
display:block;
|
||||||
|
@ -29,11 +27,13 @@ title {
|
||||||
title:before,
|
title:before,
|
||||||
link:after,
|
link:after,
|
||||||
.itunes_subtitle:after,
|
.itunes_subtitle:after,
|
||||||
.itunes_subtitle:before{
|
.itunes_subtitle:before,
|
||||||
|
content:before{
|
||||||
content: '\a';
|
content: '\a';
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
title:after{
|
title:after,
|
||||||
|
content:after {
|
||||||
content: '\a\a';
|
content: '\a\a';
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
|
@ -58,14 +58,23 @@ pubDate,
|
||||||
.itunes_explicit,
|
.itunes_explicit,
|
||||||
.itunes_owner,
|
.itunes_owner,
|
||||||
.itunes_new-feed-url,
|
.itunes_new-feed-url,
|
||||||
|
.itunes_author,
|
||||||
|
guid,
|
||||||
lastBuildDate{ display: none; }
|
lastBuildDate{ display: none; }
|
||||||
name {color:red; text-decoration: underline;}
|
name {color:red; text-decoration: underline;}
|
||||||
price {color:green;}
|
price {color:green;}
|
||||||
stock {color:brown;}
|
stock {color:brown;}
|
||||||
country {color:blue;}
|
country {color:blue;}
|
||||||
.itunes_block:pre{
|
content {
|
||||||
content: '\a\a\a\a\a\a\a\a\a\a';
|
color: #424242;
|
||||||
white-space: pre;
|
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{
|
.itunes_block{
|
||||||
content: '\a\a\a\a\a\a\a\a\a\a';
|
content: '\a\a\a\a\a\a\a\a\a\a';
|
||||||
|
|
|
@ -73,7 +73,7 @@ type="text/css"?>
|
||||||
{# #} <item>
|
{# #} <item>
|
||||||
{# #} <title>{{ page.title }}</title>
|
{# #} <title>{{ page.title }}</title>
|
||||||
{# #} <link>{{ baseurl }}/{{ search }}/{{ page._id }}/</link>
|
{# #} <link>{{ baseurl }}/{{ search }}/{{ page._id }}/</link>
|
||||||
{# #} <author>
|
{# #} <author class="itunes_author">
|
||||||
{%- if page.author -%}
|
{%- if page.author -%}
|
||||||
{{ page.author }}
|
{{ page.author }}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
|
@ -83,7 +83,7 @@ type="text/css"?>
|
||||||
{# #} <pubDate>{{ page.pub_date|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</pubDate>
|
{# #} <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"/>
|
{# #} <enclosure url="{{ baseurl }}/{{ search }}/{{ page._id }}/{{ page.podcastmp3 }}" length="2307405" type="audio/mpeg"/>
|
||||||
{# #} <guid isPermaLink="false">{{ page._id }}</guid>
|
{# #} <guid isPermaLink="false">{{ page._id }}</guid>
|
||||||
{# #} <itunes:explicit>no</itunes:explicit>
|
{# #} <itunes:explicit class="itunes_explicit">no</itunes:explicit>
|
||||||
{# #} <content type="html">
|
{# #} <content type="html">
|
||||||
{{ page.xml }}
|
{{ page.xml }}
|
||||||
{%- if page.xml_img -%}
|
{%- if page.xml_img -%}
|
||||||
|
|
Loading…
Reference in a new issue