chore: first pass at basic homepage.

This commit is contained in:
James Harton 2023-08-16 11:15:15 +12:00
commit d1b55f7464
Signed by: james
GPG key ID: 90E82DAA13F624F4
8 changed files with 72 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
public

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "themes/anatole-zola"]
path = themes/anatole-zola
url = https://github.com/longfangsong/anatole-zola

37
config.toml Normal file
View file

@ -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"

9
content/_index.md Normal file
View file

@ -0,0 +1,9 @@
+++
title = "Hartonia Planitia"
template = "index.html"
transparent = true
sort_by = "date"
paginate_by = 10
+++
WAT

7
content/about/_index.md Normal file
View file

@ -0,0 +1,7 @@
+++
title = "About"
paginage_by = 0
template = "about.html"
+++
About this site.

View file

@ -0,0 +1,5 @@
+++
title = "archive"
template = "archive.html"
+++

9
content/links/_index.md Normal file
View file

@ -0,0 +1,9 @@
+++
title = "Links"
template = "links.html"
paginate_by = 0
+++
Extern links:
- [Origin theme demo](http://anatole.cai-cai.me)

1
themes/anatole-zola Submodule

@ -0,0 +1 @@
Subproject commit 617390294cf697c979e5ac5781ff26c696b6b494