hugo/config.yaml

72 lines
1.3 KiB
YAML

baseURL: ''
languageCode: 'en-us'
title: 'Site Title'
theme: "anubis"
paginate: 5
paginatePath: "posts/-/pages"
enableRobotsTXT: true
disableLiveReload: true
minify: true
noHTTPCache: true
disableFastRender: true
rssLimit: 5
canonifyurls: true
relativeurls: false
params:
toc: true
author: "me"
email: ""
avatar: ""
description: ""
#customJS: [ "js/main.js" ] # relative to ./assets/
dateFormat: "2006-01-02"
paginationSinglePost: false
style: light
#style: auto-without-switcher
#style: light-without-switcher
readMore: true
disableSummary: false
social:
- id: email
name: contact
#- id: linkedin
# name: lapoba16
#- id: rss
# name: rss
# url: '/index.xml'
menu:
main:
- identifier: archive
name: Archive
title: Archive
url: /posts/
weight: 0
markup:
defaultMarkdownHandler: goldmark
goldmark:
extensions:
linkify: true
strikethrough: true
table: true
taskList: true
parser:
autoHeadingID: true
autoHeadingIDType: github
renderer:
unsafe: true # raw HTML OK
highlight:
anchorLineNos: true
guessSyntax: true
lineNos: true
tabWidth: 3
tableOfContents:
endLevel: 3
ordered: false
startLevel: 2
permalinks:
posts: /posts/:year-:month-:day-:filename