mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-09 12:40:49 -04:00
target: Remove unused code
This commit is contained in:
parent
4ada1cab4d
commit
263daaeabc
@ -56,10 +56,6 @@ func (fs *Filesystem) Translate(src string) (dest string, err error) {
|
||||
return filepath.Join(fs.PublishDir, filepath.FromSlash(src)), nil
|
||||
}
|
||||
|
||||
func (fs *Filesystem) extension(ext string) string {
|
||||
return ext
|
||||
}
|
||||
|
||||
func filename(f string) string {
|
||||
ext := filepath.Ext(f)
|
||||
if ext == "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user