parent
7b20a28247
commit
42579fe07d
@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{ end }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,7 @@
|
||||
{{ define "main" }}
|
||||
{{ range $index, $element := .Site.RegularPages }} {{/* Ranging over all the posts */}}
|
||||
<div class="column is-one-quarter">
|
||||
{{ partial "summary.html" . }} {{/* pass in the element to the partial */}}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@ -0,0 +1 @@
|
||||
<a href="{{ .Permalink }}"><p class="title is-4 has-text-centered">{{ $.Title }} </a> (<a href="print/{{ .File.BaseFileName }}.pdf">PDF</a>)</p>
|
||||
Loading…
Reference in new issue