diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..869de58 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "site/themes/abridge"] + path = site/themes/abridge + url = https://github.com/jieiku/abridge.git diff --git a/site/.gitignore b/site/.gitignore new file mode 100644 index 0000000..e81d3f8 --- /dev/null +++ b/site/.gitignore @@ -0,0 +1,6 @@ +.env +public +themes +build +storage +node_modules diff --git a/site/README.md b/site/README.md new file mode 100644 index 0000000..6fecafe --- /dev/null +++ b/site/README.md @@ -0,0 +1,7 @@ +- TODO: migrate into docs and replace contents of this file with backlink +- TODO: [PWA support](https://abridge.pages.dev/overview-abridge/#pwa) for mobile sandbox +- TODO: Atkinson Hyperlegible Next + +This directory hosts the Kerolox website. + +The site is generated with [Zola](https://getzola.org), a minimalist static site generator. diff --git a/site/content/_index.md b/site/content/_index.md new file mode 100644 index 0000000..91aebd9 --- /dev/null +++ b/site/content/_index.md @@ -0,0 +1,3 @@ ++++ +template = "base.html" ++++ diff --git a/site/content/contribute/_index.md b/site/content/contribute/_index.md new file mode 100644 index 0000000..8d000ea --- /dev/null +++ b/site/content/contribute/_index.md @@ -0,0 +1,8 @@ ++++ +paginate_by = 100 +sort_by = "title" +template = "pages.html" +title = "Contributor Docs" ++++ + +- TODO: build instructions diff --git a/site/content/sandbox.md b/site/content/sandbox.md new file mode 100644 index 0000000..6ba7232 --- /dev/null +++ b/site/content/sandbox.md @@ -0,0 +1,7 @@ ++++ +title = "Kerolox Sandbox" +description = "An interactive Kerolox development environment." +date = 2026-05-14 ++++ + +- TODO: embed CodeMirror sandbox diff --git a/site/themes/abridge b/site/themes/abridge new file mode 160000 index 0000000..d52609f --- /dev/null +++ b/site/themes/abridge @@ -0,0 +1 @@ +Subproject commit d52609f456f233ec0845c8a57a1e27583f0813ad diff --git a/site/zola.toml b/site/zola.toml new file mode 100644 index 0000000..a239e9b --- /dev/null +++ b/site/zola.toml @@ -0,0 +1,39 @@ +base_url = "https://kerolox.neocities.org" +theme = "abridge" + +title = "Kerolox" +description = "Homepage of the Kerolox programming language." +default_language = "en" + +compile_sass = true +minify_html = false +build_search_index = false +generate_feeds = true + +[markdown] +bottom_footnotes = true + +[markdown.highlighting] +theme = "catppuccin-mocha" + +[extra] + +[[extra.menu]] +url = "tutorial" +name = "Tutorial" +slash = true + +[[extra.menu]] +url = "examples" +name = "Examples" +slash = true + +[[extra.menu]] +url = "sandbox" +name = "Sandbox" +slash = true + +[[extra.menu]] +url = "contribute" +name = "How to Help" +slash = true