theme: upgrade to latest master
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# Configuration of Academic
|
# Configuration of Hugo
|
||||||
# Documentation: https://sourcethemes.com/academic/
|
# Guide: https://sourcethemes.com/academic/docs/get-started/
|
||||||
|
# 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/
|
# 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]`).
|
# Each configuration section is defined by a name in square brackets (e.g. `[outputs]`).
|
||||||
@@ -55,6 +56,7 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
|
|||||||
mediaType = "application/manifest+json"
|
mediaType = "application/manifest+json"
|
||||||
rel = "manifest"
|
rel = "manifest"
|
||||||
|
|
||||||
|
# Configure the Markdown renderer.
|
||||||
[markup]
|
[markup]
|
||||||
defaultMarkdownHandler = "goldmark"
|
defaultMarkdownHandler = "goldmark"
|
||||||
[markup.goldmark]
|
[markup.goldmark]
|
||||||
@@ -77,3 +79,29 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
|
|||||||
category = "categories"
|
category = "categories"
|
||||||
publication_type = "publication_types"
|
publication_type = "publication_types"
|
||||||
author = "authors"
|
author = "authors"
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
# SITE SETUP
|
# SITE SETUP
|
||||||
# Documentation: https://sourcethemes.com/academic/
|
# Guide: https://sourcethemes.com/academic/docs/get-started/
|
||||||
|
# Documentation: https://sourcethemes.com/academic/docs/
|
||||||
|
#
|
||||||
|
# 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. `[search]`).
|
||||||
|
|
||||||
############################
|
############################
|
||||||
## Theme
|
## Theme
|
||||||
@@ -73,6 +77,9 @@ privacy_pack = false
|
|||||||
# `repo` defines the repository URL. `editable` defines which page types can be edited.
|
# `repo` defines the repository URL. `editable` defines which page types can be edited.
|
||||||
edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", content_dir = "", repo_branch = "master", editable = {docs = true, page = false, post = false}}
|
edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", content_dir = "", repo_branch = "master", editable = {docs = true, page = false, post = false}}
|
||||||
|
|
||||||
|
# Show related content at the bottom of pages?
|
||||||
|
show_related = {docs = true, page = false, post = true, project = true, publication = true, talk = true}
|
||||||
|
|
||||||
############################
|
############################
|
||||||
## Contact details
|
## Contact details
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
[[buttons]]
|
[[buttons]]
|
||||||
id = "whatsapp"
|
id = "whatsapp"
|
||||||
url = "https://web.whatsapp.com/send?text={title}%20{url}"
|
url = "whatsapp://send?text={title}%20{url}"
|
||||||
title = "WhatsApp"
|
title = "WhatsApp"
|
||||||
icon_pack = "fab"
|
icon_pack = "fab"
|
||||||
icon = "whatsapp"
|
icon = "whatsapp"
|
||||||
|
|||||||
Submodule themes/academic updated: 3cb96be5c6...9e562fc076
Reference in New Issue
Block a user