mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
1058cb17d1
Reduce duplication (`x + FilePathSeparator + y` a few lines away from `filepath.Join(x, y)`) and add a `GetThemeDir()` function to get the current theme's directory. Also add a comment complaining about the `GetThemesDirPath()` function, which doesn't seem to do what its name would suggest. This might be a candidate for deprecation? |
||
---|---|---|
.. | ||
content.go | ||
content_test.go | ||
general.go | ||
general_test.go | ||
hugo.go | ||
hugo_test.go | ||
path.go | ||
path_test.go | ||
pygments.go | ||
pygments_test.go | ||
url.go | ||
url_test.go |