start move to anatole theme

This commit is contained in:
Carl Pearson
2021-01-25 17:06:36 -07:00
parent 3abe3901ea
commit e724973a30
28 changed files with 203 additions and 1045 deletions

View File

@@ -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/"