-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.html
More file actions
49 lines (39 loc) · 1.27 KB
/
Copy pathsingle.html
File metadata and controls
49 lines (39 loc) · 1.27 KB
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
{{ partial "header.html" . }}
<main class="content" role="main">
<article class="article">
<!--{{ if eq .Section "post" }}
<span class="article-duration">{{ .ReadingTime }} min read</span>
{{ end }}-->
<h1 class="article-title">{{ .Title }}</h1>
{{ if eq .Section "post" }}
<span class="article-date">{{ .Date.Format "January 2, 2006" }}</span>
{{ end }}
{{ if .Params.toc }}
<br>
<div class="toc">
<b>Table of Contents:</b>
{{.TableOfContents}}
</div>
{{ end }}
<div class="article-content">
{{ .Content }}
</div>
</article>
{{ if $.Params.ghcommentid }}
<hr>
<div id="gh-comments">
<h4>COMMENTS</h4>
<div id="gh-comments-list"></div>
<a href="javascript:void(0)" id="gh-load-comments" class="btn" style="display:none">Load more comments</a>
<noscript>
<a href="https://github.com/DanielGibson/DanielGibson.github.io/issues/{{ $.Params.ghcommentid }}"
target='_blank' class='btn'>(Javascript is disabled)<br>View Comments on Github</a>
</noscript>
</div>
<script type="text/javascript" src="/js/github-comments.js"></script>
<script type="text/javascript">
DoGithubComments({{ $.Params.ghcommentid }});
</script>
{{ end }}
</main>
{{ partial "footer.html" . }}