hugo-theme-relearn/layouts/partials/BaseName.hugo

2 lines
79 B
Text
Raw Normal View History

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