]> Stephen's Gitweb - stephenjianudotcom.git/commitdiff
Update hugo.toml to match what the risotto example site contains and add an about...
authorStephen Jianu <stephen@stephenjianu.com>
Sat, 24 Jun 2023 20:07:02 +0000 (15:07 -0500)
committerStephen Jianu <stephen@stephenjianu.com>
Sat, 24 Jun 2023 20:07:02 +0000 (15:07 -0500)
content/.hugo_build.lock [new file with mode: 0644]
content/about.md [new file with mode: 0644]
hugo.toml

diff --git a/content/.hugo_build.lock b/content/.hugo_build.lock
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/content/about.md b/content/about.md
new file mode 100644 (file)
index 0000000..50bda42
--- /dev/null
@@ -0,0 +1,6 @@
+---
+title: "About"
+date: 2023-06-24T15:04:48-05:00
+draft: false
+---
+
index 9c57572a02b4fa165daefe712326d3f9615edb36..1e316874570f69e83f21a97ee0f3c25913cf0598 100644 (file)
--- 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 <https://fontawesome.com/> ('fa-brands', 'fa-normal', or 'fa-solid' for brands)
+# * Academicons <https://jpswalsh.github.io/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
+