theme: sync Academic v4 dev

This commit is contained in:
George Cushen 2019-01-26 21:43:07 +00:00
parent b34f33fc7b
commit e7cdff66ed
2 changed files with 84 additions and 92 deletions

View file

@ -24,123 +24,115 @@ twitter = ""
# To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "". # To enable, place an image in `static/img/` and reference its filename below. To disable, set the value to "".
logo = "" logo = ""
# 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"
# Show estimated reading time for posts?
reading_time = true
# Display comment count? Requires commenting to be enabled.
comment_count = true
# Display next/previous section pager?
section_pager = false
# Enable global LaTeX math rendering?
# If false, you can enable it locally on a per page basis.
math = false
# Enable global source code highlighting? true/false # Enable global source code highlighting? true/false
# Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options # Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
highlight = true 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/ # highlight_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/
# Enable in-built social sharing buttons? # Enable global LaTeX math rendering?
sharing = true # If false, you can enable it locally on a per page basis.
math = false
# Privacy pack # Privacy pack
# Show a cookie consent message to visitors # Show a cookie consent message to visitors
# Anonymize IP in Google Analytics (if enabled) # Anonymize IP in Google Analytics (if enabled)
privacy_pack = false privacy_pack = false
# Get user avatars from Gravatar.com? (true/false) # Date and time format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
gravatar = false # 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"
# Contact Widget setup ############################
email = "test@example.org" ## Contact Widget setup ##
address = "Building 1 Room 1, Stanford University, California, 90210, USA" ############################
# Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
office_hours = """Monday 10:00 to 13:00<br> # Enter contact details (optional). To hide a field, clear it to "".
email = "test@example.org"
phone = "888 888 88 88"
address = "Building 1 Room 1, Stanford University, California, 90210, USA"
# Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
office_hours = """Monday 10:00 to 13:00<br>
Wednesday 09:00 to 10:00<br> Wednesday 09:00 to 10:00<br>
Otherwise email to book an appointment""" Otherwise email to book an appointment"""
phone = "888 888 88 88"
skype = "echo123"
telegram = ""
keybase = "" # Your keybase.io username.
# Enter an optional link for booking appointments (e.g. calendly.com). # Enter an optional link for booking appointments (e.g. calendly.com).
appointment_url = "" appointment_url = ""
# Discussion link (e.g. link to a forum, mailing list, or chat). # Contact links
# Uncomment line below to use. # Set to `[]` to disable, or comment out unwanted lines with a hash `#`.
# discussion = { name = "Discuss", url = "https://discourse.gohugo.io" } 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"},
]
# Enable/disable map in Contact widget. # Display a map.
# To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose # To show your address on a map in the contact widget, you need to enter your latitude, longitude and choose
# a map provider below. # a map provider below.
# To use Google Maps, set `map = 1` and enter your API key that can be obtained here: # 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 # https://developers.google.com/maps/documentation/javascript/get-api-key
# To use OpenStreetMap tiles, set `map = 2`. # 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: # 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 # 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. # To get your coordinates, right-click on Google Maps and choose "What's here?". The coords will show up at the bottom.
# #
# Map provider: # Map provider:
# 0: No map # 0: No map
# 1: Google Maps # 1: Google Maps
# 2: OpenStreetMap (Mapnik) # 2: OpenStreetMap (Mapnik)
# 3: OpenStreetMap (Mapbox) # 3: OpenStreetMap (Mapbox)
map = 0 map = 0
map_api_key = "" map_api_key = ""
latitude = "37.4275" latitude = "37.4275"
longitude = "-122.1697" longitude = "-122.1697"
zoom = 15 zoom = 15
# Publication types. ############################
# Used to categorize publications. ## Plugins ##
# The index of the publication type in the list is used as its unique numerical identifier. ############################
# The numeric ID is used in a publication's frontmatter to categorize it.
# The language can be edited below. # Load CSS and JS plugins
# For multilingual sites, `publication_types` can be copied to each language section at the end of this file and # E.g. To load `/assets/css/custom.css`, set `plugins_css = ["custom"]`.
# translated. # E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
publication_types = [ plugins_css = []
'Uncategorized', # 0 plugins_js = []
'Conference paper', # 1
'Journal article', # 2 ############################
'Manuscript', # 3 ## Advanced options ##
'Report', # 4 ############################
'Book', # 5
'Book section' # 6 # Get user avatars from Gravatar.com? (true/false)
] gravatar = false
# Align the main menu to the right of the page? (true/false) # Align the main menu to the right of the page? (true/false)
menu_align_right = false menu_align_right = false
# Link custom CSS and JS assets # Show estimated reading time for posts? (true/false)
# (relative to /static/css and /static/js respectively) reading_time = true
custom_css = []
custom_js = []
# Configuration of talk pages. # Display comment count (if commenting enabled in config.toml)? (true/false)
[talks] comment_count = true
# Show talk time?
time = true # Display next/previous section pager? (true/false)
section_pager = false
# Enable in-built social sharing buttons? (true/false)
sharing = true
# Configuration of publication pages. # Configuration of publication pages.
[publications] [publications]
# Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format ) # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
# Examples: "Mon, Jan 2, 2006" or "2006-01-02" # Examples: "Mon, Jan 2, 2006" or "2006-01-02"
date_format = "January, 2006" date_format = "January 2006"
# Configuration of project pages. # Configuration of project pages.
[projects] [projects]
# List publications and talks related to the project?
list_children = true
# Post list format. # Post list format.
# 0 = Simple # 0 = Simple
# 1 = Detailed # 1 = Detailed
@ -165,7 +157,7 @@ custom_js = []
[search] [search]
# Search provider: # Search provider:
# 0: No search engine # 0: No search engine
# 1: Built-in (Fuse) # 1: Academic (built-in)
# 2: Algolia (https://www.algolia.com) # 2: Algolia (https://www.algolia.com)
engine = 1 engine = 1

@ -1 +1 @@
Subproject commit 8a7c4eb2aade681b51499d5e8dd6d82cf05095c8 Subproject commit e913aacb340d161c20f2e3e50e113e5d0e3df833