Add timeline shortcode

This commit is contained in:
Nuno Coração
2023-01-24 23:53:01 +00:00
parent 600ea0f7da
commit 10d9a140b9
6 changed files with 167 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
{{ end }}
{{/* tw-elements */}}
{{ if .Page.HasShortcode "carousel" }}
{{ if or (.Page.HasShortcode "carousel") (.Page.HasShortcode "timeline")}}
{{ $twelementsLib := resources.Get "lib/tw-elements/index.min.js" }}
<script defer src="{{ $twelementsLib.RelPermalink }}" integrity="{{ $twelementsLib.Data.Integrity }}"></script>
{{ end }}