diff options
author | guangmean <angularcorp@outlook.com> | 2019-10-29 12:04:47 +0300 |
---|---|---|
committer | guangmean <angularcorp@outlook.com> | 2019-10-29 12:04:47 +0300 |
commit | 5b18ef9514642f0b39ea12d3da27be167af194e9 (patch) | |
tree | 4b9957b62ebcdbf489790464932e180712d0e451 | |
parent | f4fae8323b0be2455919037b6fa14e7aa906c8c8 (diff) |
Create single.html
-rw-r--r-- | layouts/post/single.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html new file mode 100644 index 0000000..4d2dd17 --- /dev/null +++ b/layouts/post/single.html @@ -0,0 +1,40 @@ +<!doctype html> +<html class="no-js" lang=""> + +{{ partial "head.html" . }} + +<body> + {{ `<!--[if lte IE 9]> + <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p> + <![endif]-->` | safeHTML }} + + <!-- Add your site or application content here --> + <div class="flex-column"> + {{ partial "banner.html" . }} + <div class="home"> + <div class="logo"> + <h1><a href="/">{{.Site.Title}}</a></h1> + </div> + {{ partial "nav.html" . }} + <div> + <article> + <h3>{{ .Title }}</h3> + <div class="less"> + <time>Published: {{ .PublishDate.Format "Monday, Jan 2, 2006" }}</time> | {{ .ReadingTime }} minute read | Using {{ .WordCount }} words + </div> + <div class="em">{{ .Content | safeHTML }}</div> + <br /> + <br /> + <div class="less">Page link: <a href="{{ .RelPermalink }}" class="pagelink">{{ .RelPermalink }}</a></div> + <div class="line-dotted"></div> + <article> + </div> + {{ partial "footer.html" . }} + </div> + {{ partial "banner.html" . }} + </div> + + + {{ partial "foot.html" . }} +</body> +</html> |