-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
84 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,13 @@ | ||
# 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]`). | ||
# -- Site Configuration -- | ||
# Refer to the theme docs for more details about each of these parameters. | ||
# https://jpanther.github.io/congo/docs/getting-started/ | ||
|
||
# Title of your site | ||
title = "Victor Yuan" | ||
|
||
# The URL of your site. | ||
# End your URL with a `/` trailing slash, e.g. `https://example.com/`. | ||
baseurl = "https://victor.rbind.io/" | ||
|
||
# Enter a copyright notice to display in the site footer. | ||
# To display a copyright symbol, type `©`. For current year, type `{year}`. | ||
copyright = "" | ||
|
||
googleAnalytics = "UA-151759619-2" | ||
|
||
############################ | ||
## Advanced options below ## | ||
############################ | ||
|
||
# Name of Academic theme folder in `themes/`. | ||
theme = "hugo-academic" | ||
|
||
# Get last modified date for content from Git? | ||
enableGitInfo = false | ||
|
||
# Default language to use (if you setup multilingual support) | ||
theme = "congo" | ||
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. | ||
enableEmoji = true | ||
footnotereturnlinkcontents = "<sup>^</sup>" | ||
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_cache$"] | ||
enableRobotsTXT = true | ||
paginate = 15 | ||
summaryLength = 0 | ||
|
||
[outputs] | ||
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ] | ||
section = [ "HTML", "RSS" ] | ||
|
||
[mediaTypes."application/manifest+json"] | ||
suffixes = ["webmanifest"] | ||
|
||
# allow images to render on deploy previews | ||
# https://stackoverflow.com/questions/67977033/blogdown-site-not-showing-my-images-after-deploying-on-netlify | ||
[outputFormats.WebAppManifest] | ||
mediaType = "application/manifest+json" | ||
rel = "manifest" | ||
|
||
|
||
[context.deploy-preview.environment] | ||
HUGO_BLOGDOWN_POST_RELREF = "true" | ||
|
||
# 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" | ||
home = ["HTML", "RSS", "JSON"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# 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 = "Victor Yuan" | ||
|
||
# The URL of your site. | ||
# End your URL with a `/` trailing slash, e.g. `https://example.com/`. | ||
baseurl = "https://victor.rbind.io/" | ||
|
||
# Enter a copyright notice to display in the site footer. | ||
# To display a copyright symbol, type `©`. For current year, type `{year}`. | ||
copyright = "" | ||
|
||
googleAnalytics = "UA-151759619-2" | ||
|
||
############################ | ||
## Advanced options below ## | ||
############################ | ||
|
||
# Name of Academic theme folder in `themes/`. | ||
theme = "hugo-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 | ||
removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issues/5687 | ||
|
||
paginate = 10 # Number of items per page in paginated lists. | ||
enableEmoji = true | ||
footnotereturnlinkcontents = "<sup>^</sup>" | ||
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_cache$"] | ||
|
||
[outputs] | ||
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ] | ||
section = [ "HTML", "RSS" ] | ||
|
||
[mediaTypes."application/manifest+json"] | ||
suffixes = ["webmanifest"] | ||
|
||
# allow images to render on deploy previews | ||
# https://stackoverflow.com/questions/67977033/blogdown-site-not-showing-my-images-after-deploying-on-netlify | ||
[outputFormats.WebAppManifest] | ||
mediaType = "application/manifest+json" | ||
rel = "manifest" | ||
|
||
|
||
[context.deploy-preview.environment] | ||
HUGO_BLOGDOWN_POST_RELREF = "true" | ||
|
||
# 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" |