initial commit
This commit is contained in:
commit
8ae4ae106c
17 changed files with 623 additions and 0 deletions
32
layouts/index.html
Normal file
32
layouts/index.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
{{ define "main" }}
|
||||
|
||||
{{ range .Paginator.Pages }}
|
||||
<article class="post-list">
|
||||
<header>
|
||||
<h1>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<div class="article-info">
|
||||
{{ if .Params.date }}
|
||||
<div class="article-date">{{ .Params.date.Format "2006-01-02" }}</div>
|
||||
{{ end }}
|
||||
{{ if .Params.tags }}
|
||||
<ul class="article-tags">
|
||||
{{ range .Params.tags }}
|
||||
<li><a href="/tags/{{ . }}">{{ . }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ .Summary }}
|
||||
<div class="read-more">
|
||||
<a href="{{ .RelPermalink }}">Читать дальше</a>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue