reinstate posts list
This commit is contained in:
parent
8bfd256e2a
commit
6d7c5cd3e1
2 changed files with 15 additions and 9 deletions
|
@ -6,10 +6,16 @@
|
||||||
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range .Paginator.Pages }}
|
<ul>
|
||||||
{{ .Render "summary" }}
|
{{ range .Paginator.Pages }}
|
||||||
{{ end }}
|
<li>
|
||||||
|
<div class="post-title">
|
||||||
|
{{ .Date.Format "2006-01-02" }} <a href="{{ .RelPermalink }}">{{.Title }}</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
{{ 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