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

single.html « _default « layouts - github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 33c1d224620f5bd00942d96a9f94ab36e6f4b7bc (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
{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseURL | sanitizeurl }}
<article class="h-entry">
    <header>
        <h1 class="post-title p-name">{{ .Title }}</h1>
        <!-- Don't show a timestamp on menu-type pages -->
        {{ if not .Params.Menu }}
        <p class="post-date">Posted on
            <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
              {{ .PublishDate.Format "2 January, 2006 at 15:04 MST" }}
            </time> by <a href="{{ .Site.Home }}" class="p-author">{{ .Site.Params.AuthorName }}</a>
        </p>
        {{ end }}
    </header>
    <section class="content e-content">
        {{ .Content }}
    </section>
    <footer>
        <a class="permalink u-url" href="{{ .Permalink }}">{{ .Site.Params.PermalinkText }}</a>
        {{ if .Params.tags }}
        <hr class="post-underline">
        <p class="post-tag">Tags for this post: 
        {{ range .Params.tags }}
            <a href="{{ $baseurl }}/tags/{{ . | urlize }}" class="post-tag">{{ . }}</a>
        {{ end }}
        </p>
        {{ end }}
    </footer>
</article>
{{ partial "footer.html" . }}