diff --git a/README.md b/README.md index 3e78dc1..a8a6c8d 100644 --- a/README.md +++ b/README.md @@ -115,12 +115,14 @@ rssLimit = 100 pygmentsOptions = "linenos=table" pygmentsUseClasses = true +googleAnalytics = "" + [markup] [markup.goldmark] [markup.goldmark.renderer] unsafe = true -[outputs][outputs] +[outputs] home = ["HTML", "RSS", "JSON", "WEBMANIFEST"] [mediaTypes."application/manifest+json"] @@ -326,7 +328,6 @@ commento = false enable = false # if set, donation button will show up in the single page. alipay = "" # Alipay QR Code image (example path: images/donation/alipay-qrcode.png) and put your file at root/static/images/donation/ wechat = "" # Wechat pay QR Code image (example path: same as above) - bitcoin = "" # Bitcoin account? paypal = "" # Paypal URL patreon = "" # Patreon URL ``` @@ -793,7 +794,7 @@ You can add some config option parameters at data/flowchartjs.json ```bash // path: static/images/whoami/avatar.jpg -{{% img src="/images/whoami/avatar.jpg" title="Image4" caption="Image description" alt="image alt" %}} +{{< img src="/images/whoami/avatar.jpg" title="Image4" caption="Image description" alt="image alt" >}} ``` ### notice diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index acfab4c..02957a6 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -15,12 +15,15 @@ paginate = 13 rssLimit = 100 pygmentsOptions = "linenos=table" -pygmentsCodefences = true pygmentsUseClasses = true -pygmentsCodefencesGuessSyntax = true googleAnalytics = "" +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + [outputs] home = ["HTML", "RSS", "JSON", "WEBMANIFEST"] diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e19c724..b4da3b3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,7 +10,7 @@ {{ partial "head/meta" . }} {{ partial "head/meta_json_ld" . }} {{ partial "head/services" . }} - {{ partial "head/custom" . }} + {{ partial "head/custom-head" . }}