summaryrefslogtreecommitdiff
path: root/themes/hugo-coder/layouts/posts/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-coder/layouts/posts/single.html')
m---------themes/hugo-coder0
-rw-r--r--themes/hugo-coder/layouts/posts/single.html52
2 files changed, 52 insertions, 0 deletions
diff --git a/themes/hugo-coder b/themes/hugo-coder
deleted file mode 160000
Subproject 55b2a150f990bc56364dba347bc9acc6aab07be
diff --git a/themes/hugo-coder/layouts/posts/single.html b/themes/hugo-coder/layouts/posts/single.html
new file mode 100644
index 0000000..61f11f7
--- /dev/null
+++ b/themes/hugo-coder/layouts/posts/single.html
@@ -0,0 +1,52 @@
1{{ define "title" }}
2 {{ .Title }} ยท {{ .Site.Title }}
3{{ end }}
4{{ define "content" }}
5 <section class="container post">
6 <article>
7 <header>
8 <div class="post-title">
9 <h1 class="title">
10 <a class="title-link" href="{{ .Permalink | safeURL }}">
11 {{ .Title }}
12 </a>
13 </h1>
14 </div>
15 <div class="post-meta">
16 <div class="date">
17 <span class="posted-on">
18 <i class="fa fa-calendar" aria-hidden="true"></i>
19 <time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
20 {{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
21 </time>
22 </span>
23 <span class="reading-time">
24 <i class="fa fa-clock-o" aria-hidden="true"></i>
25 {{ i18n "reading_time" .ReadingTime }}
26 </span>
27 </div>
28 {{ with .Page.Params.Authors }}{{ partial "taxonomy/authors.html" . }}{{ end }}
29 {{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
30 {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
31 </div>
32 </header>
33
34 <div>
35 {{ if .Params.featuredImage }}
36 <img src='{{ .Params.featuredImage }}' alt="Featured image"/>
37 {{ end }}
38 {{ .Content }}
39 </div>
40
41
42 <footer>
43 {{ partial "posts/series.html" . }}
44 {{ partial "posts/disqus.html" . }}
45 {{ partial "posts/commento.html" . }}
46 {{ partial "posts/utterances.html" . }}
47 </footer>
48 </article>
49
50 {{ partial "posts/math.html" . }}
51 </section>
52{{ end }}