hugo-theme-relearn/layouts/partials/BaseName.hugo
2022-11-19 13:40:26 +01:00

2 lines
No EOL
79 B
Text

{{- $ret := path.Base (strings.TrimSuffix (path.Ext .) .) }}
{{- return $ret }}