~captainepoch/blogtheme

ref: 0d3209ac9c7a7f3ae2373f91ef67955b647f3434 blogtheme/layouts/index.html -rw-r--r-- 436 bytes
0d3209ac — Adolfo Santiago Update README 1 year, 19 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{- define "main" -}}

{{- if .Site.Menus.header -}}
<div class="menu_header">
	{{ range .Site.Menus.header }}
	<a href="{{ .URL | relLangURL }}">{{- .Name -}}</a>
	{{ end }}
</div>
{{- end -}}

{{- range (where .Site.RegularPages "Type" "in" site.Params.mainSections) -}}
<div class="article">
	<span class="date">{{ .Date.Format "2006-01-02" }}</span>
	<a href="{{ .RelPermalink }}">{{- .Title -}}</a>
</div>
{{- end -}}

{{- end -}}