single.html 968 Bytes
Newer Older
Tobias Bengfort's avatar
Tobias Bengfort committed
1
2
3
4
5
{{ define "title" }}
  {{ .Title }} – {{ .Site.Title }}
{{ end }}

{{ define "main" }}
6
  <div class="row mt-2 mb-3">
radow's avatar
radow committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
    <div class="col-md-4">
      {{ if isset .Params.Links "link1" }}
        <a href="{{ .Params.Links.link1 }}" class="btn btn-block bg-inverse mb-1">{{ .Params.Links.title1 }}</a>
      {{ end }}
      {{ if isset .Params.Links "link2" }}
        <a href="{{ .Params.Links.link2 }}" class="btn btn-block bg-inverse mb-1">{{ .Params.Links.title2 }}</a>
      {{ end }}
      {{ if isset .Params.Links "link3" }}
        <a href="{{ .Params.Links.link3 }}" class="btn btn-block bg-inverse mb-1">{{ .Params.Links.title3 }}</a>
      {{ end }}
      {{ if isset .Params.Links "link4" }}
        <a href="{{ .Params.Links.link4 }}" class="btn btn-block bg-inverse mb-1">{{ .Params.Links.title4 }}</a>
      {{ end }}
    </div>
Tobias Bengfort's avatar
Tobias Bengfort committed
21

22
    <div class="col-md-8 bg-body p-2">
Tobias Bengfort's avatar
styling    
Tobias Bengfort committed
23
24
25
26
      <h1>{{ .Title }}</h1>
      {{ .Content }}
    </div>
  </div>
Tobias Bengfort's avatar
Tobias Bengfort committed
27
{{ end }}