From 8628a4ae2e7c8998c8d2ffe2ecc51f2624aa66b1 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Sat, 18 Nov 2023 12:15:16 +0200 Subject: Massive changes - migrating to Hermit with a few tweaks. Changes to be committed: new file: .gitignore modified: .gitmodules modified: config.toml new file: content/about.md deleted: content/blog/_index.md deleted: content/blog/first.md deleted: content/blog/second.md new file: content/posts/_index.md new file: content/posts/code_test.md new file: content/posts/good_first_post.md new file: content/posts/later_posts.md new file: content/posts/typography.md deleted: description deleted: index.html deleted: public/blog/first/index.html deleted: public/blog/index.html deleted: public/blog/second/index.html deleted: public/elasticlunr.min.js deleted: public/search_index.en.js deleted: public/typography.css new file: sass/_animate.scss new file: sass/_icons.scss new file: sass/_normalize.scss new file: sass/_predefined.scss new file: sass/_syntax.scss new file: sass/style.scss new file: static/favicon-32x32.png new file: static/favicon.ico new file: static/js/main.js modified: templates/404.html deleted: templates/base.html deleted: templates/blog-page.html deleted: templates/blog.html new file: templates/index.html new file: templates/macros.html new file: templates/page.html new file: templates/section.html new file: templates/tags/list.html new file: templates/tags/single.html new file: themes/404.html new file: themes/config.toml deleted: themes/hermit_zola --- config.toml | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 96 insertions(+), 16 deletions(-) (limited to 'config.toml') diff --git a/config.toml b/config.toml index 68fa938..b759759 100644 --- a/config.toml +++ b/config.toml @@ -1,25 +1,105 @@ -# Theme used -theme = "emily_zola_theme" +# Base URL of the site, the only required config argument +base_url = "https://example.com/blog" -# The URL the site will be built for -base_url = "https://alphara.art" +# Used in RSS by default +title = "Hermit Zola" +description = "My blog" +# The default language, used in RSS +default_language = "en" -# Whether to automatically compile all Sass files in the sass directory -compile_sass = true +# Theme name to use +# theme = "" + +# Highlight all code blocks found +# Or enable the highlight.js in the 'extra' config section +highlight_code = false -# Whether to build a search index to be used later on by a JavaScript library -build_search_index = true +# Which theme to use for the code highlighting. +# See below for list of accepted values +highlight_theme = "agola-dark" -# RSS feed generation +# Whether to generate a RSS feed automatically generate_feed = true +feed_filename = "rss.xml" + +# The number of articles to include in the RSS feed. Will include all items if +# not set (the default). +# rss_limit = 20 + +# The taxonomies to be rendered for that site and their configuration +# Example: +# taxonomies = [ +# {name = "tags", rss = true}, # each tag will have its own RSS feed +# {name = "categories", paginate_by = 5}, # 5 items per page for a term +# {name = "authors"}, # Basic definition: no RSS or pagination +# ] +# +taxonomies = [ + {name = "tags", rss = true} +] + +# Whether to compile the 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` +build_search_index = false + +# A list of glob patterns specifying asset files to ignore when +# processing the content directory. +# Defaults to none, which means all asset files are copied over to the public folder. +# Example: +# ignored_content = ["*.{graphml,xlsx}", "temp.*"] +ignored_content = [] + +# A list of directories to search for additional `.sublime-syntax` files in. +extra_syntaxes = [] -[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 +# Optional translation object. The key if present should be a language code +[translations] +# 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" + +footer_copyright = ' · CC BY-NC 4.0' + +hermit_menu = [ + { link = "/posts", name = "Posts" }, + { link = "/about", name = "About" } +] + +hermit_social = [ + { name = "twitter", link = "https://twitter.com" }, + { name = "github", link = "https://github.com" }, + { name = "email", link = "mailto:author@domain.com" } +] + + +# You can use highlight.js for code highlighting if you dont like the +# default one +[extra.highlightjs] +enable = true +clipboard = true +theme = "railscasts" + +[extra.disqus] +enable = false +# Take this from your Disqus account +shortname = "my-supa-dupa-blog" +# Cpmments can be disabled per page by setting: +# [extra] +# disable_comments = true +# +# in the posts front-matter + + +[extra.author] +name = "The Author" +email = "author@domain.com" + +[extra.google_analytics] +enable = false +id = "UA-4XXXXXXX-X" -- cgit v1.2.3