Answers for "hugo show file path"

1

hugo show file path

{{ .File.Dir }}

given the path content/posts/dir1/dir2/, the relative directory path of the content file will be returned (e.g., posts/dir1/dir2/)
Posted by: Guest on September-14-2021

Browse Popular Code Answers by Language