From 7f0bfcb26af45f4c7c29f91b510e4ec999e416c8 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Tue, 29 Sep 2020 08:55:52 -0400 Subject: [PATCH] initial commit(theme done using submodule) --- .gitmodules | 3 +++ archetypes/default.md | 6 ++++++ config.toml | 6 ++++++ content/_index.md | 5 +++++ content/a.md | 12 ++++++++++++ content/blog/_index.md | 3 +++ content/blog/b.md | 3 +++ layouts/_default/list.html | 21 +++++++++++++++++++++ layouts/index.html | 14 ++++++++++++++ public/blog/index.xml | 10 ++++++++++ public/categories/index.xml | 10 ++++++++++ public/index.xml | 10 ++++++++++ public/sitemap.xml | 23 +++++++++++++++++++++++ public/tags/index.xml | 10 ++++++++++ themes/liquorice | 1 + 15 files changed, 137 insertions(+) create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/_index.md create mode 100644 content/a.md create mode 100644 content/blog/_index.md create mode 100644 content/blog/b.md create mode 100644 layouts/_default/list.html create mode 100644 layouts/index.html create mode 100644 public/blog/index.xml create mode 100644 public/categories/index.xml create mode 100644 public/index.xml create mode 100644 public/sitemap.xml create mode 100644 public/tags/index.xml create mode 160000 themes/liquorice diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..6bf6079 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/liquorice"] + path = themes/liquorice + url = https://github.com/eliasson/liquorice 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..33a66b0 --- /dev/null +++ b/config.toml @@ -0,0 +1,6 @@ +baseURL = "https://pagwin.xyz" +languageCode = "en-us" +title = "Pagwin's website" +theme = "liquorice" +[params] + author = "Pagwin" diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..04d626e --- /dev/null +++ b/content/_index.md @@ -0,0 +1,5 @@ +--- +title: "Pagwin's website" +icon: "asdf.ico" +--- +# testing diff --git a/content/a.md b/content/a.md new file mode 100644 index 0000000..7eb397f --- /dev/null +++ b/content/a.md @@ -0,0 +1,12 @@ +--- +title: "A" +date: 2020-09-28 +--- + +# this is a title header + + +## asdfklasjdfl + + +asdf diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 0000000..16a2e46 --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,3 @@ +--- +title: "Blogs" +--- diff --git a/content/blog/b.md b/content/blog/b.md new file mode 100644 index 0000000..626c86d --- /dev/null +++ b/content/blog/b.md @@ -0,0 +1,3 @@ +--- +title: "asdf" +--- diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..0bd6da4 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,21 @@ +{{ partial "head.html" . }} +{{ partial "header.html" . }} + +
+
+
+

{{.Title}}

+
    + {{ range .Pages }} +
  • + +

    {{ .Title }}

    +
  • + {{ end }} +
+
+
+
+ +{{ partial "footer.html" . }} +{{ partial "tail.html" . }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..4a3f416 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,14 @@ +{{ partial "head.html" . }} +{{ partial "header.html" . }} + +
+
+
+

{{.Title}}

+ {{.Content}} +
+
+
+ +{{ partial "footer.html" . }} +{{ partial "tail.html" . }} diff --git a/public/blog/index.xml b/public/blog/index.xml new file mode 100644 index 0000000..95f5bac --- /dev/null +++ b/public/blog/index.xml @@ -0,0 +1,10 @@ + + + + Pagwin's website + https://pagwin.xyz/blog/ + Recent content on Pagwin's website + Hugo -- gohugo.io + en-us + + diff --git a/public/categories/index.xml b/public/categories/index.xml new file mode 100644 index 0000000..3e77f1a --- /dev/null +++ b/public/categories/index.xml @@ -0,0 +1,10 @@ + + + + Categories on Pagwin's website + https://pagwin.xyz/categories/ + Recent content in Categories on Pagwin's website + Hugo -- gohugo.io + en-us + + diff --git a/public/index.xml b/public/index.xml new file mode 100644 index 0000000..ab528de --- /dev/null +++ b/public/index.xml @@ -0,0 +1,10 @@ + + + + Pagwin's website + https://pagwin.xyz/ + Recent content on Pagwin's website + Hugo -- gohugo.io + en-us + + diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..d3158ef --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,23 @@ + + + + + https://pagwin.xyz/ + 0 + + + + https://pagwin.xyz/blog/ + 0 + + + + https://pagwin.xyz/categories/ + + + + https://pagwin.xyz/tags/ + + + diff --git a/public/tags/index.xml b/public/tags/index.xml new file mode 100644 index 0000000..d59e735 --- /dev/null +++ b/public/tags/index.xml @@ -0,0 +1,10 @@ + + + + Tags on Pagwin's website + https://pagwin.xyz/tags/ + Recent content in Tags on Pagwin's website + Hugo -- gohugo.io + en-us + + diff --git a/themes/liquorice b/themes/liquorice new file mode 160000 index 0000000..8eac8aa --- /dev/null +++ b/themes/liquorice @@ -0,0 +1 @@ +Subproject commit 8eac8aa9859376fbfe53aa026dcf065eace44a21