1
0
Fork 0

[meta] Fix list display of tech posts

This commit is contained in:
Sebastian Schulze 2021-04-09 00:39:03 +02:00
parent dc6063382f
commit 7785334f5e
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
3 changed files with 5 additions and 9 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
public_html
public
hugo

View File

@ -7,7 +7,7 @@
useful (or at least amusing). Got something to add / correct?
I' love your feedback.
<div class="tech-notes clearfix">
<div class="tech-notes h-feed clearfix">
{{ range where .Data.Pages "Section" "tech" }}
{{ .Render "summary" }}
{{ end }}

View File

@ -1,7 +1,3 @@
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>
</a>
<small>{{ .Date.Format "January, 02th 2006" }}</small>
<hr/>
{{ .Summary | truncate 200 "" }}
<a href="{{.Permalink}}"></a>
<div class="h-entry">
<h3><a href="{{.Permalink}}">{{.Title}}</a> (<small>{{ .Date.Format "January, 02th 2006" }}</small>)</h3>
</div>