commit 1bfc7f13d5c1876f4b16086255833cdb54e190ff
parent ff71af16d4a61f07a9d6d4b6d9e1f31ed2c4e41f
Author: FIGBERT <figbert@figbert.com>
Date: Fri, 28 Aug 2020 13:37:53 -0700
:wrench: Update configurations to generalize usage
Diffstat:
2 files changed, 7 insertions(+), 25 deletions(-)
diff --git a/config.toml b/config.toml
@@ -1,35 +1,18 @@
-# The URL the site will be built for
base_url = "https://d3c3nt.figbert.com"
title = "d3c3nt :: FIGBERT"
description = "A simple, clean, and flexible theme for personal sites."
-# The default language; used in feeds.
-default_language = "en"
-
-# When set to "true", a feed is automatically generated.
generate_feed = true
-
-# Whether to automatically compile all Sass files in the sass directory
compile_sass = false
-# 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 = "two-dark"
-# Whether to build a search index to be used later on by a JavaScript library
-build_search_index = false
-
[extra]
-# Put all your custom variables here
nav = [
{ name = "HOME", path = "/" },
{ name = "POSTS", path = "/posts/" }
]
-
icon = "/icon.png"
404 = "/404.svg"
-twitter = "@therealFIGBERT"
-goatcounter = "figbert"
-author = "FIGBERT"
diff --git a/theme.toml b/theme.toml
@@ -2,18 +2,17 @@ name = "d3c3nt"
description = "A simple, clean, and flexible theme for personal sites."
license = "GPLv3"
homepage = "https://github.com/figbert/d3c3nt"
-# The minimum version of Zola required
-min_version = "0.4.0"
-# An optional live demo URL
+min_version = "0.11.0"
demo = "https://d3c3nt.figbert.com"
-# Any variable there can be overriden in the end user `config.toml`
-# You don't need to prefix variables by the theme name but as this will
-# be merged with user data, some kind of prefix or nesting is preferable
-# Use snake_casing to be consistent with the rest of Zola
[extra]
+nav = [
+ { name = "HOME", path = "/" },
+ { name = "POSTS", path = "/posts/" }
+]
+icon = "/icon.png"
+404 = "/404.svg"
-# The theme author info: you!
[author]
name = "FIGBERT"
homepage = "https://figbert.com"