From 56b9f0e748f89bbfa13fda5ba2b874ee18c31416 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Sun, 11 Aug 2024 19:25:26 -0400 Subject: switched to hugo.toml --- config.toml | 75 ----------------------------------------------------- hugo.toml | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+), 75 deletions(-) delete mode 100644 config.toml create mode 100644 hugo.toml diff --git a/config.toml b/config.toml deleted file mode 100644 index 845d856..0000000 --- a/config.toml +++ /dev/null @@ -1,75 +0,0 @@ -baseURL = 'https://kumardamani.net/' -languageCode = 'en-us' -title = 'Kumar Damani - Home' -theme = 'risotto' -paginate = 3 -enableEmoji = true - -enableInlineShortcodes = true -# prevent build failures when using Hugo's Instagram shortcode due to deprecated Instagram API. -# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456 -ignoreErrors = ["error-remote-getjson"] -sectionPagesMenu = "main" - -[params] -noindex = false - -[params.theme] -palette = "tokyo-night-dark" - -# Sidebar: about/bio -[params.about] -title = "Links" -description = "Git, email, and resume" -logo = "images/rice.svg" - -[[params.socialLinks]] -icon = "fa-brands fa-gitlab" -title = "GitLab" -url = "https://gitlab.com/kdam0/" - -[[params.socialLinks]] -icon = "fa-solid fa-envelope" -title = "Email" -url = "mailto:me@kumardamani.net" - -[[params.socialLinks]] -icon = "fa-solid fa-file" -title = "Resume" -url = "/KumarDamaniCV.pdf" - -[taxonomies] -category = "categories" -tag = "tags" -series = "series" - -# For hugo >= 0.60.0, enable inline HTML -[markup.goldmark.renderer] -unsafe = true - -[privacy] - - [privacy.vimeo] - disabled = false - simple = true - - [privacy.twitter] - disabled = false - enableDNT = true - simple = true - - [privacy.instagram] - disabled = false - simple = true - - [privacy.youtube] - disabled = false - privacyEnhanced = true - -[services] - - [services.instagram] - disableInlineCSS = true - - [services.twitter] - disableInlineCSS = true diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..3462e52 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,86 @@ +baseURL = 'https://kumardamani.net/' +languageCode = 'en-us' +title = 'Kumar Damani - Home' +theme = 'risotto' +paginate = 3 +enableEmoji = true +DefaultContentLanguage = "en" + +enableInlineShortcodes = true +# prevent build failures when using Hugo's Instagram shortcode due to deprecated Instagram API. +# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456 +ignoreErrors = ["error-remote-getjson"] +sectionPagesMenu = "main" + +[params] +noindex = false + +[params.theme] +palette = "tokyo-night-dark" +#palette = "base16-dark" + +# Sidebar: about/bio +[params.about] +title = "Links" +description = "Git, email, and resume" +logo_image = "images/rice.svg" + +[[params.socialLinks]] +icon = "fa-brands fa-gitlab" +title = "GitLab" +url = "https://gitlab.com/kdam0/" + +[[params.socialLinks]] +icon = "fa-solid fa-envelope" +title = "Email" +url = "mailto:me@kumardamani.net" + +[[params.socialLinks]] +icon = "fa-solid fa-file" +title = "Resume" +url = "/KumarDamaniCV.pdf" + +[taxonomies] +category = "categories" +tag = "tags" +series = "series" + +# For hugo >= 0.60.0, enable inline HTML +[markup.goldmark.renderer] +unsafe = true + +[markup] + + # Table of contents + # Add toc = true to content front matter to enable + [markup.tableOfContents] + startLevel = 1 + endLevel = 4 + ordered = true + +[privacy] + + [privacy.vimeo] + disabled = false + simple = true + + [privacy.twitter] + disabled = false + enableDNT = true + simple = true + + [privacy.instagram] + disabled = false + simple = true + + [privacy.youtube] + disabled = false + privacyEnhanced = true + +[services] + + [services.instagram] + disableInlineCSS = true + + [services.twitter] + disableInlineCSS = true -- cgit v1.2.3