mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
83 lines
1.8 KiB
YAML
83 lines
1.8 KiB
YAML
# Configuration of Hugo
|
|
# 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: 'My Notes' # Website name
|
|
baseURL: 'https://example.com/' # Website URL
|
|
|
|
############################
|
|
## PAGE OPTIONS
|
|
############################
|
|
|
|
cascade:
|
|
# Docs folder options
|
|
- _target:
|
|
path: /**
|
|
type: book
|
|
editable: true
|
|
show_breadcrumb: true
|
|
|
|
############################
|
|
## LANGUAGE
|
|
############################
|
|
|
|
languageCode: en-us
|
|
hasCJKLanguage: false
|
|
defaultContentLanguageInSubdir: false
|
|
removePathAccents: true
|
|
|
|
############################
|
|
## MODULES
|
|
############################
|
|
|
|
module:
|
|
imports:
|
|
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify
|
|
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5
|
|
|
|
############################
|
|
## ADVANCED
|
|
############################
|
|
|
|
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:
|
|
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
|
|
section: [HTML, RSS]
|
|
imaging:
|
|
resampleFilter: lanczos
|
|
quality: 75
|
|
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
|