committed by
José Guilherme Vanz
parent
7f8341ad1c
commit
ba3949f07a
@@ -352,6 +352,26 @@ tbody tr:nth-child(odd) th {
|
|||||||
color: #9a9a9a;
|
color: #9a9a9a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-tags {
|
||||||
|
display: inline;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
color: #9a9a9a;
|
||||||
|
}
|
||||||
|
.post-tags ul {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
.post-tags li {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
.post-tags li:after {
|
||||||
|
content: ", ";
|
||||||
|
}
|
||||||
|
.post-tags li:last-child:after {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
|
||||||
/* Related posts */
|
/* Related posts */
|
||||||
.related {
|
.related {
|
||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
|
|||||||
@@ -13,6 +13,18 @@
|
|||||||
<h1 class="post-title">{{ article.title }}</h1>
|
<h1 class="post-title">{{ article.title }}</h1>
|
||||||
<span class="post-date">{{ article.locale_date }}</span>
|
<span class="post-date">{{ article.locale_date }}</span>
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
|
|
||||||
|
{% if article.tags %}
|
||||||
|
<hr>
|
||||||
|
<p><b>Tags:</b></p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
{% for tag in article.tags %}
|
||||||
|
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% include 'fragments/disqus.html' %}
|
{% include 'fragments/disqus.html' %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -8,6 +8,16 @@
|
|||||||
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
|
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
|
||||||
</h1>
|
</h1>
|
||||||
<span class="post-date">{{ article.locale_date }}</span>
|
<span class="post-date">{{ article.locale_date }}</span>
|
||||||
|
{% if article.tags %}
|
||||||
|
<span class="post-tags">
|
||||||
|
Tags:
|
||||||
|
<ul>
|
||||||
|
{% for tag in article.tags %}
|
||||||
|
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
<p>
|
<p>
|
||||||
{{ article.summary }}
|
{{ article.summary }}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user