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

index.html « layouts - github.com/EmielH/stip-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 694eae5ef18b3613843cfad4cc0d9be8b0200df7 (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
29
30
31
32
33
34
35
36
37
38
39
40
{{ define "main" }}

<main>
    <div class="portrait-container">
        <img src="{{ "images/portrait.jpg" | relURL }}" width="300" height="300" class="portrait" alt="Portrait" />
    </div>

    <div class="content">
        <h1>{{ .Site.Author.name | default "Stip" }}</h1>
        <h2>{{ .Site.Author.bio | default "Hugo theme to introduce yourself" }}</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>

        {{- partial "footer.html" . -}}
    </div>

    <!--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-->
</main>

{{ end }}