initial commit
This commit is contained in:
commit
f6b4208301
116 changed files with 1156 additions and 0 deletions
36
themes/janw/layouts/_default/single.html
Normal file
36
themes/janw/layouts/_default/single.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
{{ define "main" }}
|
||||
<section id="main" class="big-container">
|
||||
<h1 id="title">{{ .Title }} ({{ .Date.Format "2. January 2006" }})</h1>
|
||||
<div>
|
||||
<article id="content">
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
<aside id="meta" class="big-container">
|
||||
<div>
|
||||
{{ with .Params.topics }}
|
||||
<ul id="topics">
|
||||
{{ range . }}
|
||||
<li><a href="{{ "topics" | absURL}}{{ . | urlize }}">{{ . }}</a> </li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
{{ with .Params.tags }}
|
||||
<ul id="tags">
|
||||
{{ range . }}
|
||||
<li> <a href="{{ "tags" | absURL }}{{ . | urlize }}">{{ . }}</a> </li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div>
|
||||
{{ with .NextInSection }}
|
||||
<p>Next: <a class="next" href="{{.Permalink}}"> {{.Title}}</a></p>
|
||||
{{ end }}
|
||||
{{ with .PrevInSection }}
|
||||
<p>Previous: <a class="previous" href="{{.Permalink}}"> {{.Title}}</a></p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</aside>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue