dsa/hugo.toml

79 lines
2.3 KiB
TOML
Raw Normal View History

2024-05-28 04:58:05 +00:00
baseURL = 'https://dsa.adityakumar.xyz/'
2024-05-28 02:07:03 +00:00
languageCode = 'en-us'
2024-05-28 02:07:16 +00:00
title = 'Data Strucutres and Algorithms'
2024-05-28 04:46:06 +00:00
themesDir = "themes"
theme = "hugo-book"
2024-05-28 02:07:16 +00:00
# Book configuration
disablePathToLower = true
enableGitInfo = true
# Needed for mermaid/katex shortcodes
[markup]
[markup.goldmark.renderer]
unsafe = true
[markup.tableOfContents]
startLevel = 1
[menu]
[[menu.after]]
name = "Gitea"
2024-05-31 03:04:53 +00:00
url = "https://gitea.adityakumar.xyz/aditya/dsa"
2024-05-28 02:07:16 +00:00
weight = 10
[params]
# light, dark, auto
BookTheme = 'auto'
# (Optional, default true) Controls table of contents visibility on right side of pages.
# Start and end levels can be controlled with markup.tableOfContents setting.
# You can also specify this parameter per page in front matter.
BookToC = true
# /static/favicon.png
# BookFavicon = 'favicon.png'
# logo for the book
# /static/logo.png
# BookLogo = 'logo.png'
# Set leaf bundle to render as side menu
# BookMenuBundle = '/menu'
# Root page to render child pages as menu
BookSection = 'docs'
# Source repo location
# Used for 'Last Modified' and 'Edit this page' links
2024-05-31 03:04:53 +00:00
BookRepo = 'https://gitea.adityakumar.xyz/aditya/dsa'
2024-05-28 02:07:16 +00:00
# (Optional, default 'commit') Specifies commit portion of the link to the page's last modified
# commit hash for 'doc' page type.
# Requires 'BookRepo' param.
# Value used to construct a URL consisting of BookRepo/BookCommitPath/<commit-hash>
# Github uses 'commit', Bitbucket uses 'commits'
BookCommitPath = 'commit'
# Enable "Edit this page" links for 'doc' page type.
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Edit path must point to root directory of repo.
# BookEditPath = 'edit/main/exampleSite'
# Configure the date format used on the pages
# - In git information
# - In blog posts
BookDateFormat = 'January 2, 2006'
# (Optional, default true) Enables search function with flexsearch,
# Index is built on fly, therefore it might slowdown your website.
# Configuration for indexing can be adjusted in i18n folder per language.
BookSearch = true
# (Optional, default true) Enables comments template on pages
# By default partals/docs/comments.html includes Disqus template
# See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter
BookComments = false