commit d1b55f74645f25ba884e2d37b5f914f4b1522260 Author: James Harton Date: Wed Aug 16 11:15:15 2023 +1200 chore: first pass at basic homepage. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a48cf0d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..08bd09d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/anatole-zola"] + path = themes/anatole-zola + url = https://github.com/longfangsong/anatole-zola diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..d3542aa --- /dev/null +++ b/config.toml @@ -0,0 +1,37 @@ +base_url = "https://harton.nz" +compile_sass = true +build_search_index = false +generate_feed = true +theme = "anatole-zola" +highlight_theme = "base16-ocean-light" + +title = "Hartonia Planitia" +taxonomies = [ + {name = "tags"}, +] + +[markdown] +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = true + +[extra] +# Put all your custom variables here +title = "Hartonia Planitia" +description = "My home page lol" +author = "James Harton" + +[extra.show] +tags = false +links = false + +[languages.en.translations] +language_name = "English" +about = "About" +home = "Home" +tags = "Tags" +archive = "Archive" +links = "Links" +date_format = "%Y-%m-%d" +next_page = "Next Page" +last_page = "Last Page" diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..22e6ec6 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,9 @@ ++++ +title = "Hartonia Planitia" +template = "index.html" +transparent = true +sort_by = "date" +paginate_by = 10 ++++ + +WAT diff --git a/content/about/_index.md b/content/about/_index.md new file mode 100644 index 0000000..769dbcf --- /dev/null +++ b/content/about/_index.md @@ -0,0 +1,7 @@ ++++ +title = "About" +paginage_by = 0 +template = "about.html" ++++ + +About this site. diff --git a/content/archive/_index.md b/content/archive/_index.md new file mode 100644 index 0000000..8807619 --- /dev/null +++ b/content/archive/_index.md @@ -0,0 +1,5 @@ ++++ +title = "archive" +template = "archive.html" ++++ + diff --git a/content/links/_index.md b/content/links/_index.md new file mode 100644 index 0000000..17d8850 --- /dev/null +++ b/content/links/_index.md @@ -0,0 +1,9 @@ ++++ +title = "Links" +template = "links.html" +paginate_by = 0 ++++ + +Extern links: +- [Origin theme demo](http://anatole.cai-cai.me) + diff --git a/themes/anatole-zola b/themes/anatole-zola new file mode 160000 index 0000000..6173902 --- /dev/null +++ b/themes/anatole-zola @@ -0,0 +1 @@ +Subproject commit 617390294cf697c979e5ac5781ff26c696b6b494