reinstate posts list
This commit is contained in:
parent
8bfd256e2a
commit
6d7c5cd3e1
2 changed files with 15 additions and 9 deletions
|
@ -7,9 +7,15 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<ul>
|
||||||
{{ range .Paginator.Pages }}
|
{{ range .Paginator.Pages }}
|
||||||
{{ .Render "summary" }}
|
<li>
|
||||||
|
<div class="post-title">
|
||||||
|
{{ .Date.Format "2006-01-02" }} <a href="{{ .RelPermalink }}">{{.Title }}</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</ul>
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
</main>
|
</main>
|
||||||
{{ partial "sidebar.html" . }}
|
{{ partial "sidebar.html" . }}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<header>
|
<header>
|
||||||
==============<br>
|
{{ strings.Repeat ( .Site.Title | countrunes | add 6 ) .Site.Params.title_frame_char }}<br>
|
||||||
== <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
|
== <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
|
||||||
==============<br>
|
{{ strings.Repeat ( .Site.Title | countrunes | add 6 ) .Site.Params.title_frame_char }}<br>
|
||||||
{{ with .Site.Menus.main }}
|
|
||||||
<p>
|
<p>
|
||||||
<div style="float: right;">Einfach mal was mit Holz machen.</div>
|
<div style="float: right;">{{ .Site.Params.subtitle }}</div>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/"><b>Posts</b></a>.
|
<a href="/"><b>Start</b></a>.
|
||||||
|
{{ with .Site.Menus.main }}
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
|
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue