culinary.kemonine.info/themes/hugo-theme-relearn/layouts/partials/BaseName.hugo
2022-12-03 10:27:03 -05:00

2 lines
79 B
Plaintext

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