start conversion to hugo-academic 4.3.1
This commit is contained in:
272
config/_default/config.toml
Normal file
272
config/_default/config.toml
Normal file
@@ -0,0 +1,272 @@
|
||||
# Configuration of Academic
|
||||
# Documentation: https://sourcethemes.com/academic/
|
||||
#
|
||||
# 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]`).
|
||||
|
||||
# Title of your site
|
||||
title = "Carl Pearson"
|
||||
|
||||
# The URL of your website.
|
||||
# End your URL with a `/` trailing slash, e.g. `https://example.com/`.
|
||||
baseurl = "https://cwpearson.github.io/"
|
||||
|
||||
# Your copyright notice - appears in site footer.
|
||||
# To display a copyright symbol, type `©`.
|
||||
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"
|
||||
|
||||
# Get last modified date for content from Git?
|
||||
enableGitInfo = false
|
||||
|
||||
# Default language to use (if you setup multilingual support)
|
||||
defaultContentLanguage = "en"
|
||||
hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
|
||||
defaultContentLanguageInSubdir = false
|
||||
|
||||
paginate = 10 # Number of items per page in paginated lists.
|
||||
enableEmoji = true
|
||||
footnotereturnlinkcontents = "<sup>^</sup>"
|
||||
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
|
||||
|
||||
|
||||
|
||||
|
||||
# Default language to use (if you setup multilingual support)
|
||||
defaultContentLanguage = "en"
|
||||
hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
|
||||
defaultContentLanguageInSubdir = false
|
||||
|
||||
# Get last modified date for content from Git?
|
||||
enableGitInfo = false
|
||||
|
||||
[outputs]
|
||||
home = [ "HTML", "RSS", "JSON" ]
|
||||
section = [ "HTML", "RSS" ]
|
||||
|
||||
# Configure BlackFriday Markdown rendering.
|
||||
# See: https://gohugo.io/getting-started/configuration/#configure-blackfriday
|
||||
[blackfriday]
|
||||
hrefTargetBlank = true # `true` opens external links in a new tab. See https://github.com/gohugoio/hugo/issues/2424
|
||||
angledQuotes = false
|
||||
latexDashes = true
|
||||
extensions = ["backslashLineBreak"]
|
||||
|
||||
[imaging]
|
||||
resampleFilter = "lanczos"
|
||||
quality = 90
|
||||
anchor = "smart" # Anchor for cropping. Options include Smart and Center.
|
||||
|
||||
# Taxonomies.
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
publication_type = "publication_types"
|
||||
author = "authors"
|
||||
|
||||
|
||||
[params]
|
||||
# AUTHOR SETUP
|
||||
|
||||
# Your details.
|
||||
name = "Carl Pearson"
|
||||
role = "PhD Candidate"
|
||||
|
||||
# Organizations/Affiliations.
|
||||
# Separate multiple entries with a comma, using the form: `[ {name="Org1", url=""}, {name="Org2", url=""} ]`.
|
||||
organizations = [ { name = "University of Illinois Urbana-Champaign", url = "http://www.ece.illinois.edu/" } ]
|
||||
|
||||
|
||||
avatar = "headshot.jpg" # Specify an avatar image (in `static/img/` folder) or delete value to disable avatar.
|
||||
|
||||
|
||||
|
||||
|
||||
# SITE SETUP
|
||||
|
||||
|
||||
# Show estimated reading time for posts?
|
||||
reading_time = false
|
||||
|
||||
# Display comment count? Requires commenting to be enabled.
|
||||
comment_count = true
|
||||
|
||||
# Display next/previous section pager?
|
||||
section_pager = false
|
||||
|
||||
|
||||
|
||||
highlight_languages = []
|
||||
# highlight_style = "github"
|
||||
|
||||
|
||||
|
||||
|
||||
# Publication types.
|
||||
# Used to categorize publications.
|
||||
# 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.
|
||||
# For multilingual sites, `publication_types` can be copied to each language section at the end of this file and
|
||||
# translated.
|
||||
publication_types = [
|
||||
'Uncategorized', # 0
|
||||
'Conference paper', # 1
|
||||
'Journal article', # 2
|
||||
'Manuscript', # 3
|
||||
'Report', # 4
|
||||
'Book', # 5
|
||||
'Book section' # 6
|
||||
]
|
||||
|
||||
# Configuration of talk pages.
|
||||
[params.talks]
|
||||
# Show talk time?
|
||||
time = true
|
||||
|
||||
# Configuration of publication pages.
|
||||
[params.publications]
|
||||
# Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )
|
||||
# Examples: "Mon, Jan 2, 2006" or "2006-01-02"
|
||||
date_format = "January, 2006"
|
||||
|
||||
# Configuration of project pages.
|
||||
[params.projects]
|
||||
# List publications and talks related to the project?
|
||||
list_children = true
|
||||
|
||||
# Post list format.
|
||||
# 0 = Simple
|
||||
# 1 = Detailed
|
||||
# 2 = Stream
|
||||
post_format = 2
|
||||
|
||||
# Publication list format.
|
||||
# 0 = Simple
|
||||
# 1 = Detailed
|
||||
# 2 = APA
|
||||
# 3 = MLA
|
||||
# 4 = Stream
|
||||
publication_format = 4
|
||||
|
||||
# Talk list format.
|
||||
# 0 = Simple
|
||||
# 1 = Detailed
|
||||
# 2 = Stream
|
||||
talk_format = 2
|
||||
|
||||
# Social/Academic Networking
|
||||
#
|
||||
# Icon pack "fab" includes the following social network icons:
|
||||
#
|
||||
# twitter, weibo, linkedin, github, facebook, pinterest, google-plus,
|
||||
# youtube, instagram, soundcloud
|
||||
#
|
||||
# For email icon, use "fas" icon pack, "envelope" icon, and
|
||||
# "mailto:your@email.com" as the link.
|
||||
#
|
||||
# Full list: https://fontawesome.com/icons
|
||||
#
|
||||
# Icon pack "ai" includes the following academic icons:
|
||||
#
|
||||
# cv, google-scholar, arxiv, orcid, researchgate, mendeley
|
||||
#
|
||||
# Full list: https://jpswalsh.github.io/academicons/
|
||||
|
||||
[[params.social]]
|
||||
icon = "envelope"
|
||||
icon_pack = "fas"
|
||||
link = "mailto:pearson@illinois.edu" # For a direct email link, use "mailto:test@example.org".
|
||||
|
||||
# [[params.social]]
|
||||
# icon = "twitter"
|
||||
# icon_pack = "fab"
|
||||
# link = "https://twitter.com/GeorgeCushen"
|
||||
|
||||
[[params.social]]
|
||||
icon = "google-scholar"
|
||||
icon_pack = "ai"
|
||||
link = "https://scholar.google.com/citations?user=K2nzqpYAAAAJ"
|
||||
|
||||
[[params.social]]
|
||||
icon = "github"
|
||||
icon_pack = "fab"
|
||||
link = "https://github.com/cwpearson"
|
||||
|
||||
# Link to a PDF of your resume/CV from the About widget.
|
||||
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
|
||||
# [[params.social]]
|
||||
# icon = "cv"
|
||||
# icon_pack = "ai"
|
||||
# link = "files/cv.pdf"
|
||||
|
||||
# Navigation Links
|
||||
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
|
||||
# desired widget in your `content/home/` folder.
|
||||
# The weight parameter defines the order that the links will appear in.
|
||||
[params.menus]
|
||||
# Align the main menu to the right of the page? (true/false)
|
||||
align_right = true
|
||||
|
||||
|
||||
|
||||
|
||||
# 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.
|
||||
# [[menu.main]]
|
||||
# name = "CV"
|
||||
# url = "files/cv.pdf"
|
||||
# weight = 7
|
||||
|
||||
# Search.
|
||||
[params.search]
|
||||
# Search provider:
|
||||
# 0: No search engine
|
||||
# 1: Built-in (Fuse)
|
||||
# 2: Algolia (https://www.algolia.com)
|
||||
engine = 1
|
||||
|
||||
# Configuration of Algolia search engine.
|
||||
# Paste the values from your Algolia dashboard.
|
||||
[params.search.algolia]
|
||||
app_id = ""
|
||||
api_key = ""
|
||||
index_name = ""
|
||||
show_logo = false
|
||||
|
||||
# Taxonomies.
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
publication_type = "publication_types"
|
||||
|
||||
# Languages
|
||||
# Create a [languages.X] block for each language you want, where X is the language ID.
|
||||
# Refer to https://sourcethemes.com/academic/docs/language/
|
||||
|
||||
# Configure the English version of the website.
|
||||
[languages.en]
|
||||
languageCode = "en-us"
|
||||
|
||||
# Uncomment the lines below to configure your website in a second language.
|
||||
#[languages.zh]
|
||||
# languageCode = "zh-Hans"
|
||||
# title = "Chinese website title..."
|
||||
# [languages.zh.params]
|
||||
# name = "Your name in Chinese..."
|
||||
# role = "Your role in Chinese..."
|
||||
# [[languages.zh.menu.main]]
|
||||
# name = "Wo"
|
||||
# url = "#about"
|
||||
# weight = 1
|
||||
|
||||
|
||||
|
20
config/_default/languages.toml
Normal file
20
config/_default/languages.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
# Languages
|
||||
# Create a `[X]` block for each language you want, where X is the language ID.
|
||||
# Refer to https://sourcethemes.com/academic/docs/language/
|
||||
|
||||
# Configure the English version of the site.
|
||||
[en]
|
||||
languageCode = "en-us"
|
||||
# contentDir = "content/en" # Uncomment for multi-lingual sites, and move English content into `en` sub-folder.
|
||||
|
||||
# Uncomment the lines below to configure your website in a second language.
|
||||
#[zh]
|
||||
# languageCode = "zh-Hans"
|
||||
# contentDir = "content/zh"
|
||||
# title = "Chinese website title..."
|
||||
# [zh.params]
|
||||
# description = "Site description in Chinese..."
|
||||
# [[zh.menu.main]]
|
||||
# name = "Wo"
|
||||
# url = "#about"
|
||||
# weight = 1
|
56
config/_default/menus.toml
Normal file
56
config/_default/menus.toml
Normal file
@@ -0,0 +1,56 @@
|
||||
# Navigation Links
|
||||
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
|
||||
# desired widget in your `content/home/` folder.
|
||||
# The weight parameter defines the order that the links will appear in.
|
||||
|
||||
[[main]]
|
||||
name = "Home"
|
||||
url = "#about"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "Publications"
|
||||
url = "#publications_selected"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "Projects"
|
||||
url = "#projects"
|
||||
weight = 30
|
||||
|
||||
[[main]]
|
||||
name = "Positions"
|
||||
url = "#positions"
|
||||
weight = 40
|
||||
|
||||
[[main]]
|
||||
name = "Talks"
|
||||
url = "#talks"
|
||||
weight = 50
|
||||
|
||||
[[main]]
|
||||
name = "Recognition"
|
||||
url = "#awards"
|
||||
weight = 60
|
||||
|
||||
[[main]]
|
||||
name = "Patents"
|
||||
url = "#patents"
|
||||
weight = 70
|
||||
|
||||
[[main]]
|
||||
name = "Posts"
|
||||
url = "#posts"
|
||||
weight = 80
|
||||
|
||||
[[main]]
|
||||
name = "Contact"
|
||||
url = "#contact"
|
||||
weight = 90
|
||||
|
||||
# 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.
|
||||
# [[main]]
|
||||
# name = "CV"
|
||||
# url = "files/cv.pdf"
|
||||
# weight = 70
|
155
config/_default/params.toml
Normal file
155
config/_default/params.toml
Normal file
@@ -0,0 +1,155 @@
|
||||
# SITE SETUP
|
||||
# Documentation: https://sourcethemes.com/academic/
|
||||
|
||||
# Color theme.
|
||||
# Choose from `default`, `ocean`, `forest`, `dark`, `apogee`, `1950s`, `coffee`, `cupcake`, `strawberry`.
|
||||
color_theme = "default"
|
||||
# Enable users to switch between day and night mode?
|
||||
day_night = true
|
||||
|
||||
# Font style.
|
||||
# Choose from `default`, `classic`, or `playfair`.
|
||||
font = "default"
|
||||
|
||||
# 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).
|
||||
# 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
|
||||
# Documentation: https://sourcethemes.com/academic/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/
|
||||
|
||||
# Enable global LaTeX math rendering?
|
||||
# If false, you can enable it locally on a per page basis.
|
||||
math = 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"
|
||||
|
||||
############################
|
||||
## Contact Widget setup ##
|
||||
############################
|
||||
|
||||
# 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"
|
||||
|
||||
# Office hours: use `<br>` to insert a line break, or set to "" to remove office hours
|
||||
office_hours = "email to book an appointment"
|
||||
|
||||
# Enter an optional link for booking appointments (e.g. calendly.com).
|
||||
appointment_url = ""
|
||||
|
||||
# Contact links
|
||||
# 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 ##
|
||||
############################
|
||||
|
||||
# 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 = []
|
||||
|
||||
############################
|
||||
## Advanced options ##
|
||||
############################
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# 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"
|
||||
date_format = "January 2006"
|
||||
|
||||
# Citation style ("apa" or "mla")
|
||||
citation_style = "apa"
|
||||
|
||||
# Configuration of project pages.
|
||||
[projects]
|
||||
# Views for associated content.
|
||||
# 1: List
|
||||
# 2: Compact
|
||||
# 3: Card
|
||||
# 4: Citation (publications only)
|
||||
post_view = 2
|
||||
publication_view = 2
|
||||
talk_view = 2
|
||||
|
||||
# Search.
|
||||
[search]
|
||||
# Search provider:
|
||||
# 0: No search engine
|
||||
# 1: Academic (built-in)
|
||||
# 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
|
Reference in New Issue
Block a user