From 5831d852d14e2184f4cd4d2d5b78725f7a0a497c Mon Sep 17 00:00:00 2001
From: Andreas Deininger <andreas@deininger.net>
Date: Sat, 19 Apr 2025 08:59:51 +0000
Subject: [PATCH] fix: clear warnings when previewing example site (hugo 0.144.2) (#542)
---
exampleSite/config/_default/hugo.toml | 2 +-
exampleSite/content/english/post/rich-content.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml
index 0f4e988..890025d 100644
--- a/exampleSite/config/_default/hugo.toml
+++ b/exampleSite/config/_default/hugo.toml
@@ -25,7 +25,7 @@
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
- unsafe=false
+ unsafe=true
[taxonomies]
category = "categories"
diff --git a/exampleSite/content/english/post/rich-content.md b/exampleSite/content/english/post/rich-content.md
index 8026978..14d5070 100644
--- a/exampleSite/content/english/post/rich-content.md
+++ b/exampleSite/content/english/post/rich-content.md
@@ -21,9 +21,9 @@
---
-## Twitter Simple Shortcode
+## X Simple Shortcode
-{{< twitter user="SanDiegoZoo" id="1453110110599868418" >}}
+{{< x user="SanDiegoZoo" id="1453110110599868418" >}}
<br>
--
Gitblit v1.10.0