summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-11-19 23:35:55 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-11-19 23:35:55 +0200
commit978e7fdeccd0ba92948c413099aa0d88f221f6b0 (patch)
tree53c6ac8d6063c1459aae3e0cbefa1d43eae78b99
parent8628a4ae2e7c8998c8d2ffe2ecc51f2624aa66b1 (diff)
Better 404 paging with police door reference + unification of configs.
Changes to be committed: modified: config.toml modified: templates/404.html deleted: themes/404.html deleted: themes/config.toml Changes not staged for commit: modified: themes/emily_zola_theme (modified content)
-rw-r--r--config.toml21
-rw-r--r--templates/404.html2
-rw-r--r--themes/404.html1
-rw-r--r--themes/config.toml25
4 files changed, 14 insertions, 35 deletions
diff --git a/config.toml b/config.toml
index b759759..fd62718 100644
--- a/config.toml
+++ b/config.toml
@@ -1,10 +1,11 @@
# Base URL of the site, the only required config argument
-base_url = "https://example.com/blog"
+base_url = "https://alphara.art"
# Used in RSS by default
-title = "Hermit Zola"
-description = "My blog"
-# The default language, used in RSS
+title = "Alphara's Blog"
+description = "My blog dedicated to my stuff"
+
+# The default language, used in RSS and as a fallback value
default_language = "en"
# Theme name to use
@@ -12,7 +13,7 @@ default_language = "en"
# Highlight all code blocks found
# Or enable the highlight.js in the 'extra' config section
-highlight_code = false
+highlight_code = true
# Which theme to use for the code highlighting.
# See below for list of accepted values
@@ -38,11 +39,12 @@ taxonomies = [
{name = "tags", rss = true}
]
-# Whether to compile the Sass files found in the `sass` directory
+# Whether to automatically compile all sass files found in the `sass` directory
compile_sass = true
# Whether to build a search index out of the pages and section
# content for the `default_language`
+# or whether to build a search index to be used later on by a JavaScript library
build_search_index = false
# A list of glob patterns specifying asset files to ignore when
@@ -61,6 +63,10 @@ extra_syntaxes = []
# You can put any kind of data in there and it
# will be accessible in all templates
[extra]
+# Put all your custom variables here
+
+# MathJax rendering support
+math = true
home_subtitle = "Some profound and catchy statement"
@@ -95,9 +101,8 @@ shortname = "my-supa-dupa-blog"
#
# in the posts front-matter
-
[extra.author]
-name = "The Author"
+name = "Iustin Raznic"
email = "author@domain.com"
[extra.google_analytics]
diff --git a/templates/404.html b/templates/404.html
index ee5e10b..fc70c01 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -13,7 +13,7 @@
</p>
<div class="banner-404">
<h1>404</h1>
- <p>Oops, page not found…</p>
+ <p>Oops, police door not found…</p>
<p class="btn-404">
<a href="{{config.base_url}}"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>Home</a>
<a href='{{config.base_url}}/posts'><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-archive"><polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line></svg>Archives</a>
diff --git a/themes/404.html b/themes/404.html
deleted file mode 100644
index 882327e..0000000
--- a/themes/404.html
+++ /dev/null
@@ -1 +0,0 @@
-404 Police Door not found.
diff --git a/themes/config.toml b/themes/config.toml
deleted file mode 100644
index 68fa938..0000000
--- a/themes/config.toml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Theme used
-theme = "emily_zola_theme"
-
-# The URL the site will be built for
-base_url = "https://alphara.art"
-
-# Whether to automatically compile all Sass files in the sass directory
-compile_sass = true
-
-# Whether to build a search index to be used later on by a JavaScript library
-build_search_index = true
-
-# RSS feed generation
-generate_feed = true
-
-[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
-
-# MathJax rendering support
-math = true