final tweaks for shortcodes

This commit is contained in:
Greg Gauthier 2021-04-11 10:51:06 +01:00
parent 4ed82afee6
commit 8194c15215
2 changed files with 7 additions and 3 deletions

View File

@ -11,6 +11,7 @@ paginate = 10
PygmentsCodeFences = true
PygmentsStyle = "tango"
enableInlineShortcodes = true
[indexes]
tag = "tags"
@ -24,6 +25,10 @@ PygmentsStyle = "tango"
custom_js = ["js/math-code.js"]
dateFormat = "02 Jan 2006, 15:04"
[markup]
[markup.goldmark.renderer]
unsafe= true
[menu]
[[menu.main]]
name = "Home"
@ -56,6 +61,4 @@ PygmentsStyle = "tango"
locals = "https://exitingthecave.locals.com/"
gab = "https://gab.com/exitingthecave/"
[markup]
[markup.goldmark.renderer]
unsafe= true

View File

@ -3,6 +3,7 @@ title: "Testing New Shortcodes"
date: 2021-04-10T11:27:58+01:00
draft: false
---
{{< time.inline >}}{{ now }}{{< /time.inline >}}
Today, I'm just testing out a few new Hugo shortcodes I added to the site. I've culled these from around the internet, and hacked together some of my own. You might find them useful, if you're doing static blogging yourself. You can find all the code on the repo for this site, **{{< newtab title="found here." url="https://gitea.gmgauthier.com/gmgauthier/personal-blog" >}}** As I do more and more blogging from the static site generator, this sort of thing will be more and more useful to me, at least.