initial commit
This commit is contained in:
commit
f6b4208301
116 changed files with 1156 additions and 0 deletions
26
themes/janw/layouts/projects/list.html
Normal file
26
themes/janw/layouts/projects/list.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
|
||||
{{ define "main" }}
|
||||
<main class="big-container">
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{.Title}}</h1>
|
||||
</header>
|
||||
{{.Content}}
|
||||
</article>
|
||||
<ul class="projecttoc">
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a class="sub-container" href="{{.Permalink}}">
|
||||
{{if .Params.teaser}}
|
||||
<div class="img-container">
|
||||
<div class="img-container-child" style="background-image: url({{.Params.teaser}})">
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
<span>{{.Title}}</span>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</main>
|
||||
{{ end }}
|
28
themes/janw/layouts/projects/single.html
Normal file
28
themes/janw/layouts/projects/single.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
{{ define "main" }}
|
||||
<section id="main" class="big-container">
|
||||
<h1 id="title">{{ .Title }}</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>
|
||||
</aside>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue