[meta] Fix list display of tech posts
This commit is contained in:
parent
dc6063382f
commit
7785334f5e
|
@ -1,2 +1,2 @@
|
||||||
public_html
|
public
|
||||||
hugo
|
hugo
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
useful (or at least amusing). Got something to add / correct?
|
useful (or at least amusing). Got something to add / correct?
|
||||||
I' love your feedback.
|
I' love your feedback.
|
||||||
|
|
||||||
<div class="tech-notes clearfix">
|
<div class="tech-notes h-feed clearfix">
|
||||||
{{ range where .Data.Pages "Section" "tech" }}
|
{{ range where .Data.Pages "Section" "tech" }}
|
||||||
{{ .Render "summary" }}
|
{{ .Render "summary" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
<a href="{{.Permalink}}">
|
<div class="h-entry">
|
||||||
<h2>{{.Title}}</h2>
|
<h3><a href="{{.Permalink}}">{{.Title}}</a> (<small>{{ .Date.Format "January, 02th 2006" }}</small>)</h3>
|
||||||
</a>
|
</div>
|
||||||
<small>{{ .Date.Format "January, 02th 2006" }}</small>
|
|
||||||
<hr/>
|
|
||||||
{{ .Summary | truncate 200 "" }}
|
|
||||||
<a href="{{.Permalink}}">…</a>
|
|
||||||
|
|
Loading…
Reference in New Issue