Add 'jakstys.lt/themes/default/' from commit '641a854a0a705a5ddbb3badeb2bc23cc079f9de6'
git-subtree-dir: jakstys.lt/themes/default git-subtree-mainline: b82ef4c7a5626048be31904c02f41567b158f043 git-subtree-split: 641a854a0a705a5ddbb3badeb2bc23cc079f9de6
This commit is contained in:
17
themes/default/layouts/_default/section.html
Normal file
17
themes/default/layouts/_default/section.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ define "main" -}}
|
||||
<div>
|
||||
<h1>{{ .Title }}</h1>
|
||||
</div>
|
||||
<div>
|
||||
{{ .Content -}}
|
||||
</div>
|
||||
<ul class="article-list">
|
||||
{{ range .Paginator.Pages -}}
|
||||
<li class="article-item">
|
||||
<div class="article-date">{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02 15:04") }}</div>
|
||||
<div class="article-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></div>
|
||||
</li>
|
||||
{{ end -}}
|
||||
</ul>
|
||||
</main>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user