Commit bb1af594 authored by Zachary Dunn's avatar Zachary Dunn

Check if a post has a name before outputting header

parent 8664c6d9
......@@ -238,6 +238,7 @@ a:focus {
.entries header {
display: flex;
justify-content: space-between;
}
.entries .timestamp {
......
......@@ -18,9 +18,11 @@
{% include "partials/reply-arrow" %}
{%- endif -%}
</div>
<h3 class="p-name entry__name">
{% if post.name %}<a href="{{post.url}}">{{post.name | title}}</a>{% endif %}
</h3>
{% if post.name %}
<h3 class="p-name entry__name">
<a href="{{post.url}}">{{post.name | title}}</a>
</h3>
{% endif %}
<h4 class="timestamp entry__timestamp">
Published on
<a href="{{post.url}}" class="u-url">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment