initial commit
This commit is contained in:
commit
f6b4208301
116 changed files with 1156 additions and 0 deletions
9
themes/janw/layouts/_default/baseof.html
Normal file
9
themes/janw/layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
21
themes/janw/layouts/_default/list.html
Normal file
21
themes/janw/layouts/_default/list.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
{{ define "main" }}
|
||||
<main class="big-container">
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{.Title}}</h1>
|
||||
</header>
|
||||
{{.Content}}
|
||||
</article>
|
||||
<ul class="blogtoc">
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a class="sub-container" href="{{.Permalink}}">
|
||||
<span>{{.Date.Format "02. January 2006"}}</span><br>
|
||||
<span>{{.Title}}</span>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</main>
|
||||
{{ end }}
|
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