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

 Add timeline shortcode
This commit is contained in:
Nuno Coração
2023-01-26 20:21:38 +00:00
committed by GitHub
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 }}