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

single.html « _default « layouts - github.com/rafed/ramium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b43bca433ffe3539a772399315d9ff9ce0f00293 (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
{{ define "main" }}

<div class="content blog">
    <h1 class="title">{{ .Title | title }}</h1>

    <div id="infobar" class="level is-mobile">
        <div class="level-left">
            {{ if or .Params.showDate .Site.Params.showDate }}
            <div class="level-item">
                <p class="subtitle info date">
                    {{- .Date.Format "Jan 2, 2006" }}
                </p>
            </div>
            {{ end }}

            <div class="level-item">
                <p class="subtitle info">
                    {{ partial "time-to-read.html" . }}
                </p>
            </div>
        </div>
        <div class="level-right is-hidden-touch">
            <div class="tags">
                {{ range .Params.tags }}
                <a class="tag is-dark is-rounded" href="{{ "/tags/" | relURL }}{{ . | urlize }}">{{ . | humanize }}</a>
                {{ end }}
            </div>
        </div>
    </div>

    <div class="tags is-hidden-desktop">
        {{ range .Params.tags }}
        <a class="tag is-dark is-rounded" href="{{ "/tags/" | relURL }}{{ . | urlize }}">{{ . | humanize }}</a>
        {{ end }}
    </div>

    <div class="blog-text">
        {{ with .Params.image }}
        <img src="{{ . | relURL }}">
        {{ end }}

        {{ .Content }}
    </div>
</div>

{{- partial "social-media-share.html" . -}}
<br>
{{ partial "disqus.html" }}

{{ end }}