From: Stephen Jianu Date: Sat, 24 Jun 2023 20:07:02 +0000 (-0500) Subject: Update hugo.toml to match what the risotto example site contains and add an about... X-Git-Url: https://stephenjianu.com/gitweb/?a=commitdiff_plain;h=bf5e22aa33e09c41da71440e5dd18ee645f30dfa;p=stephenjianudotcom.git Update hugo.toml to match what the risotto example site contains and add an about page --- diff --git a/content/.hugo_build.lock b/content/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..50bda42 --- /dev/null +++ b/content/about.md @@ -0,0 +1,6 @@ +--- +title: "About" +date: 2023-06-24T15:04:48-05:00 +draft: false +--- + diff --git a/hugo.toml b/hugo.toml index 9c57572..1e31687 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,3 +2,84 @@ baseURL = 'https://stephenjianu.com' languageCode = 'en-us' title = 'Stephen Jianu' theme = 'risotto' + +paginate = 3 +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"] + +# Automatically add content sections to main menu +sectionPagesMenu = "main" + +[params] +noindex = false + +[params.theme] +palette = "base16-dark" + +# Sidebar: about/bio +[params.about] +title = "Stephen Jianu" +description = "Just another computer tinkerer." +logo = "images/rice.svg" + +# Sidebar: social links +# Available icon sets: +# * FontAwesome 6 ('fa-brands', 'fa-normal', or 'fa-solid' for brands) +# * Academicons ('ai ai-') + +[menu] + + [[menu.main]] + identifier = "about" + name = "About" + url = "/about/" + weight = 10 + +[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 = 2 + endLevel = 3 + 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 +