hugo-academic-mirror/starters/blog/config/_default/hugo.yaml

88 lines
1.9 KiB
YAML
Raw Normal View History

# Configuration of Hugo
2023-11-09 14:58:28 +00:00
# Guide: https://docs.hugoblox.com/tutorial/
# 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: "Creator's Blog (Hugo Theme)" # Website name
baseURL: 'https://example.com/' # Website URL
############################
## PAGE OPTIONS
############################
cascade:
# Blog post options
- _target:
path: /blog/**
2023-11-16 08:06:29 +00:00
kind: page
pager: true
2023-12-17 14:00:14 +00:00
editable: true
hide_date: false
show_date_updated: true
reading_time: true
commentable: true
show_related: true
share: true
2023-11-16 08:06:29 +00:00
# Just use Breadcrumb for navigation on blog post pages?
show_breadcrumb: false
header:
navbar:
2023-11-16 08:06:29 +00:00
enable: true
############################
## LANGUAGE
############################
defaultContentLanguage: en
hasCJKLanguage: false
defaultContentLanguageInSubdir: false
removePathAccents: true
############################
## ADVANCED
############################
build:
writeStats: true
enableGitInfo: false
summaryLength: 30
paginate: 10
enableEmoji: true
enableRobotsTXT: true
footnotereturnlinkcontents: <sup>^</sup>
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
permalinks:
authors: '/author/:slug/'
tags: '/tag/:slug/'
categories: '/category/:slug/'
disableAliases: true
outputs:
2024-05-18 21:17:09 +01:00
home: [HTML, RSS, headers, redirects, backlinks]
section: [HTML, RSS]
imaging:
resampleFilter: lanczos
quality: 95
anchor: smart
timeout: 600000
taxonomies:
tag: tags
category: categories
author: authors
markup:
_merge: deep
related:
threshold: 80
includeNewer: true
toLower: true
indices:
- name: tags
weight: 100
- name: categories
weight: 70
security:
_merge: deep
sitemap:
_merge: deep
minify:
_merge: deep