Create a content template for blog post <li> items that use CSS grid
This commit is contained in:
parent
d1fbd6e344
commit
2cd2b89be4
1 changed files with 8 additions and 0 deletions
8
layouts/_default/li_grid_with_date.html
Normal file
8
layouts/_default/li_grid_with_date.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<li>
|
||||||
|
<time class="nobreak" datetime="{{ .Date | time.Format "2006-01-02" }}">{{ .Date | time.Format "January" }}</time>
|
||||||
|
<time class="nobreak" datetime="{{ .Date | time.Format "2006-01-02" }}">{{ .Date | time.Format "2" }}</time>
|
||||||
|
<div class="title">
|
||||||
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
|
{{ partial "development/draft_tag.html" . }}
|
||||||
|
</div>
|
||||||
|
</li>
|
Loading…
Add table
Add a link
Reference in a new issue