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

index.html « layouts - github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a46af748dc1eff3f0944f32746dc321acb2eb288 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
    <head>
        {{ partial "head/metadata.html" . }}
        {{ partial "head/openGraph.html" . }}
        {{ partial "head/favicons.html" . }}
        {{ partial "head/css.html" . }}
    </head>
    <body>
        <div id="top">
            <div class="hero is-{{ .Site.Params.introHeight | default "fullheight" }}">
                <!-- Super sweet Hero body title -->
                <div class="hero-body">
                    <div class="container has-text-centered">
                        <!-- Title and tagline -->
                        <h1 class="bold-title {{ if .Site.Params.fadeIn | default true }}fade-in one{{ end }}">
                            {{ .Site.Params.firstName | default "Introduction" }}.
                        </h1>
                        <h3 class="subtitle is-3 {{ if .Site.Params.fadeIn | default true }}fade-in two{{ end }}">
                            {{ .Site.Params.tagLine }}
                        </h3>
                        <!-- End title and tagline -->
                        <!-- Some social icons -->
                        <div class=" {{ if .Site.Params.fadeIn | default true }}fade-in three{{ end }}">
                            {{ partial "home/social.html" . }}
                        </div>
                        <!-- End top social icons -->
                    </div>
                </div>
                <!-- Hero body title end -->
            </div>
            <!-- Done with Hero -->
                <!-- Everything below fades in three! -->
            <div class="section {{ if .Site.Params.fadeIn | default true }}fade-in three{{ end }}">
                <!-- Tell them all about it! -->
                {{ partial "nav.html" . }}
                {{ with .Site.GetPage "page" "about" }}
                <div class="section" id="{{ .File.TranslationBaseName }}">
                    <div class="container">
                        <h2 class="title is-2 has-text-centered">{{ .Title }}</h2>
                        <div class="columns"><!-- Avatar and about.md side by side except mobile -->
                            {{ if .Site.Params.avatar }}
                            <div class="column is-one-third has-text-centered">
                                <img class="img-responsive avatar" src="{{ .Site.Params.avatar | relURL }}" alt="{{ i18n "index_avatarAlt" . }}">
                            </div>
                            {{ end }}
                            <div class="column markdown">
                                {{.Content}}
                            </div>
                        </div>
                    </div>
                    <!-- End About container-->
                    {{ partial "top-icon.html" . }}
                </div>
                <div class="container"><hr></div>
                <!-- End About section -->
                {{ end }}
                <!-- Now for some cool projects -->
                {{ partial "home/projects.html" . }}
                <!-- Let's show some blog posts -->
                {{ partial "home/blog.html" . }}
                <!-- Let's chat, shall we? -->
                {{ with .Site.GetPage "page" "contact" }}
                <div class="section" id="{{ .File.TranslationBaseName }}">
                    <div class="container has-text-centered">
                        <h2 class="title is-2">{{ .Title }}</h2>
                        <div class="markdown">
                            {{.Content}}
                        </div>
                        {{ if .Site.Params.localTime }}
                         <p>{{ i18n "index_currentTime" . }} <span id='time'></span>.</p>
                        {{ end }}
                        {{ if .Site.Params.email }}
                        <h3 class="subtitle is-3 has-text-centered top-pad">
                            <a href="mailto:{{ .Site.Params.email }}">{{ .Site.Params.email }}</a>
                        </h3>
                        {{ end }}
                        {{ partial "home/social.html" . }}
                    </div>
                    <!-- End Contact container -->
                    {{ partial "top-icon.html" . }}
                </div>
                <div class="container"><hr></div>
                {{ end }}
                <!-- End Contact section -->
                {{ partial "footer/text.html" . }}
            </div>
        </div>
        <!-- End of fade in three section -->
        {{ partial "footer/scripts.html" . }}
    </body>
</html>