Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html « layouts - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0bbb41db01b64281d73cc1760855e4b0d9fb340b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{ define "title" }}
	{{ .Title }} :: {{ .Site.Title }}
{{ end }}

{{ define "main" }}
	{{if .Site.Home.Content }} 
		{{ partial "body-article-content.html" . }}
	{{else}}
  	  {{with index .Site.Sections 0}}
	    <meta http-equiv = "refresh" content = "0; url = {{.Permalink}}"/>
	  {{else}}
	  	 no file found in content folder :(
	  {{end}}
	{{ end }}
{{ end }}

{{ define "sidepage" }}
	{{if .Site.Home.Content }} 
		{{ partial "body-article-sidepage.html" . }}
	{{ end }}
{{ end }}