From d45551a628cb51fed0dac9efe089aa223cabb196 Mon Sep 17 00:00:00 2001 From: devels Date: Fri, 4 Sep 2026 20:59:23 +0100 Subject: initial commit --- .gitignore | 1 + content/_index.md | 7 +++++++ content/blog/_index.md | 6 ++++++ content/blog/first_post.md | 8 ++++++++ sass/style.scss | 9 +++++++++ templates/base.html | 16 ++++++++++++++++ templates/index.html | 4 ++++ templates/page.html | 6 ++++++ templates/section.html | 9 +++++++++ zola.toml | 14 ++++++++++++++ 10 files changed, 80 insertions(+) create mode 100644 .gitignore create mode 100644 content/_index.md create mode 100644 content/blog/_index.md create mode 100644 content/blog/first_post.md create mode 100644 sass/style.scss create mode 100644 templates/base.html create mode 100644 templates/index.html create mode 100644 templates/page.html create mode 100644 templates/section.html create mode 100644 zola.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..364fdec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public/ diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..f663a50 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,7 @@ ++++ +title = "home" ++++ + +# daniels' site + +this is my cool site diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 0000000..99811f9 --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,6 @@ ++++ +title = "blog" ++++ + +hello blog + diff --git a/content/blog/first_post.md b/content/blog/first_post.md new file mode 100644 index 0000000..5f21c93 --- /dev/null +++ b/content/blog/first_post.md @@ -0,0 +1,8 @@ ++++ +title = "first post!" +date = 2026-09-01 ++++ + +hello this is my blog + +hope its nice diff --git a/sass/style.scss b/sass/style.scss new file mode 100644 index 0000000..ca85e72 --- /dev/null +++ b/sass/style.scss @@ -0,0 +1,9 @@ +body { + color: white; + background-color: black; +} + +time { + color: red; + font-weight: bold; +} diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..4e79148 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,16 @@ + + + + + {% block title %}{{ config.title }}{% endblock %} + + + + +
{% block content %}{% endblock %}
+ + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..b539396 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} +{% block content %} + {{ section.content | safe }} +{% endblock %} diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..7e1febd --- /dev/null +++ b/templates/page.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% block content %} +

{{ page.title }}

+ + {{ page.content | safe }} +{% endblock %} diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..cae39d3 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block content %} + {{ section.content | safe }} + +{% endblock %} diff --git a/zola.toml b/zola.toml new file mode 100644 index 0000000..79a69a6 --- /dev/null +++ b/zola.toml @@ -0,0 +1,14 @@ +base_url = "https://example.com" + +title = "devels' site" + +compile_sass = true + +build_search_index = false + +[markdown] + +[markdown.highlighting] +theme = "catppuccin-mocha" + +[extra] -- cgit v1.2.3