2019-01-20 14:08:23 +01:00
|
|
|
# SITE SETUP
|
|
|
|
# Documentation: https://sourcethemes.com/academic/
|
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
############################
|
|
|
|
## Theme
|
|
|
|
############################
|
|
|
|
|
2019-08-30 13:31:46 +02:00
|
|
|
# Choose a theme.
|
2019-09-09 22:18:39 +02:00
|
|
|
# Latest themes (may require updating): https://sourcethemes.com/academic/themes/
|
2019-08-30 13:31:46 +02:00
|
|
|
# Browse built-in themes in `themes/academic/data/themes/`
|
|
|
|
# Browse user installed themes in `data/themes/`
|
|
|
|
theme = "minimal"
|
|
|
|
|
2019-01-20 14:08:23 +01:00
|
|
|
# Enable users to switch between day and night mode?
|
|
|
|
day_night = true
|
|
|
|
|
2019-09-09 22:18:39 +02:00
|
|
|
# Override the theme's font set (optional).
|
|
|
|
# Latest font sets (may require updating): https://sourcethemes.com/academic/themes/
|
2019-08-30 13:31:46 +02:00
|
|
|
# Browse built-in font sets in `themes/academic/data/fonts/`
|
|
|
|
# Browse user installed font sets in `data/fonts/`
|
|
|
|
font = ""
|
|
|
|
|
|
|
|
# Choose a font size.
|
2019-09-09 22:18:39 +02:00
|
|
|
# Sizes: XS (extra small), S (small), M (medium), L (large - DEFAULT), XL (extra large)
|
|
|
|
font_size = "L"
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
############################
|
|
|
|
## Basic Info
|
|
|
|
############################
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
# 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"
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
# 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 = ""
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-08-30 13:31:46 +02:00
|
|
|
# Display a logo in navigation bar rather than title (optional).
|
2019-01-20 14:08:23 +01:00
|
|
|
# To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
|
|
|
|
logo = ""
|
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
############################
|
|
|
|
## Site Features
|
|
|
|
############################
|
|
|
|
|
2019-07-18 01:59:32 +02:00
|
|
|
# Enable source code highlighting? true/false
|
2019-01-20 14:08:23 +01:00
|
|
|
# Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
|
|
|
|
highlight = true
|
2019-07-18 01:59:32 +02:00
|
|
|
highlight_languages = ["r"] # Add support for highlighting additional languages
|
2019-01-20 14:08:23 +01:00
|
|
|
# highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/
|
|
|
|
|
2019-07-18 01:59:32 +02:00
|
|
|
# Enable LaTeX math rendering? true/false
|
|
|
|
# If false, you can enable math on a per page basis as needed.
|
2019-01-26 22:43:07 +01:00
|
|
|
math = false
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-07-18 01:59:32 +02:00
|
|
|
# Enable diagram rendering? true/false
|
|
|
|
# If false, you can enable diagrams on a per page basis as needed.
|
|
|
|
diagram = false
|
|
|
|
|
2019-01-20 14:08:23 +01:00
|
|
|
# Privacy pack
|
|
|
|
# Show a cookie consent message to visitors
|
|
|
|
# Anonymize IP in Google Analytics (if enabled)
|
|
|
|
privacy_pack = false
|
|
|
|
|
2019-07-11 21:59:15 +02:00
|
|
|
# Enable visitors to edit pages?
|
2019-09-11 14:28:36 +02:00
|
|
|
# `repo` defines the repository URL. `editable` defines which page types can be edited.
|
2019-11-24 15:42:22 +01:00
|
|
|
edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", content_dir = "", repo_branch = "master", editable = {docs = true, page = false, post = false}}
|
2019-01-26 22:43:07 +01:00
|
|
|
|
|
|
|
############################
|
2019-09-11 14:28:36 +02:00
|
|
|
## Contact details
|
|
|
|
##
|
|
|
|
## These details power the Contact widget (if enabled).
|
|
|
|
## Additionally, for organizations, these details may be used to enrich search engine results.
|
2019-01-26 22:43:07 +01:00
|
|
|
############################
|
|
|
|
|
|
|
|
# Enter contact details (optional). To hide a field, clear it to "".
|
|
|
|
email = "test@example.org"
|
|
|
|
phone = "888 888 88 88"
|
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
# Address
|
|
|
|
# For country_code, use the 2-letter ISO code (see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 )
|
|
|
|
address = {street = "450 Serra Mall", city = "Stanford", region = "CA", postcode = "94305", country = "United States", country_code = "US"}
|
|
|
|
|
|
|
|
# Geographic coordinates
|
|
|
|
# To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
|
|
|
|
coordinates = {latitude = "37.4275", longitude = "-122.1697"}
|
|
|
|
|
|
|
|
# Directions for visitors to locate you.
|
|
|
|
directions = "Enter Building 1 and take the stairs to Office 200 on Floor 2"
|
|
|
|
|
|
|
|
# Office hours
|
|
|
|
# A list of your office hours. To remove, set to an empty list `[]`.
|
|
|
|
office_hours = ["Monday 10:00 to 13:00", "Wednesday 09:00 to 10:00"]
|
2019-01-26 22:43:07 +01:00
|
|
|
|
|
|
|
# Enter an optional link for booking appointments (e.g. calendly.com).
|
2019-02-27 23:34:04 +01:00
|
|
|
appointment_url = "https://calendly.com"
|
2019-01-26 22:43:07 +01:00
|
|
|
|
|
|
|
# Contact links
|
|
|
|
# Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
|
|
|
|
contact_links = [
|
|
|
|
{icon = "twitter", icon_pack = "fab", name = "DM Me", link = "https://twitter.com/Twitter"},
|
|
|
|
{icon = "skype", icon_pack = "fab", name = "Skype Me", link = "skype:echo123?call"},
|
|
|
|
{icon = "keybase", icon_pack = "fab", name = "Chat on Keybase", link = "https://keybase.io/"},
|
|
|
|
{icon = "comments", icon_pack = "fas", name = "Discuss on Forum", link = "https://discourse.gohugo.io"},
|
|
|
|
# {icon = "telegram", icon_pack = "fab", name = "Telegram Me", link = "https://telegram.me/@Telegram"},
|
|
|
|
]
|
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
############################
|
|
|
|
## Social
|
|
|
|
############################
|
|
|
|
|
|
|
|
# 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 = ""
|
2019-09-09 22:18:39 +02:00
|
|
|
|
2019-01-26 22:43:07 +01:00
|
|
|
############################
|
2019-09-11 14:28:36 +02:00
|
|
|
## Regional Settings
|
2019-01-26 22:43:07 +01:00
|
|
|
############################
|
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
# 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"
|
|
|
|
|
2019-11-16 19:10:09 +01:00
|
|
|
# Address format (choose from the [address_formats] list below or add you own to the list).
|
|
|
|
address_format = "en-us"
|
2019-01-26 22:43:07 +01:00
|
|
|
|
|
|
|
############################
|
2019-09-11 14:28:36 +02:00
|
|
|
## Advanced
|
2019-01-26 22:43:07 +01:00
|
|
|
############################
|
|
|
|
|
2019-01-20 14:08:23 +01:00
|
|
|
# Get user avatars from Gravatar.com? (true/false)
|
|
|
|
gravatar = false
|
|
|
|
|
2019-11-16 19:10:09 +01:00
|
|
|
# Main menu alignment (l = left, c = center, r = right) and logo options.
|
|
|
|
main_menu = {align = "l", show_logo = true}
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-01-26 22:43:07 +01:00
|
|
|
# Show estimated reading time for posts? (true/false)
|
|
|
|
reading_time = true
|
|
|
|
|
|
|
|
# Display next/previous section pager? (true/false)
|
|
|
|
section_pager = false
|
2019-05-06 00:50:42 +02:00
|
|
|
docs_section_pager = true # Display pager in Docs layout (e.g. tutorials)?
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-01-26 22:43:07 +01:00
|
|
|
# Enable in-built social sharing buttons? (true/false)
|
|
|
|
sharing = true
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-09-24 23:28:41 +02:00
|
|
|
# Link authors to their profile page? (true/false)
|
|
|
|
link_authors = true
|
|
|
|
|
2019-10-20 20:23:48 +02:00
|
|
|
# Load JS plugins
|
2019-09-11 14:28:36 +02:00
|
|
|
# E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
|
|
|
|
plugins_js = []
|
|
|
|
|
2019-11-16 19:10:09 +01:00
|
|
|
# Available address formats.
|
|
|
|
[address_formats]
|
|
|
|
en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
|
|
|
|
en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
|
2019-11-18 01:57:14 +01:00
|
|
|
de = {order = ['street', 'postcode', 'city'], delimiters = [', ', ' ', '']}
|
2019-11-19 01:24:14 +01:00
|
|
|
fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
|
2019-11-16 19:10:09 +01:00
|
|
|
zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
|
|
|
|
|
2019-01-20 14:08:23 +01:00
|
|
|
# Configuration of publication pages.
|
|
|
|
[publications]
|
|
|
|
# Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
|
|
|
|
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
|
2019-01-26 22:43:07 +01:00
|
|
|
date_format = "January 2006"
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-02-04 23:42:51 +01:00
|
|
|
# Citation style ("apa" or "mla")
|
|
|
|
citation_style = "apa"
|
|
|
|
|
2019-01-20 14:08:23 +01:00
|
|
|
# Configuration of project pages.
|
|
|
|
[projects]
|
2019-02-04 23:42:51 +01:00
|
|
|
# Views for associated content.
|
|
|
|
# 1: List
|
|
|
|
# 2: Compact
|
|
|
|
# 3: Card
|
|
|
|
# 4: Citation (publications only)
|
|
|
|
post_view = 2
|
|
|
|
publication_view = 2
|
|
|
|
talk_view = 2
|
2019-01-20 14:08:23 +01:00
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
############################
|
|
|
|
## Comments
|
|
|
|
############################
|
2019-07-22 22:33:38 +02:00
|
|
|
[comments]
|
|
|
|
# Comment provider:
|
|
|
|
# 0: Disabled
|
|
|
|
# 1: Disqus (https://disqus.com)
|
|
|
|
# 2: Commento (https://commento.io)
|
|
|
|
engine = 0
|
|
|
|
|
|
|
|
# Which page types are commentable?
|
2019-07-28 00:07:08 +02:00
|
|
|
commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}
|
2019-07-22 22:33:38 +02:00
|
|
|
|
|
|
|
# Configuration of Disqus.
|
|
|
|
[comments.disqus]
|
|
|
|
shortname = "" # Paste the shortname from your Disqus dashboard.
|
|
|
|
show_count = true # Show comment count in page header? (true/false)
|
|
|
|
|
2019-09-11 14:28:36 +02:00
|
|
|
############################
|
|
|
|
## Search
|
|
|
|
############################
|
2019-01-20 14:08:23 +01:00
|
|
|
[search]
|
|
|
|
# Search provider:
|
|
|
|
# 0: No search engine
|
2019-01-26 22:43:07 +01:00
|
|
|
# 1: Academic (built-in)
|
2019-01-20 14:08:23 +01:00
|
|
|
# 2: Algolia (https://www.algolia.com)
|
|
|
|
engine = 1
|
|
|
|
|
|
|
|
# Configuration of Algolia search engine.
|
|
|
|
# Paste the values from your Algolia dashboard.
|
|
|
|
[search.algolia]
|
|
|
|
app_id = ""
|
|
|
|
api_key = ""
|
|
|
|
index_name = ""
|
|
|
|
show_logo = false
|
2019-09-11 14:28:36 +02:00
|
|
|
|
|
|
|
############################
|
|
|
|
## 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
|
2019-09-24 23:28:41 +02:00
|
|
|
|
|
|
|
############################
|
|
|
|
## Marketing
|
|
|
|
############################
|
|
|
|
[marketing]
|
|
|
|
google_analytics = ""
|
|
|
|
google_tag_manager = ""
|