Skip to content
Snippets Groups Projects
Commit f08e0623 authored by Kevin Lin's avatar Kevin Lin
Browse files

_layouts: Only display announcement date if available

parent bf5ee53e
No related branches found
No related tags found
No related merge requests found
<div class="announcement">
<div class="announcement-body">
<h2>{{ page.title }} <strong class="announcement-meta">{{ page.date | date: '%b %e' }}</strong></h2>
<h2>{{ page.title }}{% if page.date %} <strong class="announcement-meta">{{ page.date | date: '%b %e' }}</strong>{% endif %}</h2>
{{ content }}
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment