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 --- archetypes/default.md | 2 ++ layouts/404.html | 5 ++++ layouts/_default/list.html | 18 ++++++++++++++ layouts/_default/single.html | 12 ++++++++++ layouts/_default/terms.html | 16 +++++++++++++ layouts/partials/foot_custom.html | 0 layouts/partials/footer.html | 9 +++++++ layouts/partials/head_custom.html | 0 layouts/partials/header.html | 19 +++++++++++++++ static/css/fonts.css | 7 ++++++ static/css/style.css | 50 +++++++++++++++++++++++++++++++++++++++ theme.toml | 12 ++++++++++ 12 files changed, 150 insertions(+) create mode 100644 archetypes/default.md create mode 100644 layouts/404.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/_default/terms.html create mode 100644 layouts/partials/foot_custom.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head_custom.html create mode 100644 layouts/partials/header.html create mode 100644 static/css/fonts.css create mode 100644 static/css/style.css create mode 100644 theme.toml diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..a845151 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..c2e4e40 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,5 @@ +{{ partial "header.html" . }} + +404 NOT FOUND + +{{ partial "footer.html" . }} 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 }} +