+ add training page (add admonition shortcode)
+ Finish translation + clean unused asset
This commit is contained in:
@@ -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" -}}
|
||||
6
themes/tse/layouts/_default/_markup/render-link.html
Normal file
6
themes/tse/layouts/_default/_markup/render-link.html
Normal file
@@ -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 -}}
|
||||
Reference in New Issue
Block a user