mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00

highlight.min.js only includes 22 commonly used languages. E.g. Go and Rust are not part of that set. This change allows users to add the JS for additional languages via a config option. I've also updated the library to the newest version.
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
baseurl = "https://you.github.io/"
|
|
builddrafts = false
|
|
canonifyurls = true
|
|
contentdir = "content"
|
|
languageCode = "en-US"
|
|
layoutdir = "layouts"
|
|
publishdir = "public"
|
|
author = "Arthur Dent"
|
|
title = "Arthur Dent"
|
|
pygmentsuseclasses = true
|
|
disqusshortname = "cocoaexamplesite" # Comment out to disable Disqus.
|
|
pluralizelisttitles = false
|
|
|
|
[permalinks]
|
|
fixed = ":title/"
|
|
blog = "blog/:slug/"
|
|
|
|
[params]
|
|
author = "Arthur Dent"
|
|
# gravatar = "" # do not use in the same time as Avatar
|
|
# avatar = "" # path to image in static dir e.g img/avatar.png (do not use in the same time as Gravatar)
|
|
cachebuster = true
|
|
dateform = "Jan 2, 2006"
|
|
dateformfull = "Mon Jan 2 2006 15:04:05 MST"
|
|
description = "Don't panic"
|
|
email = "you@example.space"
|
|
faviconfile = "img/leaf.ico"
|
|
gatracker = "XYZ"
|
|
github = "//github.com/you"
|
|
highlightjs = true
|
|
# highlightjslanguages = ["go"] # additional languages not included in the "common" set
|
|
initials = "ad" # Displayed on single post page; DEPRECATED in v0.3.0.
|
|
lang = "en"
|
|
linkedin = "//linkedin.com/in/you"
|
|
twitter = "//twitter.com/you"
|
|
|
|
extracssfiles = [ "/css/override.css" ] # In your `static/css`, add/remove files as necessary.
|