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

middle.html « partials « layouts - github.com/schollz/onetwothree.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: af3177bd47c2aaf9028abdf66daf029436b5fa78 (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

<header>
<strong><a href="/" style="color:black;">/posts</a></strong>
{{ range $.Site.Params.navigation }}{{ with $.Site.GetPage "page" . }}
&nbsp;·&nbsp;&nbsp;<a href="{{ lower .Permalink }}" style="color:black;"><strong>/{{ lower .Title }}</strong></a>
{{ end }}{{ end }}

{{ if .Draft }}
DRAFT
{{ end }}
</header>

<div class="content">
    {{ range first 100000 .Pages }}
    {{ if eq .Type "post"}}
        <p>
        <aside>{{ .Date.Format "January 2, 2006"}} 
            <!--{{ if .Params.tags }}
            /// <em>{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}<a href="/tags/{{$e}}/">{{ $e }}</a>{{ end }}
                </em>

            {{ end }}-->
        </aside>
        <a href="{{ .Permalink }}" style="color:black;">{{ .Title }}</a>{{ if .Draft }} <span style="color:#FF4136;">(unpublished)</span>
{{ end }}
        </p>
    {{ end }}
    {{ end }}
</div>