culinary.kemonine.info/themes/hugo-theme-relearn/layouts/partials/BaseName.hugo

2 lines
79 B
Plaintext
Raw Normal View History

2022-12-03 15:27:03 +00:00
{{- $ret := path.Base (strings.TrimSuffix (path.Ext .) .) }}
{{- return $ret }}