start move to anatole theme
This commit is contained in:
@@ -1,73 +1,120 @@
|
||||
# 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/"
|
||||
|
||||
# Enter a copyright notice to display in the site footer.
|
||||
# To display a copyright symbol, type `©`. For current year, type `{year}`.
|
||||
copyright = "© {year} Carl Pearson"
|
||||
|
||||
|
||||
############################
|
||||
## Advanced options below ##
|
||||
############################
|
||||
|
||||
# Name of Academic theme folder in `themes/`.
|
||||
theme = "academic"
|
||||
|
||||
# Get last modified date for content from Git?
|
||||
enableGitInfo = true
|
||||
|
||||
# Default language to use (if you setup multilingual support)
|
||||
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.
|
||||
baseURL = "https://carlpearson.net"
|
||||
languageCode = "en"
|
||||
DefaultContentLanguage = "en"
|
||||
title = "Website of Carl Pearson"
|
||||
theme = "anatole"
|
||||
summarylength = 10
|
||||
enableEmoji = true
|
||||
footnotereturnlinkcontents = "<sup>^</sup>"
|
||||
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
|
||||
enableRobotsTXT = true
|
||||
|
||||
# Enable Disqus
|
||||
#disqusShortname = ""
|
||||
|
||||
# Google Analytics
|
||||
googleAnalytics = "UA-54975774-2"
|
||||
|
||||
# Syntax highlighting
|
||||
pygmentsUseClasses = true
|
||||
pygmentsCodeFences = true
|
||||
pygmentsCodefencesGuessSyntax = true
|
||||
|
||||
[params]
|
||||
title = "Carl Pearson"
|
||||
author = "Carl Pearson"
|
||||
# copyright = "2020-2021"
|
||||
description = "University of Illinois ECE PhD Student"
|
||||
profilePicture = "img/avatar.jpg"
|
||||
keywords = ""
|
||||
favicon = "favicons/"
|
||||
# example ["css/custom.css"]
|
||||
customCss = []
|
||||
# example ["js/custom.js"]
|
||||
customJs = []
|
||||
mainSections = ["publication"]
|
||||
images = ["img/bubbles.jpg"]
|
||||
doNotLoadAnimations = false
|
||||
# Form Spree Contact Form
|
||||
#contactFormAction = "https://formspree.io/f/your-form-hash-here"
|
||||
# Google Site Verify
|
||||
#googleSiteVerify = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
|
||||
# indexDateFormat = "Mon, Jan 2, 2006"
|
||||
# listDateFormat = "Jan 2"
|
||||
# singleDateFormat = "Mon, Jan 2, 2006"
|
||||
|
||||
[params.simpleAnalytics]
|
||||
# enable = true
|
||||
# customurl = "https://analytics.example.com"
|
||||
|
||||
## Math settings
|
||||
[params.math]
|
||||
enable = false # options: true, false. Enable math support globally, default: false. You can always enable math on per page.
|
||||
use = "mathjax" # options: "katex", "mathjax". default is "katex".
|
||||
|
||||
## Social links
|
||||
# use 'fab' when brand icons, use 'fas' when standard solid icons.
|
||||
[[params.socialIcons]]
|
||||
icon = "fab fa-linkedin"
|
||||
title = "Linkedin"
|
||||
url = ""
|
||||
|
||||
[[params.socialIcons]]
|
||||
icon = "fab fa-github"
|
||||
title = "GitHub"
|
||||
url = "https://github.com/cwpearson"
|
||||
|
||||
[[params.socialIcons]]
|
||||
icon = "fas fa-envelope"
|
||||
title = "e-mail"
|
||||
url = "mailto:pearson@illinois.edu"
|
||||
|
||||
[[params.socialIcons]]
|
||||
icon = "fas fa-university"
|
||||
title = "Google Scholar"
|
||||
url = "https://scholar.google.com/citations?user=K2nzqpYAAAAJ&hl=en"
|
||||
|
||||
|
||||
[outputs]
|
||||
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
|
||||
section = [ "HTML", "RSS" ]
|
||||
## Menu items
|
||||
|
||||
[mediaTypes."application/manifest+json"]
|
||||
suffixes = ["webmanifest"]
|
||||
[menu]
|
||||
|
||||
[outputFormats.WebAppManifest]
|
||||
mediaType = "application/manifest+json"
|
||||
rel = "manifest"
|
||||
[[menu.main]]
|
||||
name = "Home"
|
||||
identifier = "home"
|
||||
weight = 100
|
||||
url = "/"
|
||||
|
||||
[markup]
|
||||
defaultMarkdownHandler = "goldmark"
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true # Enable user to embed HTML snippets in Markdown content.
|
||||
[markup.highlight]
|
||||
codeFences = false # Disable Hugo's code highlighter as it conflicts with Academic's highligher.
|
||||
[markup.tableOfContents]
|
||||
startLevel = 2
|
||||
endLevel = 3
|
||||
[[menu.main]]
|
||||
name = "About"
|
||||
weight = 200
|
||||
identifier = "about"
|
||||
url = "/about/"
|
||||
|
||||
[imaging]
|
||||
resampleFilter = "lanczos"
|
||||
quality = 90
|
||||
anchor = "smart" # Anchor for cropping. Options include Smart and Center.
|
||||
[[menu.main]]
|
||||
name = "Recognition"
|
||||
weight = 200
|
||||
identifier = "awards"
|
||||
url = "/awards/"
|
||||
|
||||
# Taxonomies.
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
publication_type = "publication_types"
|
||||
author = "authors"
|
||||
[[menu.main]]
|
||||
name = "Experience"
|
||||
weight = 200
|
||||
identifier = "experience"
|
||||
url = "/experience/"
|
||||
|
||||
[[menu.main]]
|
||||
name = "Publications"
|
||||
weight = 300
|
||||
identifier = "publications"
|
||||
url = "/publication/"
|
||||
|
||||
[[menu.main]]
|
||||
name = "Posts"
|
||||
weight = 400
|
||||
identifier = "posts"
|
||||
url = "/post/"
|
||||
|
||||
[[menu.main]]
|
||||
name = "Projects"
|
||||
weight = 500
|
||||
identifier = "projects"
|
||||
url = "/project/"
|
||||
|
@@ -1,20 +0,0 @@
|
||||
# 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
|
@@ -1,61 +0,0 @@
|
||||
# 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 = "Recognition"
|
||||
url = "#awards"
|
||||
weight = 30
|
||||
|
||||
[[main]]
|
||||
name = "Talks"
|
||||
url = "#talks"
|
||||
weight = 40
|
||||
|
||||
[[main]]
|
||||
name = "Industry"
|
||||
url = "#industry"
|
||||
weight = 50
|
||||
|
||||
[[main]]
|
||||
name = "Projects"
|
||||
url = "#projects"
|
||||
weight = 60
|
||||
|
||||
[[main]]
|
||||
name = "Academic"
|
||||
url = "#academic"
|
||||
weight = 70
|
||||
|
||||
[[main]]
|
||||
name = "Patents"
|
||||
url = "#patents"
|
||||
weight = 80
|
||||
|
||||
[[main]]
|
||||
name = "Posts"
|
||||
url = "#posts"
|
||||
weight = 90
|
||||
|
||||
[[main]]
|
||||
name = "Contact"
|
||||
url = "#contact"
|
||||
weight = 100
|
||||
|
||||
# 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
|
@@ -1,251 +0,0 @@
|
||||
# SITE SETUP
|
||||
# Documentation: https://sourcethemes.com/academic/
|
||||
|
||||
############################
|
||||
## 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
|
||||
|
||||
# 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 = ""
|
||||
|
||||
############################
|
||||
## 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_style = "github" # For supported styles, see https://cdnjs.com/libraries/highlight.js/
|
||||
|
||||
# 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
|
||||
|
||||
# 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 = true, post = true}}
|
||||
|
||||
|
||||
############################
|
||||
## 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
|
||||
# For country_code, use the 2-letter ISO code (see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 )
|
||||
address = {street = "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"
|
||||
|
||||
# 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 = []
|
||||
|
||||
############################
|
||||
## 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 = ""
|
||||
|
||||
############################
|
||||
## 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"
|
||||
|
||||
# Address format (choose from the [address_formats] list below or add you own to the list).
|
||||
address_format = "en-us"
|
||||
|
||||
############################
|
||||
## Advanced
|
||||
############################
|
||||
|
||||
# Get user avatars from Gravatar.com? (true/false)
|
||||
gravatar = false
|
||||
|
||||
# Main menu alignment (l = left, c = center, r = right) and logo options.
|
||||
main_menu = {align = "l", show_logo = true}
|
||||
|
||||
# Show estimated reading time for posts? (true/false)
|
||||
reading_time = false
|
||||
|
||||
# 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 = true
|
||||
|
||||
# Load JS plugins
|
||||
# E.g. To load `/assets/js/custom.js`, set `plugins_js = ["custom"]`.
|
||||
plugins_js = []
|
||||
|
||||
# Available address formats.
|
||||
[address_formats]
|
||||
en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
|
||||
en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
|
||||
de = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
|
||||
fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
|
||||
zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
|
||||
|
||||
# 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
|
||||
|
||||
############################
|
||||
## 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)
|
||||
|
||||
# Configuration of Commento.
|
||||
[comments.commento]
|
||||
# If self-hosting Commento, enter its URL here (e.g. "https://commento.?.com"), otherwise leave empty.
|
||||
url = ""
|
||||
|
||||
############################
|
||||
## 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
|
||||
|
||||
############################
|
||||
## 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
|
||||
|
||||
############################
|
||||
## Marketing
|
||||
############################
|
||||
[marketing]
|
||||
google_analytics = "UA-54975774-2"
|
||||
google_tag_manager = ""
|
Reference in New Issue
Block a user