starter-academic-mpvd/config/_default/config.toml

125 lines
3.5 KiB
TOML
Raw Normal View History

2020-05-27 02:28:11 +02:00
# Configuration of Hugo
# Guide: https://wowchemy.com/docs/get-started/
2020-05-27 02:28:11 +02:00
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings
#
# This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
# Each configuration section is defined by a name in square brackets (e.g. `[outputs]`).
# Title of your site
2023-03-28 11:45:37 +02:00
title = "MPVD"
# The URL of your site.
# End your URL with a `/` trailing slash, e.g. `https://example.com/`.
2023-03-28 11:45:37 +02:00
baseurl = "https://mpvd.es"
# Enter a copyright notice to display in the site footer.
# To display a copyright symbol, type `©`. For current year, type `{year}`.
2023-03-28 11:45:37 +02:00
copyright = "© MPVD, MPVD de Periodismo y Visualización de Datos, {year}"
############################
## Advanced options below ##
############################
# Get last modified date for content from Git?
enableGitInfo = false
# Default language to use (if you setup multilingual support)
2023-03-28 11:45:37 +02:00
defaultContentLanguage = "es"
hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
defaultContentLanguageInSubdir = false
removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issues/5687
2020-03-06 22:20:22 +01:00
summaryLength = 30 # Listing summary length in words. Also, see `abstract_length` in `params.toml`.
paginate = 10 # Number of items per page in paginated lists.
enableEmoji = true
enableRobotsTXT = true
footnotereturnlinkcontents = "<sup>^</sup>"
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_cache$"]
2023-03-28 11:45:37 +02:00
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
[permalinks]
2023-03-28 11:45:37 +02:00
tags = "/etiqueta/:slug/"
categories = "/categoria/:slug/"
publication_types = "/tipo_publicacion/:slug/"
post = "/articulo/:slug"
publication = "/publicacion/:slug"
talk = "/charla/:slug"
project = "/proyecto/:slug"
event = "evento/:slug"
modulo = "/modulo/:slug/"
video = "/multimedia/:slug/"
authors = "/claustro/:slug/"
[outputs]
2019-07-28 00:07:08 +02:00
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
section = [ "HTML", "RSS" ]
[mediaTypes."application/manifest+json"]
suffixes = ["webmanifest"]
[outputFormats.WebAppManifest]
mediaType = "application/manifest+json"
rel = "manifest"
2020-05-27 02:28:11 +02:00
# Configure the Markdown renderer.
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true # Enable user to embed HTML snippets in Markdown content.
[markup.highlight]
codeFences = false # Disable Hugo's code highlighter as it conflicts with Academic's highligher.
[markup.tableOfContents]
startLevel = 2
endLevel = 3
2019-02-19 19:09:28 +01:00
[imaging]
resampleFilter = "lanczos"
quality = 75
2019-02-19 19:09:28 +01:00
anchor = "smart" # Anchor for cropping. Options include Smart and Center.
# Taxonomies.
[taxonomies]
tag = "tags"
category = "categories"
publication_type = "publication_types"
2023-03-28 11:45:37 +02:00
claustro = "authors"
programa = "modulos"
videos = "videos"
2020-05-27 02:28:11 +02:00
# Related content.
[related]
threshold = 80.0
includeNewer = true
toLower = true
[[related.indices]]
name = "title"
weight = 60.0
[[related.indices]]
name = "summary"
weight = 50.0
[[related.indices]]
name = "tags"
weight = 80.0
[[related.indices]]
name = "categories"
weight = 70.0
[[related.indices]]
name = "authors"
weight = 20.0
2023-03-28 11:45:37 +02:00
[[related.indices]]
name = "claustro"
weight = 20.0
# Install Wowchemy
[module]
[[module.imports]]
path = "github.com/wowchemy/wowchemy-hugo-modules/wowchemy"
[[module.imports]]
path = "github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic"