mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-15 04:46:58 +01:00
c8bc5f6172
Fixes #26
107 lines
No EOL
3.3 KiB
TOML
107 lines
No EOL
3.3 KiB
TOML
# Remove this if your site folder is not inside the theme folder
|
|
themesDir = "../../"
|
|
|
|
# Set your theme here
|
|
theme = "hugo-tufte"
|
|
# The language of your website (see https://www.andiamo.co.uk/resources/iso-language-codes/ for reference)
|
|
languageCode = "en-us"
|
|
# The url of your website
|
|
baseurl = "https://slashformotion.github.io/hugo-tufte/"
|
|
# The title of your website (shown on all the pages)
|
|
title = "Hugo-tufte Theme Example Site"
|
|
# Site wide kill switch for Latex support
|
|
math = true
|
|
# (If math is enabled)
|
|
## if "katex" is set to true katex will be used to render LaTex, if not MathJax will be used instead
|
|
katex = false
|
|
|
|
[params]
|
|
# Subtitle of the website
|
|
subtitle = "Subtitle goes here."
|
|
# Your name or the name of you company
|
|
copyrightHolder = "Copyright Holder"
|
|
# Show the "Powered by Hugo-Tufte and Hugo."
|
|
showPoweredBy = true
|
|
# Site wide kill switch
|
|
hidedate = false
|
|
# Uncomment for dark code blocks
|
|
# codeBlocksDark = true
|
|
|
|
# Common social website links, please comment the unused ones.
|
|
## (if your favorite one is not in the list, please head to the footer menu below and add an entry)
|
|
### Please note that some of the value below are only provided as an exemple, perhaps the computed isn't valid
|
|
github = "slashformotion"
|
|
gitlab = "slashformotion"
|
|
twitter = "slashformotion"
|
|
patreon = ""
|
|
youtube = "user/ChromeDevelopers" # check the end of your youtube url https://www.youtube.com/<copy_this>
|
|
medium = "slashformotion"
|
|
reddit = "Slashformotion"
|
|
stackoverflow = "16609732/slashformotion"
|
|
instagram = "google"
|
|
mastodon = "instance.url/@username"
|
|
orcid = "0000-0003-0634-3275"
|
|
google_scholar = "jm5QaHkAAAAJ"
|
|
|
|
[taxonomies]
|
|
category = "categories"
|
|
series = "series"
|
|
tag = "tags"
|
|
# -----------------------------------------------------------------------
|
|
# Navigation menu
|
|
# -----------------------------------------------------------------------
|
|
[[menu.nav]]
|
|
name = "Home"
|
|
pre = "<i class='fas fa-home la-lg'></i>"
|
|
weight = -110
|
|
identifier = "home"
|
|
url = "/"
|
|
[[menu.nav]]
|
|
name = "Posts"
|
|
pre = "<i class='fas fa-book fa-lg'></i> "
|
|
weight = -100
|
|
identifier = "posts"
|
|
url = "/post"
|
|
[[menu.nav]]
|
|
name = "Categories"
|
|
pre = "<i class='fas fa-tags fa-lg'></i> "
|
|
weight = -90
|
|
identifier = "categories"
|
|
url = "/categories"
|
|
[[menu.nav]]
|
|
name = "About"
|
|
pre = "<i class='fas fa-info-circle fa-lg'></i> "
|
|
weight = -80
|
|
identifier = "about"
|
|
url = "/about"
|
|
[[menu.nav]]
|
|
name = "Source Code"
|
|
pre = "<i class='fab fa-github fa-lg'></i> "
|
|
weight = -70
|
|
identifier = "github"
|
|
url = "https://github.com/slashformotion/hugo-tufte"
|
|
|
|
# -----------------------------------------------------------------------
|
|
# FOOTER MENU
|
|
# If you need to add custom links to you footer: put them here. Be aware that this theme is using fontawesome.
|
|
# Please head to https://fontawesome.com/v4.7/icons/ to pick icons
|
|
# -----------------------------------------------------------------------
|
|
|
|
[[menu.footer]]
|
|
name = "Custom footer link"
|
|
pre = "<i class='fab fa-google fa-lg'></i> "
|
|
weight = -90
|
|
identifier = "custom_link"
|
|
url = "https://google.com"
|
|
|
|
|
|
# Don't change the settings below
|
|
[markup]
|
|
[markup.goldmark]
|
|
[markup.goldmark.renderer]
|
|
unsafe = true # make the shortcodes work
|
|
[markup.highlight]
|
|
noClasses = false
|
|
|
|
pygmentsUseClasses = true
|
|
canonifyurls = true |