From fc14338f5e5d2f440ffbf1e360977616fdeb4671 Mon Sep 17 00:00:00 2001 From: Sharwin24 Date: Mon, 30 Dec 2024 12:18:33 -0800 Subject: [PATCH] Fixing navbar colors and editing settings --- assets/styles/navigators/navbar.scss | 4 +- hugo.yaml | 74 ++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 2 deletions(-) diff --git a/assets/styles/navigators/navbar.scss b/assets/styles/navigators/navbar.scss index d6e90a4..2e4ffbd 100644 --- a/assets/styles/navigators/navbar.scss +++ b/assets/styles/navigators/navbar.scss @@ -26,7 +26,7 @@ @include transition(); .navbar-brand { - color: get-light-color('heading-color'); + color: get-light-color('text-color'); text-decoration: none !important; font-weight: 600; @@ -128,7 +128,7 @@ background-color: transparent !important; .navbar-brand { - color: get-light-color('inverse-text-color'); + color: get-light-color('muted-text-color'); font-weight: 600; } diff --git a/hugo.yaml b/hugo.yaml index a3f4b69..6d2fc11 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,3 +1,6 @@ +languageCode: en +title: "Sharwin's Portfolio" + module: hugoVersion: min: "0.128.0" @@ -62,6 +65,77 @@ params: 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 reading time support in post cards and in post pages + readingTime: + enable: true # Enable Analytics # analytics: