mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 00:12:41 +00:00
more theme fixing after update
This commit is contained in:
parent
b0e0504d92
commit
eba1ecd9ba
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="uk-width-4-5@m">
|
<div class="uk-width-4-5@m">
|
||||||
<h1 class="uk-heading-large">Archives</h1>
|
<h1 class="uk-heading-primary">Archives</h1>
|
||||||
|
|
||||||
{% for article in dates %}
|
{% for article in dates %}
|
||||||
<article class="uk-article">
|
<article class="uk-article">
|
||||||
|
@ -40,16 +40,16 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="mg-container-social uk-width-1-10@m uk-hidden-small">
|
<div class="mg-container-social uk-width-1-10@m ">
|
||||||
|
|
||||||
{% if SHARE %}
|
{% if SHARE %}
|
||||||
<div class="uk-panel" id="mg-panel-social">
|
<div class="uk-panel" id="mg-panel-social">
|
||||||
<ul class="uk-nav uk-nav-side">
|
<ul class="uk-nav uk-nav-default">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ SITEURL }}/{{ article.url }}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" class="uk-button"><i class="fab fa-facebook-square"></i> Share</a>
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ SITEURL }}/{{ article.url }}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" class="uk-button uk-button-default"><i class="fab fa-facebook-square"></i> Share</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://twitter.com/intent/tweet?text={{ article.title|striptags|urlencode }}&url={{ SITEURL }}/{{ article.url }}&via={{ TWITTER_USERNAME }}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" class="uk-button" target="_blank"><i class="fab fa-twitter-square"></i> Tweet</a>
|
<a href="https://twitter.com/intent/tweet?text={{ article.title|striptags|urlencode }}&url={{ SITEURL }}/{{ article.url }}&via={{ TWITTER_USERNAME }}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" class="uk-button uk-button-default" target="_blank"><i class="fab fa-twitter-square"></i> Tweet</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -60,16 +60,16 @@
|
|||||||
<div class="uk-width-7-10@m">
|
<div class="uk-width-7-10@m">
|
||||||
|
|
||||||
<article class="uk-article">
|
<article class="uk-article">
|
||||||
<h1 class="uk-heading-large uk-article-title" itemprop="name">{{ article.title }}</h1>
|
<h1 class="uk-heading-primary uk-article-title" itemprop="name">{{ article.title }}</h1>
|
||||||
<p class="uk-article-meta">
|
<p class="uk-article-meta">
|
||||||
<time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time>
|
<time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time>
|
||||||
{% if CATEGORY_SAVE_AS %}<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
|
{% if CATEGORY_SAVE_AS %}<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
|
||||||
{% if DISQUS_SITENAME %}, <br class="uk-visible-small"><i class="fas fa-comments"></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}
|
{% if DISQUS_SITENAME %}, <br class="uk-visible@s"><i class="fas fa-comments"></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% if SHARE %}
|
{% if SHARE %}
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ SITEURL }}/{{ article.url }}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" class="uk-button uk-visible-small"><i class="fab fa-facebook-square"></i> Share</a>
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ SITEURL }}/{{ article.url }}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" class="uk-button uk-button-default uk-visible@s"><i class="fab fa-facebook-square"></i> Share</a>
|
||||||
<a href="https://twitter.com/intent/tweet?text={{ article.title|striptags|urlencode }}&url={{ SITEURL }}/{{ article.url }}&via={{ TWITTER_USERNAME }}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" class="uk-button uk-visible-small" target="_blank"><i class="fab fa-twitter-square"></i> Tweet</a>
|
<a href="https://twitter.com/intent/tweet?text={{ article.title|striptags|urlencode }}&url={{ SITEURL }}/{{ article.url }}&via={{ TWITTER_USERNAME }}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" class="uk-button uk-button-default uk-visible@s" target="_blank"><i class="fab fa-twitter-square"></i> Tweet</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if not MG_DISABLE_SUMMARY %}<p class="uk-text-lead" itemprop="description">{{ article.summary|striptags }}</p>{% endif %}
|
{% if not MG_DISABLE_SUMMARY %}<p class="uk-text-lead" itemprop="description">{{ article.summary|striptags }}</p>{% endif %}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="uk-width-4-5@m">
|
<div class="uk-width-4-5@m">
|
||||||
<h1 class="uk-heading-large">Categories</h1>
|
<h1 class="uk-heading-primary">Categories</h1>
|
||||||
{% for category, articles in categories %}
|
{% for category, articles in categories %}
|
||||||
<h2><a href="{{ SITEURL}}/{{ category.url}}" class="uk-link-muted">{{ category|capitalize }}</a></h2>
|
<h2><a href="{{ SITEURL}}/{{ category.url}}" class="uk-link-muted">{{ category|capitalize }}</a></h2>
|
||||||
{% for article in articles %}
|
{% for article in articles %}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<article class="uk-article uk-width-4-5@m">
|
<article class="uk-article uk-width-4-5@m">
|
||||||
<h1 class="uk-heading-large uk-article-title" itemprop="name">{{ page.title }}</h1>
|
<h1 class="uk-heading-primary uk-article-title" itemprop="name">{{ page.title }}</h1>
|
||||||
<div class="uk-article-content">
|
<div class="uk-article-content">
|
||||||
{{ page.content }}
|
{{ page.content }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h2 class="uk-article-title" itemprop="name">{{ article.title|e }}</h2></a>
|
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h2 class="uk-article-title" itemprop="name">{{ article.title|e }}</h2></a>
|
||||||
<p class="uk-article-meta"><time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time>
|
<p class="uk-article-meta"><time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time>
|
||||||
{% if CATEGORY_SAVE_AS %} • <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
|
{% if CATEGORY_SAVE_AS %} • <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
|
||||||
{% if DISQUS_SITENAME %} • <br class="uk-visible-small"><i class="fas fa-comments"></i></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}
|
{% if DISQUS_SITENAME %} • <br class="uk-visible@s"><i class="fas fa-comments"></i></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}
|
||||||
</p>
|
</p>
|
||||||
{% if not MG_DISABLE_SUMMARY %}<p class="uk-text-lead" itemprop="description">{{ article.summary|striptags|striptags }}</p>{% endif %}
|
{% if not MG_DISABLE_SUMMARY %}<p class="uk-text-lead" itemprop="description">{{ article.summary|striptags|striptags }}</p>{% endif %}
|
||||||
<section class="uk-article-content" itemprop="articleBody">{{ article.content }}</section>
|
<section class="uk-article-content" itemprop="articleBody">{{ article.content }}</section>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h2 class="uk-article-title" itemprop="name">{{ article.title|e }}</h2></a>
|
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h2 class="uk-article-title" itemprop="name">{{ article.title|e }}</h2></a>
|
||||||
<p class="uk-article-meta"><time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time>
|
<p class="uk-article-meta"><time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time>
|
||||||
{% if CATEGORY_SAVE_AS %} • <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
|
{% if CATEGORY_SAVE_AS %} • <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
|
||||||
{% if DISQUS_SITENAME %} • <br class="uk-visible-small"><i class="fas fa-comments"></i></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}
|
{% if DISQUS_SITENAME %} • <br class="uk-visible@s"><i class="fas fa-comments"></i></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}
|
||||||
</p>
|
</p>
|
||||||
<p class="uk-article-lead" itemprop="description">{{ article.summary|striptags|striptags }}</p>
|
<p class="uk-article-lead" itemprop="description">{{ article.summary|striptags|striptags }}</p>
|
||||||
{% if not MG_DISABLE_SUMMARY %}<p>{{ ' '.join(article.content.split(' ')[:75])|striptags|striptags }}...</p>{% endif %}
|
{% if not MG_DISABLE_SUMMARY %}<p>{{ ' '.join(article.content.split(' ')[:75])|striptags|striptags }}...</p>{% endif %}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="uk-width-4-5@m">
|
<div class="uk-width-4-5@m">
|
||||||
<h1 class="uk-heading-large">Lectures passées</h1>
|
<h1 class="uk-heading-primary">Lectures passées</h1>
|
||||||
|
|
||||||
<div class="uk-grid">
|
<div class="uk-grid">
|
||||||
{% for reading in READINGS %}
|
{% for reading in READINGS %}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="uk-width-4-5@m">
|
<div class="uk-width-4-5@m">
|
||||||
<h1 class="uk-heading-large">Search results</h1>
|
<h1 class="uk-heading-primary">Search results</h1>
|
||||||
|
|
||||||
<div id="tipue_search_content"></div>
|
<div id="tipue_search_content"></div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user