commit
737084de97
@ -404,3 +404,7 @@ img::-moz-selection {
|
||||
body {
|
||||
webkit-tap-highlight-color: #0085a1;
|
||||
}
|
||||
.article-summary {
|
||||
padding-top:10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
@ -1 +1 @@
|
||||
{% if DISQUS_SITENAME %}<p>There are <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">comments</a>.</p>{% endif %}
|
||||
{% if DISQUS_SITENAME %}<p>There are <a data-disqus-identifier="{{ article.url }}" href="{{ SITEURL }}/{{ article.url }}#disqus_thread">comments</a>.</p>{% endif %}
|
||||
|
@ -49,11 +49,15 @@
|
||||
</a>
|
||||
{% if SHOW_FULL_ARTICLE %}
|
||||
{{ article.content }}
|
||||
{% elif article.has_summary %}
|
||||
{% else %}
|
||||
<p class="article-summary">
|
||||
{% if article.has_summary %}
|
||||
{{ article.summary }}
|
||||
{% elif article.summary %}
|
||||
{{ article.summary|striptags|truncate(140) }}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
<p class="post-meta">Posted by
|
||||
{% for author in article.authors %}
|
||||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{% if article.status != "draft" %}
|
||||
<hr>
|
||||
<div class="sharing">
|
||||
{% if ADDTHIS_PUBID %}
|
||||
{% if ADDTHIS_PUBID %}
|
||||
<hr>
|
||||
<div class="sharing">
|
||||
<!-- AddThis Button BEGIN -->
|
||||
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
|
||||
<a class="addthis_button_preferred_1"></a>
|
||||
@ -18,6 +18,6 @@
|
||||
</div>
|
||||
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid={{ ADDTHIS_PUBID }}"></script>
|
||||
<!-- AddThis Button END -->
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user