outrun/outrun-site/config.toml

129 lines
3.8 KiB
TOML

# Put all your custom variables here
# The URL the site will be built for
base_url = "https://outrun.rocks"
description = "The most retro-futuristic language in the world"
title = "Outrun"
# The site theme to use.
theme = "adidoks"
# The default language; used in feeds and search index
# Note: the search index doesn't support Chinese/Japanese/Korean Languages
default_language = "en"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
# Whether to generate a feed file for the site
generate_feed = true
# When set to "true", the generated HTML files are minified.
minify_html = false
# The taxonomies to be rendered for the site and their configuration.
taxonomies = [
{name = "authors"}, # Basic definition: no feed or pagination
]
# Whether to build a search index to be used later on by a JavaScript library
# When set to "true", a search index is built from the pages and section
# content for `default_language`.
build_search_index = true
[search]
# Whether to include the title of the page/section in the index
include_title = true
# Whether to include the description of the page/section in the index
include_description = false
# Whether to include the rendered content of the page/section in the index
include_content = 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
author = "James Harton"
email = "james@harton.nz"
github = "https://github.com/jimsynz"
# If running on netlify.app site, set to true
is_netlify = false
# Set HTML file language
language_code = "en-NZ"
# Set theme-color meta tag for Chrome browser
theme_color = "#fff"
# More about site's title
title_addition = "Outrun"
title_separator = "|" # set as |, -, _, etc
# Set date format in blog publish metadata
timeformat = "%B %e %Y" # e.g. June 14, 2021
timezone = "Pacific/Auckland"
# Edit page on reposity or not
docs_repo = "https://gitlab.com/jimsy/outrun"
edit_page = true
repo_branch = "main"
## Math settings
# options: true, false. Enable math support globally,
# default: false. You can always enable math on a per page.
library = "katex" # options: "katex", "mathjax". default is "katex".
math = false
## Open Graph + Twitter Cards
[extra.open]
enable = false
# this image will be used as fallback if a page has no image of its own
image = "outrun_logo_small.png"
og_locale = "en_NZ"
## JSON-LD
[extra.schema]
github = "https://github.com/jimsynz"
logo = "logo-doks.png"
section = "blog" # see config.extra.main~url
type = "Organization"
## Sitelinks Search Box
site_links_search_box = false
# Menu items
[[extra.menu.main]]
name = "Docs"
section = "docs"
url = "/docs/getting-started/introduction/"
weight = 10
[[extra.menu.main]]
name = "Blog"
section = "blog"
url = "/blog/"
weight = 20
[[extra.menu.social]]
name = "GitLab"
post = "v0.1.0"
pre = '<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-gitlab"><path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"></path></svg>'
url = "https://gitlab.com/jimsy/outrun"
weight = 20
# Footer contents
[extra.footer]
info = 'Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/aaranxu/adidoks">AdiDoks</a>'
[[extra.footer.nav]]
name = "Privacy"
url = "/privacy-policy/"
weight = 10
[[extra.footer.nav]]
name = "Code of Conduct"
url = "/docs/contributing/code-of-conduct/"
weight = 20