mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-15 04:46:58 +01:00
ba23674640
* add highlight config for code highlighter * add default pygment css "github" * fix styles for code blocks * remove dead html from margin note *These don't appear to do anything? * Fix scrolling in code block * More CSS fixes for code blocks * ignore generated scss files. Probably other generated files too * Use scss to generate more powerful styles for code blocks * Document new code blocks style option Improve code blocks styling
86 lines
No EOL
2.3 KiB
TOML
86 lines
No EOL
2.3 KiB
TOML
# Remove this if your site folder is not inside the theme folder
|
|
themesDir = "../../"
|
|
|
|
# Set your theme here
|
|
theme = "hugo-tufte"
|
|
# 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
|
|
|
|
[taxonomies]
|
|
category = "categories"
|
|
series = "series"
|
|
tag = "tags"
|
|
# -----------------------------------------------------------------------
|
|
# Navigation menu
|
|
# -----------------------------------------------------------------------
|
|
[[menu.nav]]
|
|
name = "Home"
|
|
pre = "<i class='fa fa-home fa-lg'></i> "
|
|
weight = -110
|
|
identifier = "home"
|
|
url = "/"
|
|
[[menu.nav]]
|
|
name = "Posts"
|
|
pre = "<i class='fa fa-book fa-lg'></i> "
|
|
weight = -100
|
|
identifier = "posts"
|
|
url = "/post"
|
|
[[menu.nav]]
|
|
name = "Categories"
|
|
pre = "<i class='fa fa-tags fa-lg'></i> "
|
|
weight = -90
|
|
identifier = "categories"
|
|
url = "/categories"
|
|
[[menu.nav]]
|
|
name = "About"
|
|
pre = "<i class='fa fa-info-circle fa-lg'></i> "
|
|
weight = -80
|
|
identifier = "about"
|
|
url = "/about"
|
|
|
|
# -----------------------------------------------------------------------
|
|
# Footer menu
|
|
# -----------------------------------------------------------------------
|
|
[[menu.footer]]
|
|
name = ""
|
|
pre = "<i class='fa fa-github fa-2x'></i> "
|
|
weight = -100
|
|
identifier = "github"
|
|
url = "https://github.com/slashformotion/hugo-tufte"
|
|
[[menu.footer]]
|
|
name = ""
|
|
pre = "<i class='fa fa-twitter fa-2x'></i> "
|
|
weight = -90
|
|
identifier = "twitter"
|
|
url = "https://twitter.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 |