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

404.html « layouts - github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 360e5357c852cfc998de24efecca8781fd5b0414 (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
41
42
43
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
    {{ "<!-- PAGE 404 -->" | safeHTML }}
    <head>
        {{ partial "head.html" . }}
    </head>

    <body id="page-top">
        {{ partial "nav.html" (dict "context" . "fixed" false) }}

        <section class="section" id="p404">
            {{ with .Site.Params.page404 }}
                <div class="container">
                    <div class="row">
                        <div class="col-xs-12 text-center">
                            {{ with .background_image }}
                                <div class="page404-image" title="image: {{ . }}"
                                        style="background-image: url('{{ (printf "images/%s" .) | absURL }}');"
                                    >
                                </div>
                            {{ end }}
                            <div class="page404-title wow bounceIn">
                                <h1>404</h1>
                            </div>
                            <div class="page404-content">
                                <p>{{ .text | markdownify }}</p>
                            </div>
                            <hr class="primary">
                            <a href="#" class="btn btn-primary">
                                {{ with .button_text }}
                                    {{ . }}
                                {{ end }}
                            </a>
                        </div>
                    </div>
                </div>
            {{ end }}
        </section>

        {{ partial "footer.html" . }}
        {{ partial "tail.html" . }}
    </body>
</html>