</div>
</div>
</div>
+ <div class="pure-g">
+ <div class="pure-u-lg-{$ratioLabel} pure-u-1">
+ <div class="form-label">
+ <label for="titleLink">
+ <span class="label-name">{'Theme'|t}</span>
+ </label>
+ </div>
+ </div>
+ <div class="pure-u-lg-{$ratioInput} pure-u-1">
+ <div class="form-input">
+ <select name="theme" id="theme">
+ {loop="$theme_available"}
+ <option value="{$value}"
+ {if="$value===$theme"}
+ selected="selected"
+ {/if}
+ >
+ {/loop}
+ </select>
+ </div>
+ </div>
+ </div>
<div class="pure-g">
<div class="pure-u-lg-{$ratioLabel} pure-u-1 ">
<div class="form-label">
<updated>{$last_update}</updated>
{/if}
<link rel="self" href="{$self_link}#" />
- {if="!empty($pubsubhub_url)"}
- <!-- PubSubHubbub Discovery -->
- <link rel="hub" href="{$pubsubhub_url}#" />
- <!-- End Of PubSubHubbub Discovery -->
- {/if}
+ {loop="$plugins_feed_header"}
+ {$value}
+ {/loop}
<author>
<name>{$index_url}</name>
<uri>{$index_url}</uri>
</author>
<id>{$index_url}</id>
<generator>Shaarli</generator>
- {loop="links"}
+ {loop="$links"}
<entry>
<title>{$value.title}</title>
{if="$usepermalinks"}
{/if}
<id>{$value.guid}</id>
{if="$show_dates"}
- <updated>{$value.iso_date}</updated>
+ <published>{$value.pub_iso_date}</published>
+ <updated>{$value.up_iso_date}</updated>
{/if}
<content type="html" xml:lang="{$language}"><![CDATA[{$value.description}]]></content>
{loop="$value.taglist"}
<category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" />
{/loop}
+ {loop="$value.feed_plugins"}
+ {$value}
+ {/loop}
</entry>
{/loop}
</feed>
<copyright>{$index_url}</copyright>
<generator>Shaarli</generator>
<atom:link rel="self" href="{$self_link}" />
- {if="!empty($pubsubhub_url)"}
- <!-- PubSubHubbub Discovery -->
- <atom:link rel="hub" href="{$pubsubhub_url}" />
- {/if}
- {loop="links"}
+ {loop="$plugins_feed_header"}
+ {$value}
+ {/loop}
+ {loop="$links"}
<item>
<title>{$value.title}</title>
<guid isPermaLink="{if="$usepermalinks"}true{else}false{/if}">{$value.guid}</guid>
<link>{$value.url}</link>
{/if}
{if="$show_dates"}
- <pubDate>{$value.iso_date}</pubDate>
+ <pubDate>{$value.pub_iso_date}</pubDate>
+ <atom:modified>{$value.up_iso_date}</atom:modified>
{/if}
<description><![CDATA[{$value.description}]]></description>
{loop="$value.taglist"}
<category domain="{$index_url}?searchtags=">{$value}</category>
{/loop}
+ {loop="$value.feed_plugins"}
+ {$value}
+ {/loop}
</item>
{/loop}
</channel>
/**
* Remove CSS target padding (for fixed bar)
*/
- var anchor = document.querySelector(location.hash);
- if (anchor != null) {
- var padsize = anchor.clientHeight;
- console.log(document.querySelector(location.hash).clientHeight);
- this.window.scroll(0, this.window.scrollY - padsize);
- anchor.style.paddingTop = 0;
+ if (location.hash != '') {
+ var anchor = document.querySelector(location.hash);
+ if (anchor != null) {
+ var padsize = anchor.clientHeight;
+ console.log(document.querySelector(location.hash).clientHeight);
+ this.window.scroll(0, this.window.scrollY - padsize);
+ anchor.style.paddingTop = 0;
+ }
}
};