2020-04-20 19:03:53 +02:00
|
|
|
baseURL = "/"
|
2020-04-20 18:27:10 +02:00
|
|
|
languageCode = "en"
|
|
|
|
defaultContentLanguage = "en"
|
|
|
|
title = "My digital brain"
|
|
|
|
preserveTaxonomyNames = true
|
|
|
|
enableRobotsTXT = true
|
|
|
|
enableEmoji = true
|
|
|
|
theme = "clean-even"
|
|
|
|
enableGitInfo = false
|
|
|
|
|
|
|
|
# Syntax highlighting by Chroma. NOTE: Don't enable `highlightInClient` and `chroma` at the same time!
|
|
|
|
pygmentsOptions = "linenos=table"
|
|
|
|
pygmentsCodefences = true
|
|
|
|
pygmentsUseClasses = true
|
|
|
|
pygmentsCodefencesGuessSyntax = true
|
|
|
|
|
|
|
|
hasCJKLanguage = false
|
|
|
|
paginate = 5
|
|
|
|
copyright = ""
|
|
|
|
|
|
|
|
[author]
|
|
|
|
name = "Thomas Dehaeze"
|
|
|
|
|
|
|
|
[sitemap]
|
|
|
|
changefreq = "weekly"
|
|
|
|
priority = 0.5
|
|
|
|
filename = "sitemap.xml"
|
|
|
|
|
|
|
|
[[menu.main]]
|
|
|
|
name = "Home"
|
|
|
|
weight = 10
|
|
|
|
identifier = "home"
|
|
|
|
url = "/"
|
2020-06-03 22:43:54 +02:00
|
|
|
|
2020-04-20 18:27:10 +02:00
|
|
|
[[menu.main]]
|
|
|
|
name = "Zettels"
|
|
|
|
weight = 30
|
|
|
|
identifier = "zettels"
|
|
|
|
url = "/zettels/"
|
|
|
|
|
|
|
|
[[menu.main]]
|
2020-06-03 22:43:54 +02:00
|
|
|
name = "Bibliography"
|
2020-04-20 18:27:10 +02:00
|
|
|
weight = 50
|
2020-06-03 22:43:54 +02:00
|
|
|
identifier = "bibliography"
|
|
|
|
url = "/bibliography/"
|
2020-04-21 13:25:23 +02:00
|
|
|
|
|
|
|
[[menu.main]]
|
|
|
|
name = "Search"
|
2020-06-03 22:43:54 +02:00
|
|
|
weight = 70
|
2020-04-21 13:25:23 +02:00
|
|
|
identifier = "search"
|
|
|
|
url = "/search/"
|
|
|
|
|
|
|
|
[outputs]
|
|
|
|
home = ["HTML", "RSS", "JSON"]
|
|
|
|
|
2020-04-20 18:27:10 +02:00
|
|
|
[params]
|
|
|
|
version = "4.x"
|
|
|
|
debug = false
|
|
|
|
|
|
|
|
since = "2020"
|
|
|
|
gitRepo = ""
|
|
|
|
|
|
|
|
logoTitle = "Digital Brain"
|
|
|
|
keywords = ["org-roam","research"]
|
|
|
|
description = "My personnal digital brain"
|
|
|
|
|
|
|
|
archivePaginate = 5
|
|
|
|
|
|
|
|
# show 'xx Posts In Total' in archive page ?
|
|
|
|
showArchiveCount = false
|
|
|
|
|
|
|
|
# The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/
|
|
|
|
dateFormatToUse = "2006-01-02"
|
|
|
|
|
|
|
|
# show word count and read time ?
|
|
|
|
moreMeta = false
|
|
|
|
|
|
|
|
# Syntax highlighting by highlight.js
|
|
|
|
highlightInClient = false
|
|
|
|
|
|
|
|
toc = true
|
|
|
|
autoCollapseToc = true
|
|
|
|
|
|
|
|
# mathjax
|
|
|
|
mathjax = true
|
|
|
|
mathjaxEnableSingleDollar = true
|
|
|
|
mathjaxEnableAutoNumber = true
|
|
|
|
mathjaxUseLocalFiles = false # You should install mathjax in `your-site/static/lib/mathjax`
|
|
|
|
|
2020-04-21 13:25:23 +02:00
|
|
|
# search
|
|
|
|
search = true
|
|
|
|
|
2020-04-20 18:27:10 +02:00
|
|
|
postMetaInFooter = false
|
|
|
|
linkToMarkDown = false
|
|
|
|
contentCopyright = ''
|
|
|
|
|
|
|
|
# Link custom CSS and JS assets
|
|
|
|
# (relative to /static/css and /static/js respectively)
|
|
|
|
customCSS = []
|
|
|
|
customJS = []
|
|
|
|
|
|
|
|
uglyURLs = false
|
|
|
|
|
|
|
|
# load these files from public cdn
|
|
|
|
[params.publicCDN]
|
|
|
|
enable = true
|
|
|
|
jquery = '<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>'
|
|
|
|
slideout = '<script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>'
|
|
|
|
timeagoJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.min.js" integrity="sha256-jwCP0NAdCBloaIWTWHmW4i3snUNMHUNO+jr9rYd2iOI=" crossorigin="anonymous"></script>'
|
|
|
|
timeagoLocalesJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.locales.min.js" integrity="sha256-ZwofwC1Lf/faQCzN7nZtfijVV6hSwxjQMwXL4gn9qU8=" crossorigin="anonymous"></script>'
|
|
|
|
|
|
|
|
# Display a message at the beginning of an article to warn the readers that it's content may be outdated.
|
|
|
|
[params.outdatedInfoWarning]
|
|
|
|
enable = false
|
|
|
|
hint = 30
|
|
|
|
warn = 180
|
|
|
|
|
|
|
|
[params.utterances] # https://utteranc.es/
|
2021-02-07 09:41:42 +01:00
|
|
|
repo = "tdehaeze/brain-dump-comments"
|
|
|
|
theme = "boxy-light"
|
2020-04-20 18:27:10 +02:00
|
|
|
|
|
|
|
[params.valine]
|
|
|
|
enable = false
|
|
|
|
|
|
|
|
[params.busuanzi]
|
|
|
|
enable = false
|
|
|
|
|
|
|
|
[params.social]
|
|
|
|
a-email = "mailto:dehaeze.thomas@gmail.com"
|
|
|
|
g-github = "https://github.com/tdehaeze/"
|
|
|
|
|
|
|
|
# See https://gohugo.io/about/hugo-and-gdpr/
|
|
|
|
[privacy]
|
|
|
|
[privacy.googleAnalytics]
|
|
|
|
anonymizeIP = true
|
|
|
|
[privacy.youtube]
|
|
|
|
privacyEnhanced = true
|
|
|
|
|
|
|
|
[markup]
|
|
|
|
defaultMarkdownHandler = "goldmark"
|
|
|
|
[markup.goldmark]
|
|
|
|
[markup.goldmark.renderer]
|
|
|
|
unsafe = true
|