start work moving to serene theme

This commit is contained in:
Aaron Honeycutt 2024-11-22 11:01:45 -07:00
parent e112d63d51
commit 06ec754229
78 changed files with 1552 additions and 140 deletions

View file

@ -1,157 +1,100 @@
# please refer to
# https://www.getzola.org/documentation/getting-started/configuration/
# for the complete configuration file
# serene v4.5.0
#
# - docs: https://github.com/isunjn/serene/blob/latest/USAGE.md
# - check for updates: https://github.com/isunjn/serene/releases
#
#=========================================================================================
# [MANDATORY] the URL of the microblog
base_url = "https://ahoneybun.net"
# [recommended] kangae doesn't use sass for its global stylesheet
compile_sass = false
# enable this when using kangae as a theme
theme = "kangae"
# [optional] minify HTML to save space at the cost of readability
minify_html = false
# [recommended] generate an atom or rss feed
#generate_feed = true
# [recommended] the name of the feed
# if it's set to 'rss.xml', an RSS feed will be generated
#feed_filename = "atom.xml"
# [recommended] the title of the website
title = "ahoneybun microblog"
# [recommended] the description of the website
description = "the personal microblog of ahoneybun"
# [recommended] the default language of the website
base_url = "https://ahoneybun.net" # Domain name of your website
title = "Aaron Honeycutt"
description = "blog of a linux nerd"
default_language = "en"
theme = "serene"
output_dir = "public"
compile_sass = true
minify_html = true
build_search_index = false # Keep this false, search is temporarily unsupported
#generate_feeds = false # Whether to generate a feed file in root, read docs for more info about rss feed
feed_filenames = ["feed.xml"] # The file name of feed, "feed.xml" / "atom.xml" / "rss.xml", read docs for more info
taxonomies = [{ name = "tags" }, { name = "categories" }]
# [recommended] the different kinds of taxonomies for the website
taxonomies = [
{ name = "tags", feed = true }
]
# ---------------------------------------------------------------------------- #
# configuration for how the markdown blog posts are rendered
[markdown]
# [optional] enable syntax highlighting for source code
# syntax highlight, in itself isn't sufficient and if enabled, it needs to
# support both light and dark modes which will add an overhead of approximately
# 6kb of unminified CSS. you can decide if it's worth it or not
highlight_code = false
# [optional] convert text emoji, such as :smile:,to the actual iconic emoji
render_emoji = true
# [optional] open external links in a new tab and add `rel="noopener"`
external_links_target_blank = true
# [optional] tell search engines not to follow external links
external_links_no_follow = false
# [optional] add `rel=noreferrer` for privacy
highlight_code = true
highlight_theme = "css"
extra_syntaxes_and_themes = ["highlight_themes"]
highlight_themes_css = [
{ theme = "serene-light", filename = "hl-light.css"},
{ theme = "serene-dark", filename = "hl-dark.css"},
]
render_emoji = false
external_links_target_blank = false
external_links_no_follow = true
external_links_no_referrer = true
# [optional] change "quote" to “curly” and other style changes
smart_punctuation = false
# ---------------------------------------------------------------------------- #
[slugify]
paths = "on"
taxonomies = "on"
anchors = "on"
#=========================================================================================
[extra]
# [recommended] your name
author = "Aaron Honeycutt"
# [recommended] your internet username
username = "ahoneybun"
# [optional] your 128x128 avatar, preferably svg
name = "Aaron Honeycutt"
id = "ahoneybun"
bio = "a Linux nerd"
avatar = "images/avatar.png"
# [optional] the keywords which highlight the type of content on your microblog
keywords = [ "microblog", "linux", "tech support" ]
display_id = true
display_bio = true
display_avatar = true
# [optional] add custom css
# custom_css = "css/custom.css"
recent = false
recent_max = 5
recent_more_text = "more »"
# [optional] add a web app manifest
# manifest = "/site.webmanifest"
sections = [
{ name = "posts", path = "/posts", is_external = false },
{ name = "projects", path = "/projects", is_external = false },
# { name = "about", path = "/about", is_external = false },
# { name = "github", path = "https://github.com/<your-username>", is_external = true },
]
blog_section_path = "/posts"
# [optional] additional links that should be present in the navbar
# `name` and `url` should be present for visibility, `rel` is optional
navbar = [
{ name = "mastodon", url = "https://hachyderm.io/@ahoneybun", rel="me" },
{ name = "github", url = "https://github.com/ahoneybun", rel="me" },
{ name = "linkedin", url = "https://www.linkedin.com/in/athoneycutt/", rel="me" }
links = [
{ name = "GitHub", icon = "github", url = "https://github.com/<your-username>" },
{ name = "Twitter", icon = "twitter", url = "https://twitter.com/<your-username>" },
{ name = "Email", icon = "email", url = "mailto:<your-email-address>" },
]
# https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color
# [optional] the light color for the user interface of the web browser
# the default value is written below
# light_theme_color = "#f0f0f0"
force_theme = false # false | "light" | "dark"
blog_categorized = true # Whether to categorize blog posts
blur_effect = false # Whether to turn on blur effect on navigation bar
back_to_top = true # Whether to show back-to-top button on post pages
toc = true # Whether to show Table-of-Contents by default
copy = true # Whether to add a copy button on code blocks by default
display_tags = true # Whether to display tags on post pages by default
truncate_summary = false # Whether to truncate the summary of a post by default
comment = false # Whether to show giscus comment section by default, see https://giscus.app for more info
# [optional] the dark color for the user interface of the web browser
# the default value is written below
# dark_theme_color = "#282c34"
reaction = false # Whether to show anonymous reactions (Note: You need to set up a working api endpoint to enable anonymous reaction)
reaction_align = "right" # "left" | "center" | "right"
reaction_endpoint = "https://example.com/api/reaction"
[extra.content_license]
# [recommended] the spdx identifier of the license of content on your microblog
spdx = "CC-BY-NC-ND-4.0"
outdate_alert = false # Whether to show outdate alert by default
outdate_alert_days = 120 # How many days will a post be outdated by default
outdate_alert_text_before = "This article was last updated "
outdate_alert_text_after = " days ago and may be out of date."
# [recommended] the url of the license
url = "https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode.txt"
nav_separator = "::"
nav_wrapper_left = "{"
nav_wrapper_right = "} ;"
nav_wrapper_separator = ","
[extra.source_license]
# [recommended] the spdx identifier for the license of source code on your microblog
spdx = "0BSD"
footer_copyright = "© 2023 <your-name>"
footer_credits = true # Whether to show "powered by zola and serene" in footer
# [recommended] the url of the license
url = "https://spdx.org/licenses/0BSD.html"
# [recommended] the url of the source code of the microblog itself
src_url = "https://github.com/ayushnix/kangae"
[extra.opengraph]
# [optional] opengraph image that should be visible when sharing links on social media
# websites and messaging apps
# img = "/images/apple-touch-icon.png"
# [optional] specifying the alt text is recommended if opengraph img is enabled
# alt = "opengraph image description"
[extra.favicon]
# [recommended] a SVG favicon
# svg = "/images/favicon.svg"
# [recommended] generate a 32px PNG favicon from the SVG
# png = "/images/favicon-32x32.png"
# [recommended] generate either a 180px or a 192px PNG image
# 180px - if you want to use the size recommended by apple
# 192px - if you want to use a single 192px image both for apple devices and for
# the android web app manifest; the image will be automatically resized to 180px
# for apple devices
# apple = "/images/apple-touch-icon.png"
[extra.post_footer]
# [recommended] show a permalink to microblog posts
share = true
# [optional] show a link which redirects to github discussions for writing comments
# in the example provided below, the URL will be
# https://github.com/ayushnix/kangae/discussions/new?category=general&title=The+Post+Title
#discuss_github = true
#github_url = "https://github.com/ayushnix/kangae"
# [optional] other misc urls that should be shown in the post footers
# both `name` and `url` should be defined for visibility
misc = [
{ name = "homelab status", url = "https://status.ahoneybun.net" }
]
not_found_title = "404"
not_found_error_text = "Not Found"
not_found_recover_text = "« back to home »"