Initial commit
This commit is contained in:
commit
406c5961cb
15 changed files with 167 additions and 0 deletions
10
layouts/_default/list.html
Normal file
10
layouts/_default/list.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ partial "header.html" . }}
|
||||
<main>
|
||||
{{ $paginator := .Paginate (where .Site.Pages "Type" "post") }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ partial "summary.html" . }}
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
</main>
|
||||
{{ partial "sidebar.html" . }}
|
||||
{{ partial "footer.html" . }}
|
22
layouts/_default/single.html
Normal file
22
layouts/_default/single.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
{{ partial "header.html" . }}
|
||||
<main>
|
||||
<article>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<time>{{ .Date.Format "02.01.2006 15:04" }}</time>
|
||||
<div>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
<div>
|
||||
<ul id="tags">
|
||||
{{ range .Params.tags }}
|
||||
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> </li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
{{ partial "sidebar.html" . }}
|
||||
{{ partial "footer.html" . }}
|
Loading…
Add table
Add a link
Reference in a new issue