mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-15 12:56:57 +01:00
25 lines
No EOL
693 B
HTML
25 lines
No EOL
693 B
HTML
{{ define "main" }}
|
|
<div id="layout" class="pure-g">
|
|
<article class="pure-u-1">
|
|
{{ partial "brand.html" . }}
|
|
{{ range where .Site.RegularPages "Type" "post"}}
|
|
|
|
<h1 class="content-title">
|
|
{{ if .IsNode }}
|
|
<a href="{{ .Permalink }}">{{ .Title}}</a>
|
|
{{ else }}
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}{{ if .Draft }} :: Draft {{end}}</a>
|
|
{{ end }}
|
|
</h1>
|
|
|
|
|
|
<p>{{ truncate 120 .Summary }}</p>
|
|
{{/* {{ if .Truncated }} */}}
|
|
<p><a href="{{ .RelPermalink }}">Read On →</a></p>
|
|
{{/* {{ end }} */}}
|
|
|
|
{{ end }}
|
|
{{ partial "footer.html" . }}
|
|
</article>
|
|
</div>
|
|
{{ end }} |