diff options
Diffstat (limited to 'zola-static')
| -rw-r--r-- | zola-static/config.toml | 1 | ||||
| -rw-r--r-- | zola-static/content/blog/first.md | 9 | ||||
| -rw-r--r-- | zola-static/sass/.gitpreserve | 0 | ||||
| -rw-r--r-- | zola-static/sass/base.scss | 28 | ||||
| -rw-r--r-- | zola-static/templates/base.html | 1 |
5 files changed, 39 insertions, 0 deletions
diff --git a/zola-static/config.toml b/zola-static/config.toml index d7103dd..b5a0879 100644 --- a/zola-static/config.toml +++ b/zola-static/config.toml @@ -11,6 +11,7 @@ build_search_index = true # Whether to do syntax highlighting # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true +highlight_theme = "nyx-bold" [extra] # Put all your custom variables here diff --git a/zola-static/content/blog/first.md b/zola-static/content/blog/first.md index f0f068f..ed88f5c 100644 --- a/zola-static/content/blog/first.md +++ b/zola-static/content/blog/first.md @@ -4,3 +4,12 @@ date = 2025-05-11 +++ This is my first blog post. + +### Code block test +```c++ +#include <iostream> + +int main() { + std::cout << "hello world" << std::endl; +} +``` diff --git a/zola-static/sass/.gitpreserve b/zola-static/sass/.gitpreserve deleted file mode 100644 index e69de29..0000000 --- a/zola-static/sass/.gitpreserve +++ /dev/null diff --git a/zola-static/sass/base.scss b/zola-static/sass/base.scss new file mode 100644 index 0000000..ba5e106 --- /dev/null +++ b/zola-static/sass/base.scss @@ -0,0 +1,28 @@ +* { + font-family: monospace; +} + +body { + background-color: #252422; + margin: 0; + padding: 0; +} + +section { + height: 100%; + margin: auto 23%; + padding: 1rem; + + background-color: #252422; + color: #F3E9DC; + font-size: 125%; +} + +a { + color: #8B95C9; +} + +pre { + padding : 0.5rem; + border-radius: 0.3rem; +} diff --git a/zola-static/templates/base.html b/zola-static/templates/base.html index 8f16f97..69b7dc3 100644 --- a/zola-static/templates/base.html +++ b/zola-static/templates/base.html @@ -4,6 +4,7 @@ <head> <meta charset="utf-8"> <title>Jack Jamison</title> + <link rel="stylesheet" href="/base.css"> </head> <body> |
