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