summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-11 23:05:20 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-11 23:05:20 -0400
commitecd7793846441ba90b57140db19474f295f3e6d7 (patch)
treee87058da11e550dfa8bb03d08de7fa7ffc388d19
parent6598e58e40470135aef952f14e97ff281a0f5dc2 (diff)
downloadtozt-hugo-ecd7793846441ba90b57140db19474f295f3e6d7.tar.gz
tozt-hugo-ecd7793846441ba90b57140db19474f295f3e6d7.zip
initial site generation
-rw-r--r--archetypes/default.md6
-rw-r--r--config.toml3
-rw-r--r--themes/tozt/LICENSE20
-rw-r--r--themes/tozt/archetypes/default.md2
-rw-r--r--themes/tozt/layouts/404.html0
-rw-r--r--themes/tozt/layouts/_default/baseof.html11
-rw-r--r--themes/tozt/layouts/_default/list.html0
-rw-r--r--themes/tozt/layouts/_default/single.html0
-rw-r--r--themes/tozt/layouts/index.html0
-rw-r--r--themes/tozt/layouts/partials/footer.html0
-rw-r--r--themes/tozt/layouts/partials/head.html0
-rw-r--r--themes/tozt/layouts/partials/header.html0
-rw-r--r--themes/tozt/theme.toml21
13 files changed, 63 insertions, 0 deletions
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 0000000..00e77bd
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,6 @@
+---
+title: "{{ replace .Name "-" " " | title }}"
+date: {{ .Date }}
+draft: true
+---
+
diff --git a/config.toml b/config.toml
new file mode 100644
index 0000000..e4b7418
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,3 @@
+baseURL = "http://example.org/"
+languageCode = "en-us"
+title = "My New Hugo Site"
diff --git a/themes/tozt/LICENSE b/themes/tozt/LICENSE
new file mode 100644
index 0000000..624b3f3
--- /dev/null
+++ b/themes/tozt/LICENSE
@@ -0,0 +1,20 @@
+The MIT License (MIT)
+
+Copyright (c) 2018 YOUR_NAME_HERE
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/themes/tozt/archetypes/default.md b/themes/tozt/archetypes/default.md
new file mode 100644
index 0000000..ac36e06
--- /dev/null
+++ b/themes/tozt/archetypes/default.md
@@ -0,0 +1,2 @@
++++
++++
diff --git a/themes/tozt/layouts/404.html b/themes/tozt/layouts/404.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/themes/tozt/layouts/404.html
diff --git a/themes/tozt/layouts/_default/baseof.html b/themes/tozt/layouts/_default/baseof.html
new file mode 100644
index 0000000..5f8e2ec
--- /dev/null
+++ b/themes/tozt/layouts/_default/baseof.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ {{- partial "head.html" . -}}
+ <body>
+ {{- partial "header.html" . -}}
+ <div id="content">
+ {{- block "main" . }}{{- end }}
+ </div>
+ {{- partial "footer.html" . -}}
+ </body>
+</html>
diff --git a/themes/tozt/layouts/_default/list.html b/themes/tozt/layouts/_default/list.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/themes/tozt/layouts/_default/list.html
diff --git a/themes/tozt/layouts/_default/single.html b/themes/tozt/layouts/_default/single.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/themes/tozt/layouts/_default/single.html
diff --git a/themes/tozt/layouts/index.html b/themes/tozt/layouts/index.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/themes/tozt/layouts/index.html
diff --git a/themes/tozt/layouts/partials/footer.html b/themes/tozt/layouts/partials/footer.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/themes/tozt/layouts/partials/footer.html
diff --git a/themes/tozt/layouts/partials/head.html b/themes/tozt/layouts/partials/head.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/themes/tozt/layouts/partials/head.html
diff --git a/themes/tozt/layouts/partials/header.html b/themes/tozt/layouts/partials/header.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/themes/tozt/layouts/partials/header.html
diff --git a/themes/tozt/theme.toml b/themes/tozt/theme.toml
new file mode 100644
index 0000000..fcd60cf
--- /dev/null
+++ b/themes/tozt/theme.toml
@@ -0,0 +1,21 @@
+# theme.toml template for a Hugo theme
+# See https://github.com/gohugoio/hugoThemes#themetoml for an example
+
+name = "Tozt"
+license = "MIT"
+licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
+description = ""
+homepage = "http://example.com/"
+tags = []
+features = []
+min_version = "0.41"
+
+[author]
+ name = ""
+ homepage = ""
+
+# If porting an existing theme
+[original]
+ name = ""
+ homepage = ""
+ repo = ""