Initial commit

This commit is contained in:
vimux 2016-10-14 23:41:10 +03:00
commit 406c5961cb
15 changed files with 167 additions and 0 deletions

View 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" . }}

View 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" . }}