mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02: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