-
-
Notifications
You must be signed in to change notification settings - Fork 570
/
single.html
90 lines (63 loc) · 2.79 KB
/
single.html
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ partial "headers.html" . }}
{{ partial "custom_headers.html" . }}
</head>
<body>
<div id="all">
{{ partial "top.html" . }}
{{ partial "nav.html" . }}
{{ partial "breadcrumbs.html" . }}
<div id="content">
<div class="container">
<div class="row">
<!-- *** LEFT COLUMN *** -->
<div class="col-md-9" id="blog-post">
{{ if or .Params.author .Params.date }}
<p class="text-muted text-uppercase mb-small text-right">
{{ if isset .Params "authors" }}
{{ i18n "authorBy" }} {{ range $index, $author := .Params.authors }}{{ if $index }}, {{ end }}<a href="{{ (printf "%s/%s" ("authors" | relLangURL) ($author | urlize)) }}">{{ $author }}</a>{{ end }}
{{ end }}
{{ if and .Params.author .Params.date }} | {{ end }}
{{ if .Params.date }}
{{ $createdAt := .Date.Format .Site.Params.date_format }}
{{ range $index, $month := slice "January" "February" "March" "April" "May" "June" "July" "August" "September" "October" "November" "December" }}
{{ $createdAt = replace $createdAt $month (i18n $month) }}
{{ end }}
{{ $createdAt }}
{{ end }}
</p>
{{ end }}
<div id="post-content">
{{ .Content }}
</div>
<!-- /#post-content -->
{{ if .Site.Config.Services.Disqus.Shortname }}
<div id="comments">
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
</div>
<!-- /#blog-post -->
<!-- *** LEFT COLUMN END *** -->
<!-- *** RIGHT COLUMN *** -->
<div class="col-md-3">
<!-- *** MENUS AND WIDGETS *** -->
{{ partial "sidebar.html" . }}
<!-- *** MENUS AND FILTERS END *** -->
</div>
<!-- /.col-md-3 -->
<!-- *** RIGHT COLUMN END *** -->
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</div>
<!-- /#content -->
{{ partial "footer.html" . }}
</div>
<!-- /#all -->
{{ partial "scripts.html" . }}
</body>
</html>