mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-09 06:14:08 +00:00
Remove Bootstrap from Header and assets.toml Remove Bootstrap JS CDN version in footer and assets.toml Add latest Bootstrap v4 SASS files locally Include Bootstrap JS locally Convert Academic's CSS to SASS (mainly SASS variables + Go templating) Convert Academic's theming system to integrate with SASS Parse SASS in header using Hugo and convert to CSS Minify and md5 fingerprint bundled CSS Fix Slider widget (reuses .wg-hero but animation and `clear` removed) Add Bootstrap files to repo so that Node is not required See #680
67 lines
2.0 KiB
TOML
67 lines
2.0 KiB
TOML
# 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 = "Academic"
|
|
|
|
# The URL of your site.
|
|
# End your URL with a `/` trailing slash, e.g. `https://example.com/`.
|
|
baseurl = "/"
|
|
|
|
# Enter a copyright notice to display in the site footer.
|
|
# To display a copyright symbol, type `©`. For current year, type `{year}`.
|
|
copyright = ""
|
|
|
|
# Enable analytics by entering your Google Analytics tracking ID
|
|
googleAnalytics = ""
|
|
|
|
# Enable comments by entering your Disqus shortname
|
|
disqusShortname = ""
|
|
|
|
############################
|
|
## Advanced options below ##
|
|
############################
|
|
|
|
# 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$"]
|
|
|
|
[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"
|