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

list.html « _default « layouts - github.com/samrobbins85/hugo-developer-portfolio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 552657b75048dcda61d54bacc0407e4e26cc11e4 (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
{{ define "main" }}

{{ partial "page-title.html" . }}

<section class="uk-margin-large-bottom">
    <div class="uk-container">
        <div class="uk-grid-small uk-child-width-1-4@s uk-text-center" uk-grid uk-height-match="target: > div > div > .card-body">
            {{ range .Data.Pages.ByPublishDate }}

            <div>
                <div class="uk-card uk-card-default uk-width-1@m">
                    <div class="card-body">
                    <div class="uk-card-header">
                        <div class="uk-grid-small uk-flex-middle" uk-grid>
                            <div class="uk-width-expand">
                                <h3 class="uk-card-title uk-margin-remove-bottom">{{.Title}}</h3>
                                <p class="uk-text-meta uk-margin-remove-top"><time
                                        datetime="{{.Date}}">{{.Date.Format "Jan 2, 2006"}}</time></p>
                            </div>
                        </div>
                    </div>
                    <div class="uk-card-body">
                        <p>{{.Params.description}}</p>
                    </div>
                </div>
                    <div class="uk-card-footer">
                        <a href="{{.Permalink | relURL}}" class="uk-button uk-button-text">Read more</a>
                    </div>
                </div>
            </div>
            {{end}}

        </div>

    </div>
</section>

{{ end }}