We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26cff0 commit 465dabcCopy full SHA for 465dabc
_layouts/news_post.html
@@ -7,5 +7,9 @@ <h3>{{ page.title }}</h3>
7
8
{{ content }}
9
10
- <p class="post-info">Posted By {{ page.author }} on {{ page.date | date_to_string }}</p>
+ {% if page.author and page.author != "" %}
11
+ <p class="post-info">{{ page.author }} – {{ page.date | date_to_string }}</p>
12
+ {% else %}
13
+ <p class="post-info">{{ page.date | date_to_string }}</p>
14
+ {% endif %}
15
</div>
0 commit comments