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

single.html « blog « layouts - github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 97a2c56d2ca046bc71937ec0b6cc2bd6d8340fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{{ define "main" }}

<div class="hero" >
	{{ partial "picture" (dict "img" .Params.image "class" "img" "widths" (slice 540 720 960 1140) )}}
	{{ if .Params.imageInfo }}
	<div class="image-info {{ .Params.infoClass | default "light" }}">
		{{- .Params.imageInfo }}
	</div>
	{{ end }}
	
	<div class="description">
		<h1>
			<span>{{ .Title }}</span>
			<small>{{ .Params.brief }}</small>
		</h1>
		{{- if .Params.toc }}
		<hr>
		{{ .TableOfContents }} 
		{{ end }}
	</div>
</div>

<section class="content">

	{{ .Content }}
</section>

{{ end }}