hugo-theme-terminal

My Fork of the Terminal Hugo Theme
git clone https://git.repetitions.de/hugo-theme-terminal

post-on-list.html (1094B)


 1 <article class="post on-list">
 2   {{ with .Params.series -}}
 3     <span class="post-series">
 4       <a href= "{{ (urlize (printf "series/%s/" . )) | absLangURL }}">
 5         {{- . -}}:
 6       </a>
 7     </span>
 8   {{- end }}
 9 
10   <h1 class="post-title">
11     <a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
12   </h1>
13   {{- if .Params.tags }}
14     <span class="post-tags">
15       {{- range .Params.tags }}
16         #<a href="{{ (urlize (printf "tags/%s/" . )) | absLangURL }}">
17         {{- . -}}
18         </a>&nbsp;
19       {{- end }}
20     </span>
21   {{ end -}}
22 
23   <div class="post-preview">
24     {{ if .Params.cover -}}
25       <div class="post-preview-grid">
26         {{ partial "cover.html" . }}
27     {{- end }}
28 
29     <div class="post-description">
30       {{ if .Description -}}
31         {{ .Description | markdownify -}}
32       {{ else -}}
33         {{ .Summary | plainify -}}
34       {{- end }}
35     </div>
36 
37     <a class="read-more button" href="{{.RelPermalink}}">
38       {{ $.Site.Params.ReadMore }} →
39     </a>
40     {{ if .Params.cover -}}
41       </div>
42     {{- end }}
43   </div>
44   <hr class="separator">
45 </article>
46