Skip to content

Commit

Permalink
backup old config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
wvictor14 committed May 21, 2024
1 parent 93a4616 commit 5a69b79
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 71 deletions.
79 changes: 8 additions & 71 deletions config.toml
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"]
76 changes: 76 additions & 0 deletions config.toml.backup
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 `&copy;`. 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"

0 comments on commit 5a69b79

Please sign in to comment.