modules: update + convert config from TOML to YAML
Poll results 11 YAML to 6 TOML: https://discord.com/channels/722225264733716590/738922126966521907/809481717031239700
This commit is contained in:
76
config/_default/config.yaml
Normal file
76
config/_default/config.yaml
Normal file
@@ -0,0 +1,76 @@
|
||||
# Configuration of Hugo
|
||||
# Guide: https://wowchemy.com/docs/getting-started/
|
||||
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings
|
||||
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
|
||||
|
||||
title: Academic # Website name
|
||||
baseurl: '' # Website URL
|
||||
copyright: '' # Footer text, e.g. '© {year} Me'
|
||||
|
||||
############################
|
||||
## LANGUAGE
|
||||
############################
|
||||
|
||||
defaultContentLanguage: en
|
||||
hasCJKLanguage: false
|
||||
defaultContentLanguageInSubdir: false
|
||||
removePathAccents: true
|
||||
|
||||
############################
|
||||
## MODULES
|
||||
############################
|
||||
|
||||
module:
|
||||
imports:
|
||||
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms
|
||||
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy
|
||||
|
||||
############################
|
||||
## ADVANCED
|
||||
############################
|
||||
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
enableEmoji: true
|
||||
enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
|
||||
permalinks:
|
||||
event: '/talk/:slug/'
|
||||
tags: '/tag/:slug/'
|
||||
categories: '/category/:slug/'
|
||||
publication_types: '/publication-type/:slug/'
|
||||
disableAliases: true
|
||||
outputs:
|
||||
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
|
||||
section: [HTML, RSS]
|
||||
markup:
|
||||
defaultMarkdownHandler: goldmark
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
||||
highlight:
|
||||
codeFences: false
|
||||
tableOfContents:
|
||||
startLevel: 2
|
||||
endLevel: 3
|
||||
imaging:
|
||||
resampleFilter: lanczos
|
||||
quality: 75
|
||||
anchor: smart
|
||||
timeout: 600000
|
||||
taxonomies:
|
||||
tag: tags
|
||||
category: categories
|
||||
publication_type: publication_types
|
||||
author: authors
|
||||
related:
|
||||
threshold: 80
|
||||
includeNewer: true
|
||||
toLower: true
|
||||
indices:
|
||||
- name: tags
|
||||
weight: 100
|
||||
- name: categories
|
||||
weight: 70
|
||||
Reference in New Issue
Block a user