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

list.html « _default « layouts - github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a39d0be9a4334ce03f072dfa4c9c6e9c0f6b822 (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
{{ partial "header.html" . }}

<div class="container-fluid">
    <div class="main">
        <div class="list-head">
        <h1 class="list-title fade-in one">Blog</h1>
        

        <div class="fade-in two">
        {{ if .Site.Params.showlatest }}
        <h2 class="blog-header">Latest Post</h2>
        {{ range first 1 .Data.Pages.ByPublishDate }}
        <div class="summary">{{ .Date.Format .Site.Params.dateform }}
            <h4><span style="font-weight: bold"><a href="{{ .RelPermalink }}">{{ .Title }}</a></span></h4>
                {{ .Summary }}
                {{ if .Truncated }}
                <div class="read-more-link"><a href="{{ .RelPermalink }}">...Read More</a></div>
                {{ end }}
        {{ end }}
        {{ end }}

        <h2 class="blog-header">All Posts</div>

        <ul>
        {{ range .Data.Pages.ByPublishDate }}
            {{ if eq .Section "blog" }}
                {{ partial "li.html" . }}
            {{ end }}
        {{ end }}
        </ul>

        </div>
        </div>

<div class="nav">
    <hr>
    <a href="/">Back to Main</a>
    <hr>
</div>
{{ partial "footer.html" . }}
    </div>
</div>