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

index.html « layouts - github.com/EmielH/hallo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d14a09774470c766417f4e8c7aa7845b072c09d4 (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
{{ define "main" }}

<main>
    <div class="column left">
        <img src="images/portrait.jpg" width="300" height="300" class="portrait" alt="Portrait" />
    </div>
    <div class="column right">
        {{- with .Param "greeting" -}}
            <h1>{{ . }}</h1>
        {{- else -}}
            <h1>{{ i18n "hello" }}.</h1>
        {{- end -}}
        <h2>{{ i18n "i-am" }} {{ .Site.Author.name | default "Hallo" }}.</h2>
        <p>{{- partial "introduction.html" . -}}</p>
        
        <div class="links">
            {{- range .Site.Params.links -}}
                <a href="{{ .url }}" title="{{ .title }}">
                    <span class="{{ .iconset | default "fab" }} fa-{{ .icon }}"></span>
                </a>
            {{- end -}}
        </div>
    </div>
</main>

{{ end }}