+ add training page (add admonition shortcode)

+ Finish translation
+ clean unused asset
This commit is contained in:
stephane.boniffacy committed 2025-01-24 18:04:55 +01:00
1 parent f91aba8329
commit fc87d59dbb
33 files changed
+468 -93

No files matched your search

@@ -0,0 +1,3 @@
{{- partial "plugin/admonitionPre.html" (dict "Type" .AlertType "Title" (.AlertTitle | default (strings.FirstUpper .AlertType)) "Open" (not (eq .AlertSign "-"))) -}}
{{- .Text -}}
{{- partial "plugin/admonitionPost.html" -}}
@@ -0,0 +1,6 @@
{{- $destination := .Destination -}}
{{- with dict "Path" $destination "Resources" .Page.Resources | partial "function/resource.html" -}}
{{- $destination = .RelPermalink -}}
{{- end -}}
{{- $options := dict "Destination" $destination "Title" .Title "Content" .Text -}}
{{- partial "plugin/link.html" $options -}}