Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wowchemy/starter-academic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGeorge Cushen <gcushen@users.noreply.github.com>2020-11-06 02:40:06 +0300
committerGeorge Cushen <gcushen@users.noreply.github.com>2020-11-06 02:40:06 +0300
commit4e0577f52a5583af907d3b1ea5ca269835b603ad (patch)
treeb9790742b1db1640d21e3f6996bef56c768a0eb1 /config
parent9e4469443a4815948f68b3c3b4919d9e9d17d4c5 (diff)
module: update & fix update script
Update script now reads the Wowchemy module's config.yaml rather than config.toml
Diffstat (limited to 'config')
-rw-r--r--config/_default/config.toml13
-rw-r--r--config/_default/menus.toml4
-rw-r--r--config/_default/params.toml28
3 files changed, 19 insertions, 26 deletions
diff --git a/config/_default/config.toml b/config/_default/config.toml
index 11fac902..98fb7453 100644
--- a/config/_default/config.toml
+++ b/config/_default/config.toml
@@ -1,5 +1,5 @@
# Configuration of Hugo
-# Guide: https://sourcethemes.com/academic/docs/get-started/
+# Guide: https://wowchemy.com/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/
@@ -10,7 +10,7 @@ title = "Academic"
# The URL of your site.
# End your URL with a `/` trailing slash, e.g. `https://example.com/`.
-baseurl = "/"
+baseurl = ""
# Enter a copyright notice to display in the site footer.
# To display a copyright symbol, type `&copy;`. For current year, type `{year}`.
@@ -47,13 +47,6 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
section = [ "HTML", "RSS" ]
-[mediaTypes."application/manifest+json"]
- suffixes = ["webmanifest"]
-
-[outputFormats.WebAppManifest]
- mediaType = "application/manifest+json"
- rel = "manifest"
-
# Configure the Markdown renderer.
[markup]
defaultMarkdownHandler = "goldmark"
@@ -68,7 +61,7 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
[imaging]
resampleFilter = "lanczos"
- quality = 90
+ quality = 75
anchor = "smart" # Anchor for cropping. Options include Smart and Center.
# Taxonomies.
diff --git a/config/_default/menus.toml b/config/_default/menus.toml
index 4b3e7866..d492d6aa 100644
--- a/config/_default/menus.toml
+++ b/config/_default/menus.toml
@@ -29,8 +29,8 @@
weight = 60
# Link to a PDF of your resume/CV from the menu.
-# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
+# To enable, copy your resume/CV to `static/media/cv.pdf` and uncomment the lines below.
# [[main]]
# name = "CV"
-# url = "files/cv.pdf"
+# url = "media/cv.pdf"
# weight = 70
diff --git a/config/_default/params.toml b/config/_default/params.toml
index 01acd0dc..bce9396a 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -1,17 +1,17 @@
# SITE SETUP
-# Guide: https://sourcethemes.com/academic/docs/get-started/
-# Documentation: https://sourcethemes.com/academic/docs/
+# Guide: https://wowchemy.com/docs/get-started/
+# Documentation: https://wowchemy.com/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]`).
+# Each config section after this section is defined by a name in square brackets (e.g. `[search]`).
############################
## Theme
############################
# Choose a theme.
-# Latest themes (may require updating): https://sourcethemes.com/academic/themes/
-# Browse built-in themes in `themes/academic/data/themes/`
+# Guide to color themes: https://wowchemy.com/docs/customization/#color-themes
+# Browse the latest built-in font sets at https://github.com/wowchemy/wowchemy-hugo-modules/tree/master/wowchemy/themes/
# Browse user installed themes in `data/themes/`
theme = "minimal"
@@ -19,8 +19,8 @@ theme = "minimal"
day_night = true
# Override the theme's font set (optional).
-# Latest font sets (may require updating): https://sourcethemes.com/academic/themes/
-# Browse built-in font sets in `themes/academic/data/fonts/`
+# Guide to font sets: https://wowchemy.com/docs/customization/#fonts
+# Browse the latest built-in font sets at https://github.com/wowchemy/wowchemy-hugo-modules/tree/master/wowchemy/data/fonts
# Browse user installed font sets in `data/fonts/`
font = ""
@@ -55,7 +55,7 @@ description = ""
############################
# Enable source code highlighting? true/false
-# Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
+# Documentation: https://wowchemy.com/docs/writing-markdown-latex/#highlighting-options
highlight = true
highlight_languages = ["r"] # Add support for highlighting additional languages
# highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/
@@ -75,10 +75,10 @@ privacy_pack = false
# Enable visitors to edit pages?
# `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 = "", content_dir = "", repo_branch = "main", editable = {page = false, post = false, book = false}}
# Show related content at the bottom of pages?
-show_related = {docs = true, page = false, post = true, project = true, publication = true, talk = true}
+show_related = {book = true, page = false, post = true, project = true, publication = true, talk = true}
############################
## Contact details
@@ -133,7 +133,7 @@ twitter = ""
## Regional Settings
############################
-# Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
+# Date and time format (refer to https://wowchemy.com/docs/customization/#date-format )
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
date_format = "Jan 2, 2006"
# Examples: "3:04 pm" or "15:04"
@@ -185,7 +185,7 @@ plugins_js = []
# Configuration of publication pages.
[publications]
- # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
+ # Date format (refer to https://wowchemy.com/docs/customization/#date-format )
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
date_format = "January 2006"
@@ -277,11 +277,11 @@ plugins_js = []
## Content Management System
############################
[cms]
- # See https://sourcethemes.com/academic/docs/install/#install-with-web-browser
+ # See https://wowchemy.com/docs/install/
netlify_cms = true
############################
## Icon Pack Extensions
############################
[icon.pack]
- ai = false # Academicons icon pack https://jpswalsh.github.io/academicons/
+ ai = true # Academicons icon pack https://jpswalsh.github.io/academicons/