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>
|
||||
{{ end }}
|
||||
|
||||
<ul>
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ .Render "summary" }}
|
||||
<li>
|
||||
<div class="post-title">
|
||||
{{ .Date.Format "2006-01-02" }} <a href="{{ .RelPermalink }}">{{.Title }}</a>
|
||||
</div>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ partial "pagination.html" . }}
|
||||
</main>
|
||||
{{ partial "sidebar.html" . }}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<header>
|
||||
==============<br>
|
||||
{{ strings.Repeat ( .Site.Title | countrunes | add 6 ) .Site.Params.title_frame_char }}<br>
|
||||
== <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
|
||||
==============<br>
|
||||
{{ with .Site.Menus.main }}
|
||||
{{ strings.Repeat ( .Site.Title | countrunes | add 6 ) .Site.Params.title_frame_char }}<br>
|
||||
<p>
|
||||
<div style="float: right;">Einfach mal was mit Holz machen.</div>
|
||||
<div style="float: right;">{{ .Site.Params.subtitle }}</div>
|
||||
<nav>
|
||||
<a href="/"><b>Posts</b></a>.
|
||||
<a href="/"><b>Start</b></a>.
|
||||
{{ with .Site.Menus.main }}
|
||||
{{ range . }}
|
||||
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue