From 3c6cb7f29631dfcdd954e7cbd5d2370efe7eb827 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Sun, 27 Aug 2017 22:38:42 +0800 Subject: =?UTF-8?q?=F0=9F=8E=89=20first=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/post/single.html | 64 +++++++++++++++++++++++++++++++++++++++++++++++ layouts/post/summary.html | 27 ++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 layouts/post/single.html create mode 100644 layouts/post/summary.html (limited to 'layouts/post') diff --git a/layouts/post/single.html b/layouts/post/single.html new file mode 100644 index 0000000..81c0939 --- /dev/null +++ b/layouts/post/single.html @@ -0,0 +1,64 @@ +{{ define "content" -}} + {{ $lang := .Site.Data.even.default -}} +
+ +
+

{{ .Title }}

+ + +
+ + + {{ partial "post/toc.html" . }} + + +
+ {{ .Content }} +
+ + + {{ partial "post/copyright.html" . }} + + + {{ partial "post/reward.html" . }} + + +
+{{- end }} \ No newline at end of file diff --git a/layouts/post/summary.html b/layouts/post/summary.html new file mode 100644 index 0000000..8a4e774 --- /dev/null +++ b/layouts/post/summary.html @@ -0,0 +1,27 @@ +{{ $lang := .Site.Data.even.default -}} +
+
+

{{ .Title }}

+ +
+ +
+
+ {{ .Summary }} +
+ +
+
\ No newline at end of file -- cgit v1.2.3