mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 00:12:41 +00:00
Adding support for READINGS
This commit is contained in:
parent
ddc44e0742
commit
007ca25c47
@ -129,6 +129,9 @@ e.g.
|
||||
**SUPPORTS**
|
||||
An optional list of tuples (img_alt, url, logo_url, title)
|
||||
|
||||
**READINGS**
|
||||
An optional list of `dict`, with `img_url` & `description` fields, of books you read, from most recent to oldest.
|
||||
|
||||
**ISSO_BASE_URL**
|
||||
An optional URL to an [isso](https://posativ.org/isso/) endpoint (serving `/js/embed.dev.js`).
|
||||
|
||||
|
@ -101,6 +101,12 @@
|
||||
|
||||
<div role="navigation" class="uk-width-medium-1-5 uk-hidden-small">
|
||||
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h3 class="uk-panel-title">Syndication</h3>
|
||||
<a rel="alternate" type="application/atom+xml" href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" class="mg-feed"><i class="uk-icon-rss uk-icon-medium"></i> ATOM</a>
|
||||
{% if EXTRA_ATOM_FEED %}<a rel="alternate" type="application/atom+xml" href="{{ EXTRA_ATOM_FEED['url'] }}" class="mg-feed"><i class="uk-icon-rss uk-icon-medium"></i> {{ EXTRA_ATOM_FEED['name'] }}</a>{% endif %}
|
||||
</div>
|
||||
|
||||
{% if SOCIAL %}
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h2 class="uk-panel-title">Ubiquité</h2>
|
||||
@ -112,6 +118,13 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if READINGS %}
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h2 class="uk-panel-title">En ce moment je lis</h2>
|
||||
<img class="uk-thumbnail" src="{{ READINGS[0]['img_url'] }}" alt="{{ READINGS[0]['description'] }}" title="{{ READINGS[0]['description'] }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<ul class="uk-nav uk-nav-side">
|
||||
{% if CATEGORY_SAVE_AS %}
|
||||
@ -146,12 +159,6 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h3 class="uk-panel-title">Receive Updates</h3>
|
||||
<a rel="alternate" type="application/atom+xml" href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" class="mg-feed"><i class="uk-icon-rss uk-icon-medium"></i> ATOM</a>
|
||||
{% if EXTRA_ATOM_FEED %}<a rel="alternate" type="application/atom+xml" href="{{ EXTRA_ATOM_FEED['url'] }}" class="mg-feed"><i class="uk-icon-rss uk-icon-medium"></i> {{ EXTRA_ATOM_FEED['name'] }}</a>{% endif %}
|
||||
</div>
|
||||
|
||||
{% if LINKS %}
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h3 class="uk-panel-title">Blogroll</h3>
|
||||
|
Loading…
Reference in New Issue
Block a user