Renamed hugo.yaml to config.yaml
This commit is contained in:
parent
fc6d1b189f
commit
34e0bd7152
1 changed files with 10 additions and 1 deletions
181
config.yaml
Normal file
181
config.yaml
Normal file
|
@ -0,0 +1,181 @@
|
|||
baseURL: "https://sharwin24.github.io/toha/"
|
||||
|
||||
languageCode: "en-us"
|
||||
title: "Sharwin's Portfolio"
|
||||
theme: "toha"
|
||||
|
||||
outputs:
|
||||
home:
|
||||
- "HTML"
|
||||
- "RSS"
|
||||
- "JSON"
|
||||
page:
|
||||
- "HTML"
|
||||
- "RSS"
|
||||
|
||||
module:
|
||||
hugoVersion:
|
||||
min: "0.128.0"
|
||||
extended: true
|
||||
mounts:
|
||||
- source: content
|
||||
target: content
|
||||
- source: static
|
||||
target: static
|
||||
- source: layouts
|
||||
target: layouts
|
||||
- source: data
|
||||
target: data
|
||||
- source: assets
|
||||
target: assets
|
||||
- source: i18n
|
||||
target: i18n
|
||||
- source: archetypes
|
||||
target: archetypes
|
||||
- source: ../../node_modules/flag-icons/flags
|
||||
target: static/flags
|
||||
- source: ../../node_modules/@fontsource/mulish/files
|
||||
target: static/files
|
||||
- source: ../../node_modules/katex/dist/fonts
|
||||
target: static/fonts
|
||||
|
||||
|
||||
# Site parameters
|
||||
params:
|
||||
# Background image of the landing page
|
||||
background: /images/kavar_background.jpg
|
||||
# Provide logos for your site. The inverted logo will be used in the initial
|
||||
# transparent navbar and the main logo will be used in the non-transparent navbar.
|
||||
logo:
|
||||
main: /images/sharwin_portrait.jpg
|
||||
inverted: /images/sharwin_portrait.jpg
|
||||
favicon: /images/sharwin_portrait.jpg
|
||||
|
||||
# GitHub repo of your site
|
||||
gitRepo: https://github.com/Sharwin24/toha
|
||||
# Default branch of your Git repo
|
||||
gitBranch: main
|
||||
|
||||
# Configure the number of section title visible in the top navbar
|
||||
topNavbar:
|
||||
maxVisibleSections: 5
|
||||
|
||||
# Enable and configure blog posts
|
||||
features:
|
||||
readingTime:
|
||||
enable: true
|
||||
blog:
|
||||
title: "Project Posts"
|
||||
enable: true
|
||||
showAuthor: true
|
||||
# Share post on different social media
|
||||
# shareButtons:
|
||||
# linkedin: true
|
||||
# email: true
|
||||
|
||||
# specify whether you want to show Table of Contents in reading page
|
||||
toc:
|
||||
enable: true
|
||||
|
||||
# Show tags under the post title
|
||||
tags:
|
||||
enable: true
|
||||
on_card: true # enables tags in post cards
|
||||
|
||||
# Enable this to use `embed-pdf` shortcode.
|
||||
embedpdf:
|
||||
enable: false
|
||||
|
||||
# Enable this to create flowcharts using shortcodes.
|
||||
flowchart:
|
||||
enable: false
|
||||
services:
|
||||
# Uncomment for `mermaid` shortcode.
|
||||
mermaid:
|
||||
# For config options, see: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
|
||||
# theme: dark
|
||||
|
||||
# Enable this to create mathematic expressions using `$$` blocks
|
||||
math:
|
||||
enable: true
|
||||
services:
|
||||
# https://katex.org/docs/autorender.html#api for more configurations
|
||||
katex:
|
||||
delimiters:
|
||||
- left: $$
|
||||
right: $$
|
||||
display: true
|
||||
- left: \\[
|
||||
right: \\]
|
||||
display: true
|
||||
- left: $
|
||||
right: $
|
||||
display: false
|
||||
- left: \\(
|
||||
right: \\)
|
||||
display: false
|
||||
|
||||
# Enable to use custom syntax highlight
|
||||
# Please note, Hugo comes with it's own html based syntax highlighter.
|
||||
# Your code block will still be syntax highlighted by hugo.
|
||||
# For more details: https://gohugo.io/content-management/syntax-highlighting/
|
||||
# To disable Hugo's builtin syntax highlight,
|
||||
# see: https://gohugo.io/getting-started/configuration-markup#highlight
|
||||
# ```
|
||||
# # config.yaml
|
||||
# markup:
|
||||
# # this disables hugo's syntax highlighting.
|
||||
# codeFences: false
|
||||
# ```
|
||||
syntaxHighlight:
|
||||
enable: true
|
||||
services:
|
||||
hljs:
|
||||
# see: https://highlightjs.readthedocs.io/en/latest/api.html#configure
|
||||
noHighlightRe: /^no-highlight$/i
|
||||
|
||||
# Enable to use `video-player` shortcode
|
||||
videoPlayer:
|
||||
enable: false
|
||||
services:
|
||||
# convert .js-player class into video player via https://plyr.io/
|
||||
# Can play HTML5 Video, Audio, Youtube, Vimeo.
|
||||
# For more info on setup: https://github.com/sampotts/plyr#quick-setup
|
||||
plyr:
|
||||
# options doc: https://github.com/sampotts/plyr#options
|
||||
# fullscreen: true
|
||||
|
||||
# Enables copy code button
|
||||
copyCodeButton:
|
||||
enable: true
|
||||
|
||||
# Enable Analytics
|
||||
# analytics:
|
||||
# enabled: false
|
||||
# services:
|
||||
# cloudflare web analytics
|
||||
# cloudflare:
|
||||
# token: "<token>"
|
||||
# Google Analytics
|
||||
# google:
|
||||
# id: G-H4LBG7NDFZ
|
||||
# # CounterDev
|
||||
# counterDev:
|
||||
# id: <your counterdev id>
|
||||
# # GoatCounter
|
||||
# goatCounter:
|
||||
# code: <your goat counter code>
|
||||
# # Matomo / Piwik
|
||||
# matomo:
|
||||
# instance: matomo.example.com
|
||||
# siteId: 1 # Or any other number
|
||||
# # Umami
|
||||
# umami:
|
||||
# scheme: https
|
||||
# instance: umami.example.com
|
||||
# id: <your umami site id>
|
||||
# # Statcounter
|
||||
# statcounter:
|
||||
# project: 1234567890
|
||||
# invisible: 1
|
||||
# security: deadbeef
|
Loading…
Add table
Add a link
Reference in a new issue