added markup extensions for the markdown, changed default for Chroma code rendering, added entry to site menu, added taxonomies, enabled math LaTeX rendering, configured pagination
This commit is contained in:
@@ -1,16 +1,35 @@
|
|||||||
baseURL = 'https://example.org/'
|
# baseURL = 'https://example.org/'
|
||||||
languageCode = 'en-US'
|
languageCode = 'en-US'
|
||||||
title = 'My New Hugo Site'
|
# title = 'My New Hugo Site'
|
||||||
|
contentDir = "content"
|
||||||
|
|
||||||
|
[markup]
|
||||||
|
[markup.highlight]
|
||||||
|
style = 'average'
|
||||||
|
lineNos = true
|
||||||
|
|
||||||
|
[markup.goldmark]
|
||||||
|
[markup.goldmark.extensions]
|
||||||
|
[markup.goldmark.extensions.passthrough]
|
||||||
|
enable = true
|
||||||
|
[markup.goldmark.extensions.passthrough.delimiters]
|
||||||
|
block = [['\[', '\]'], ['$$', '$$']]
|
||||||
|
inline = [['\(', '\)']]
|
||||||
|
|
||||||
|
[pagination]
|
||||||
|
disableAliases = false
|
||||||
|
pagerSize = 10
|
||||||
|
path = 'page'
|
||||||
|
|
||||||
[[menus.main]]
|
[[menus.main]]
|
||||||
name = 'Home'
|
name = 'Home'
|
||||||
pageRef = '/'
|
pageRef = '/'
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
# [[menus.main]]
|
[[menus.main]]
|
||||||
# name = 'Posts'
|
name = 'Posts'
|
||||||
# pageRef = '/posts'
|
pageRef = '/posts'
|
||||||
# weight = 20
|
weight = 20
|
||||||
|
|
||||||
[[menus.main]]
|
[[menus.main]]
|
||||||
name = 'Tags'
|
name = 'Tags'
|
||||||
@@ -22,7 +41,16 @@ name = 'Categories'
|
|||||||
pageRef = '/categories'
|
pageRef = '/categories'
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
category = "categories"
|
||||||
|
# @TODO work on building below taxonomies
|
||||||
|
# author = "authors"
|
||||||
|
# style = "styles"
|
||||||
|
|
||||||
[module]
|
[module]
|
||||||
[module.hugoVersion]
|
[module.hugoVersion]
|
||||||
extended = false
|
extended = false
|
||||||
min = "0.116.0"
|
min = "0.116.0"
|
||||||
|
|
||||||
|
[params]
|
||||||
|
math = true
|
||||||
Reference in New Issue
Block a user