summaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authoramzrk22020-04-13 19:13:39 +0800
committeramzrk22020-04-13 19:13:39 +0800
commit6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad (patch)
treeb13e4c3a49823b602ebb918c899dd4a964c1f445 /layouts/_default/single.html
downloadhugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.gz
hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.bz2
hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.zip
Initial commit
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..9da2c59
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,24 @@
+{{ define "main" }}
+<main>
+ <div class="container-md clearfix">
+ <!-- list -->
+ <div class="col-md-9 col-12 float-left" id="content">
+ <article>
+ <h4 id="post-title">
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </h4>
+ <div id="post-meta">
+ {{ partial "post-meta.html" . }}
+ </div>
+ <div class="markdown-body" id="post-content">
+ {{ .Content }}
+ </div>
+ </article>
+ </div>
+ <!-- sidebar -->
+ <div class="col-md-3 col-12 float-left" id="sidebar">
+ {{ partial "sidebar.html" . }}
+ </div>
+ </div>
+</main>
+{{ end }} \ No newline at end of file