hugo-academic v4.5.0
This commit is contained in:
@@ -18,9 +18,6 @@ copyright = "© 2019 Carl Pearson"
|
||||
# Enable analytics by entering your Google Analytics tracking ID
|
||||
googleAnalytics = "UA-54975774-2"
|
||||
|
||||
# Enable comments by entering your Disqus shortname
|
||||
disqusShortname = ""
|
||||
|
||||
# Name of Academic theme folder in `themes/`.
|
||||
theme = "academic"
|
||||
|
||||
@@ -31,6 +28,7 @@ enableGitInfo = true
|
||||
defaultContentLanguage = "en"
|
||||
hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
|
||||
defaultContentLanguageInSubdir = false
|
||||
removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issues/5687
|
||||
|
||||
paginate = 10 # Number of items per page in paginated lists.
|
||||
enableEmoji = true
|
||||
@@ -39,9 +37,16 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
|
||||
|
||||
|
||||
[outputs]
|
||||
home = [ "HTML", "RSS", "JSON" ]
|
||||
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
|
||||
section = [ "HTML", "RSS" ]
|
||||
|
||||
[mediaTypes."application/manifest+json"]
|
||||
suffixes = ["webmanifest"]
|
||||
|
||||
[outputFormats.WebAppManifest]
|
||||
mediaType = "application/manifest+json"
|
||||
rel = "manifest"
|
||||
|
||||
# Configure BlackFriday Markdown rendering.
|
||||
# See: https://gohugo.io/getting-started/configuration/#configure-blackfriday
|
||||
[blackfriday]
|
||||
|
@@ -1,58 +1,103 @@
|
||||
# SITE SETUP
|
||||
# Documentation: https://sourcethemes.com/academic/
|
||||
|
||||
# Color theme.
|
||||
# Choose from `default`, `ocean`, `forest`, `dark`, `apogee`, `1950s`, `coffee`, `cupcake`, `strawberry`.
|
||||
color_theme = "default"
|
||||
############################
|
||||
## Theme
|
||||
############################
|
||||
|
||||
# Choose a theme.
|
||||
# Latest themes (may require updating): https://sourcethemes.com/academic/themes/
|
||||
# Browse built-in themes in `themes/academic/data/themes/`
|
||||
# Browse user installed themes in `data/themes/`
|
||||
theme = "minimal"
|
||||
|
||||
# Enable users to switch between day and night mode?
|
||||
day_night = true
|
||||
|
||||
# Font style.
|
||||
# Choose from `default`, `classic`, or `playfair`.
|
||||
font = "default"
|
||||
# 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/`
|
||||
# Browse user installed font sets in `data/fonts/`
|
||||
font = ""
|
||||
|
||||
# Choose a font size.
|
||||
# Sizes: XS (extra small), S (small), M (medium), L (large - DEFAULT), XL (extra large)
|
||||
font_size = "L"
|
||||
|
||||
############################
|
||||
## Basic Info
|
||||
############################
|
||||
|
||||
# Website type
|
||||
# Improve how search engines understand your site.
|
||||
# For personal sites, choose "Person".
|
||||
# For organizations and projects, choose from https://schema.org/Organization#subtypes
|
||||
# E.g. Person, Organization, LocalBusiness, Project, EducationalOrganization
|
||||
site_type = "Person"
|
||||
|
||||
# Local business type (optional)
|
||||
# If you entered "LocalBusiness" above, choose the type of business from https://schema.org/LocalBusiness#subtypes
|
||||
local_business_type = ""
|
||||
|
||||
# Organization name (optional)
|
||||
# Enter an organization or project name. Defaults to the site title from `config.toml`.
|
||||
org_name = ""
|
||||
|
||||
# Description for social sharing and search engines. If undefined, superuser role is used in place.
|
||||
description = ""
|
||||
|
||||
# Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
|
||||
sharing_image = ""
|
||||
|
||||
# Twitter username (without @). Used when a vistor shares your site on Twitter.
|
||||
twitter = ""
|
||||
|
||||
# Diplay a logo in navigation bar rather than title (optional).
|
||||
# Display a logo in navigation bar rather than title (optional).
|
||||
# To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
|
||||
logo = ""
|
||||
|
||||
# Enable global source code highlighting? true/false
|
||||
############################
|
||||
## Site Features
|
||||
############################
|
||||
|
||||
# Enable source code highlighting? true/false
|
||||
# Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
|
||||
highlight = true
|
||||
# highlight_languages = ["r"] # Add support for highlighting additional languages
|
||||
highlight_languages = ["r"] # Add support for highlighting additional languages
|
||||
# highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/
|
||||
|
||||
# Enable global LaTeX math rendering?
|
||||
# If false, you can enable it locally on a per page basis.
|
||||
# Enable LaTeX math rendering? true/false
|
||||
# If false, you can enable math on a per page basis as needed.
|
||||
math = false
|
||||
|
||||
# Enable diagram rendering? true/false
|
||||
# If false, you can enable diagrams on a per page basis as needed.
|
||||
diagram = false
|
||||
|
||||
# Privacy pack
|
||||
# Show a cookie consent message to visitors
|
||||
# Anonymize IP in Google Analytics (if enabled)
|
||||
privacy_pack = false
|
||||
|
||||
# Date and time format (refer to https://sourcethemes.com/academic/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"
|
||||
time_format = "3:04 PM"
|
||||
# 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/cwpearson/hugo-cwpearson", repo_branch = "master", editable = {docs = true, page = false, post = false}}
|
||||
|
||||
|
||||
############################
|
||||
## Contact Widget setup ##
|
||||
## Contact details
|
||||
##
|
||||
## These details power the Contact widget (if enabled).
|
||||
## Additionally, for organizations, these details may be used to enrich search engine results.
|
||||
############################
|
||||
|
||||
|
||||
# Enter contact details (optional). To hide a field, clear it to "".
|
||||
email = "pearson@illinois.edu"
|
||||
phone = ""
|
||||
address = "222 Coordinated Science Lab, 1308 W. Main St., Urbana, Illinois 61801"
|
||||
|
||||
# Address
|
||||
# For country_code, use the 2-letter ISO code (see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 )
|
||||
address = {street = "222 Coordinated Science Lab, 1308 W. Main St.", city = "Urbana", region = "IL", postcode = "61801", country = "United States", country_code = "US"}
|
||||
|
||||
coordinates = { latitude = "40.114879", longitude = "-88.226713"}
|
||||
|
||||
# Directions for visitors to locate you.
|
||||
directions = ""
|
||||
|
||||
# Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
|
||||
office_hours = "email to book an appointment"
|
||||
@@ -64,59 +109,55 @@ appointment_url = ""
|
||||
# Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
|
||||
contact_links = []
|
||||
|
||||
# Display a map.
|
||||
# To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
|
||||
# a map provider below.
|
||||
# To use Google Maps, set `map = 1` and enter your API key that can be obtained here:
|
||||
# https://developers.google.com/maps/documentation/javascript/get-api-key
|
||||
# To use OpenStreetMap tiles, set `map = 2`.
|
||||
# To use OpenStreetMap on a high traffic site, set `map = 3` and enter your API key that can be obtained here:
|
||||
# https://www.mapbox.com/studio/account/tokens
|
||||
# To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
|
||||
#
|
||||
# Map provider:
|
||||
# 0: No map
|
||||
# 1: Google Maps
|
||||
# 2: OpenStreetMap (Mapnik)
|
||||
# 3: OpenStreetMap (Mapbox)
|
||||
map = 0
|
||||
map_api_key = ""
|
||||
latitude = "40.114879"
|
||||
longitude = "-88.226713"
|
||||
zoom = 15
|
||||
|
||||
############################
|
||||
## Plugins ##
|
||||
## Social
|
||||
############################
|
||||
|
||||
# Load CSS and JS plugins
|
||||
# E.g. To load `/assets/css/custom.css`, set `plugins_css = ["custom"]`.
|
||||
# E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
|
||||
plugins_css = []
|
||||
plugins_js = []
|
||||
# Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
|
||||
sharing_image = ""
|
||||
|
||||
# Twitter username (without @). Used when a visitor shares your site on Twitter.
|
||||
twitter = ""
|
||||
|
||||
############################
|
||||
## Advanced options ##
|
||||
## Regional Settings
|
||||
############################
|
||||
|
||||
# Date and time format (refer to https://sourcethemes.com/academic/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"
|
||||
time_format = "3:04 PM"
|
||||
|
||||
# List delimiter (separates parts of an address)
|
||||
# Popular separators are ", " (comma), "<br>" (new line), " " (space)
|
||||
list_delimiter = ", "
|
||||
|
||||
############################
|
||||
## Advanced
|
||||
############################
|
||||
|
||||
# Get user avatars from Gravatar.com? (true/false)
|
||||
gravatar = false
|
||||
|
||||
# Align the main menu to the right of the page? (true/false)
|
||||
menu_align_right = true
|
||||
menu_align_right = false
|
||||
|
||||
# Show estimated reading time for posts? (true/false)
|
||||
reading_time = true
|
||||
|
||||
# Display comment count (if commenting enabled in config.toml)? (true/false)
|
||||
comment_count = true
|
||||
|
||||
# Display next/previous section pager? (true/false)
|
||||
section_pager = false
|
||||
docs_section_pager = true # Display pager in Docs layout (e.g. tutorials)?
|
||||
|
||||
# Enable in-built social sharing buttons? (true/false)
|
||||
sharing = false
|
||||
sharing = true
|
||||
|
||||
# Load CSS and JS plugins
|
||||
# E.g. To load `/assets/css/custom.css`, set `plugins_css = ["custom"]`.
|
||||
# E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
|
||||
plugins_css = []
|
||||
plugins_js = []
|
||||
|
||||
# Configuration of publication pages.
|
||||
[publications]
|
||||
@@ -138,7 +179,27 @@ sharing = false
|
||||
publication_view = 2
|
||||
talk_view = 2
|
||||
|
||||
# Search.
|
||||
############################
|
||||
## Comments
|
||||
############################
|
||||
[comments]
|
||||
# Comment provider:
|
||||
# 0: Disabled
|
||||
# 1: Disqus (https://disqus.com)
|
||||
# 2: Commento (https://commento.io)
|
||||
engine = 0
|
||||
|
||||
# Which page types are commentable?
|
||||
commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}
|
||||
|
||||
# Configuration of Disqus.
|
||||
[comments.disqus]
|
||||
shortname = "" # Paste the shortname from your Disqus dashboard.
|
||||
show_count = true # Show comment count in page header? (true/false)
|
||||
|
||||
############################
|
||||
## Search
|
||||
############################
|
||||
[search]
|
||||
# Search provider:
|
||||
# 0: No search engine
|
||||
@@ -153,3 +214,25 @@ sharing = false
|
||||
api_key = ""
|
||||
index_name = ""
|
||||
show_logo = false
|
||||
|
||||
############################
|
||||
## Maps
|
||||
############################
|
||||
[map]
|
||||
# To show your address on a map in the Contact widget, enter your latitude and longitude (above)
|
||||
# and choose a map provider below.
|
||||
#
|
||||
# To use Google Maps, set `engine` to 1 and enter your API key that can be obtained here:
|
||||
# https://developers.google.com/maps/documentation/javascript/get-api-key
|
||||
# To use OpenStreetMap tiles, set `engine` to 2.
|
||||
# To use OpenStreetMap on a high traffic site, set `engine` to 3 and enter your API key that can be obtained here:
|
||||
# https://www.mapbox.com/studio/account/tokens
|
||||
#
|
||||
# Map provider:
|
||||
# 0: No map
|
||||
# 1: Google Maps
|
||||
# 2: OpenStreetMap (Mapnik)
|
||||
# 3: OpenStreetMap (Mapbox)
|
||||
engine = 2
|
||||
api_key = ""
|
||||
zoom = 15
|
||||
|
Submodule themes/academic updated: 96d061bfff...7ebcc69d42
Reference in New Issue
Block a user