From 111767700619c5184943b1cb3dff3f7e195c2e85 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Thu, 15 Jun 2017 23:06:16 -0500 Subject: add theme.toml, archetypes, layouts, and css --- layouts/_default/list.html | 18 ++++++++++++++++++ layouts/_default/single.html | 12 ++++++++++++ layouts/_default/terms.html | 16 ++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/_default/terms.html (limited to 'layouts/_default') diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..41d9d89 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,18 @@ +{{ partial "header.html" . }} + +{{if not .IsHome }} +

{{ .Title }}

+{{ end }} + +{{ .Content }} + + + +{{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..2a4cae8 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,12 @@ +{{ partial "header.html" . }} +
+

{{ .Title }}

+{{ with .Params.author }}

{{ . }}

{{ end }} +{{ if .Params.date }}

{{ $.Date.Format "2006/01/02" }}

{{ end }} +
+ +
+{{ .Content }} +
+ +{{ partial "footer.html" . }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html new file mode 100644 index 0000000..47a9c0a --- /dev/null +++ b/layouts/_default/terms.html @@ -0,0 +1,16 @@ +{{ partial "header.html" . }} + +

{{ .Title }}

+ + + +{{ partial "footer.html" . }} -- cgit 1.4.1