Add badge and button shortcodes

This commit is contained in:
James Panther
2021-08-16 15:09:21 +10:00
parent 7ce10997ce
commit fe7d59a855
6 changed files with 18 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
{{ range .Data.Pages }}
{{ if not (in .Site.Params.sitemap.excludedKinds .Kind) }}
{{ if and (.Param "xml" | default true) (not (isset .Params "externalurl")) }}
{{ if and (.Param "xml" | default true) (not (isset .Params "externalUrl")) }}
{{- if .Permalink -}}
<url>
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}