add categories in post layout
This commit is contained in:
parent
b975cdff86
commit
423d9994c0
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ layout: default
|
||||||
<div class="mdl-cell mdl-cell--2-col mdl-cell--hide-tablet mdl-cell--hide-phone"></div>
|
<div class="mdl-cell mdl-cell--2-col mdl-cell--hide-tablet mdl-cell--hide-phone"></div>
|
||||||
<div class="post-section mdl-color--white mdl-shadow--4dp content mdl-color-text--grey-800 mdl-cell mdl-cell--8-col">
|
<div class="post-section mdl-color--white mdl-shadow--4dp content mdl-color-text--grey-800 mdl-cell mdl-cell--8-col">
|
||||||
<div class="mdl-color-text--grey-500">
|
<div class="mdl-color-text--grey-500">
|
||||||
{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}
|
{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}{% if page.categories %} • {% for cat in page.categories %} {{ cat }} {% endfor %} {% endif %}
|
||||||
</div>
|
</div>
|
||||||
<h3>{{ page.title }}</h3>
|
<h3>{{ page.title }}</h3>
|
||||||
<article class="post-content">
|
<article class="post-content">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue