mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-12-22 08:36:02 +00:00
Combine if statements
This commit is contained in:
parent
574c644bdb
commit
d5f8fa49cb
2 changed files with 2 additions and 2 deletions
|
@ -54,4 +54,4 @@
|
|||
})();
|
||||
</script>
|
||||
{% endif %}
|
||||
{% if site.disqus_shortname %}{% if page.comments %}{% include disqus_comments.html %}{% endif %}{% endif %}
|
||||
{% if site.disqus_shortname and page.comments %}{% include disqus_comments.html %}{% endif %}
|
|
@ -41,7 +41,7 @@
|
|||
{% endif %}
|
||||
<span class="entry-date date published"><time datetime="{{ page.date | date_to_xmlschema }}"><i class="icon-calendar-empty"></i> {{ page.date | date: "%B %d, %Y" }}</time></span>
|
||||
{% if page.modified %}<span class="entry-date date modified"><time datetime="{{ page.modified }}"><i class="icon-pencil"></i> {{ page.modified | date: "%B %d, %Y" }}</time></span>{% endif %}
|
||||
{% if site.disqus_shortname %}{% if page.comments %}<span class="entry-comments"><i class="icon-comment-alt"></i> <a href="#disqus_thread">Comment</a></span>{% endif %}{% endif %}
|
||||
{% if site.disqus_shortname and page.comments %}<span class="entry-comments"><i class="icon-comment-alt"></i> <a href="#disqus_thread">Comment</a></span>{% endif %}
|
||||
<span><a href="{{ site.url }}{{ page.url }}" rel="bookmark" title="{{ page.title }}"><i class="icon-link"></i> Permalink</a></span>
|
||||
{% if page.share %}
|
||||
<span class="social-share-facebook">
|
||||
|
|
Loading…
Reference in a new issue