mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-23 05:54:47 +01:00
update example config
This commit is contained in:
parent
411ba001cf
commit
b9805c3fbe
2 changed files with 101 additions and 107 deletions
|
@ -1,107 +0,0 @@
|
|||
# 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 = true
|
||||
|
||||
[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
|
101
exampleSite/config.yaml
Normal file
101
exampleSite/config.yaml
Normal file
|
@ -0,0 +1,101 @@
|
|||
# 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
|
||||
# If you write Chinese, Japanese or Korean, this helps with word counting
|
||||
hasCJKLanguage: true
|
||||
# The url of your website
|
||||
baseurl: "https://example.com/"
|
||||
# The title of your website (shown on all the pages)
|
||||
title: "Hugo-tufte Theme Example Site"
|
||||
canonifyurls: true
|
||||
|
||||
# Only modify the following if you know what you are doing
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
||||
highlight:
|
||||
noClasses: false
|
||||
pygmentsUseClasses: true
|
||||
guessSyntax: true
|
||||
|
||||
params:
|
||||
# Subtitle of the website
|
||||
subtitle: "Fancy subtitle."
|
||||
favicon: "./favicon.ico"
|
||||
touchicon: "./touch-icon.png"
|
||||
# Dark code highlighting
|
||||
codeblocksdark: false
|
||||
# Customize the indicator for margin notes
|
||||
# Some suggestions: 💬, 💭, 📑, 🏷, ✍, 💡, 🧐, 📎, 📌
|
||||
marginNoteInd: "⊕"
|
||||
# Your name or the name of you company
|
||||
# copyright: Copyright 2023
|
||||
# copyrightHolder: Copyright Holder
|
||||
# Show the "Powered by Hugo-Tufte and Hugo."
|
||||
showPoweredBy: false
|
||||
# Site wide kill switch
|
||||
hidedate: false
|
||||
# Site wide kill switch for Latex support
|
||||
math: true
|
||||
KaTeXVersion: 0.16.4
|
||||
KaTeXCDN: "//cdn.jsdelivr.net/npm"
|
||||
# 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
|
||||
weight: -110
|
||||
identifier: home
|
||||
url: /
|
||||
- name: Posts
|
||||
weight: -100
|
||||
identifier: posts
|
||||
url: /posts
|
||||
- name: Categories
|
||||
weight: -90
|
||||
identifier: categories
|
||||
url: /categories
|
||||
- name: About
|
||||
weight: -80
|
||||
identifier: about
|
||||
url: /about
|
||||
- name: Source Code
|
||||
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.
|
||||
# -----------------------------------------------------------------------
|
||||
# footer:
|
||||
# - name: Custom footer link
|
||||
# weight: -90
|
||||
# identifier: custom_link
|
||||
# url: 'https://example.com'
|
Loading…
Reference in a new issue