mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 00:12:41 +00:00
Relocated share buttons in the small layout
This commit is contained in:
parent
af56ffb49c
commit
f530c853c4
@ -27,7 +27,6 @@
|
||||
<article class="uk-article">
|
||||
<h1 class="uk-article-title">{{ article.title }}</h1>
|
||||
<p class="uk-article-meta"> {{ article.locale_date }} in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% if DISQUS_SITENAME %}, <i class="uk-icon-comment"></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread"></a>{% endif %}</p>
|
||||
<p class="uk-article-lead">{{ article.summary|striptags }}</p>
|
||||
|
||||
{% 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;" taget="_blank" class="uk-button uk-visible-small"><i class="uk-icon-facebook-square"></i> Share</a>
|
||||
@ -35,6 +34,7 @@
|
||||
<a href="https://plus.google.com/share?url={{ SITEURL }}/{{ article.url }}" onclick="javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" target="_blank" class="uk-button uk-visible-small"><i class="uk-icon-google-plus-square"></i> Share</a>
|
||||
{% endif %}
|
||||
|
||||
<p class="uk-article-lead">{{ article.summary|striptags }}</p>
|
||||
{{ article.content }}
|
||||
<hr class="uk-article-divider">
|
||||
</article>
|
||||
|
Loading…
Reference in New Issue
Block a user