Merge pull request #478 from nunocoracao/feature-451-shortcode-timeline

✨ Add timeline shortcode
This commit is contained in:
Nuno Coração authored and GitHub committed 2023-01-26 20:21:38 +00:00
commit debe531944
6 files changed
+167 -2

No files matched your search

+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 }}