blob: 478af497772971b26471b1206306c23c435f5216 (
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
51
52
53
54
55
56
57
|
{{ partial "header.html" . }}
<div id="layout" class="pure-g">
{{ partial "sidebar.html" . }}
<div class="content pure-u-1 pure-u-md-3-4">
<div>
<!-- A wrapper for all the blog posts -->
<div class="posts">
<h1 class="content-subhead">{{ .Date.Format "02 Jan 2006, 15:04" }}</h1>
<section class="post">
<header class="post-header">
<a href="{{ .Permalink }}" class="post-title">{{ .Title }}</a>
<p class="post-meta">
{{ with .Params.author }}
By <strong class="post-author">{{ . }}</strong>
{{ end }}
{{ if isset .Params "categories" }}
under
{{ $baseUrl := .Site.BaseURL }}
{{ range .Params.categories }}<a class="post-category post-category-{{ . }}" href="{{ $baseUrl }}/categories/{{ . | urlize }}">{{ . }}</a>{{ end }}
{{ end }}
</p>
</header>
{{ if not .Site.Params.hideShareOptions }}
<div class="post-share">
<div class="post-share-links">
<h4 style="">Share</h4>
{{ if isset .Site.Params "facebook" }}
<a href="#" data-type="facebook" data-url="{{ .Permalink }}" data-title="{{ .Title }}" data-description="{{ .Description }}" data-media="" class="prettySocial fa fa-facebook"></a>
{{ end }}
{{ if isset .Site.Params "googleplus" }}
<a href="#" data-type="googleplus" data-url="{{ .Permalink }}" data-description="{{ .Description }}" class="prettySocial fa fa-google-plus"></a>
{{ end }}
{{ if isset .Site.Params "twitter" }}
<a href="#" data-type="twitter" data-url="{{ .Permalink }}" data-description="{{ .Description }}" data-via="{{ .Site.Params.twitter }}" class="prettySocial fa fa-twitter"></a>
{{ end }}
</div>
</div>
{{ end }}
<div class="post-description">
{{ .Content }}
</div>
{{ template "_internal/disqus.html" . }}
</section>
</div>
{{ partial "footer.html" . }}
</div>
</div>
</div>
{{ partial "analytics.html" . }}
</body>
</html>
|