mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
@@ -38,50 +38,62 @@ func (z zeroFile) Path() (o0 string) {
|
||||
z.log.Println(".File.Path on zero object. Wrap it in if or with: {{ with .File }}{{ .Path }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) Section() (o0 string) {
|
||||
z.log.Println(".File.Section on zero object. Wrap it in if or with: {{ with .File }}{{ .Section }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) Lang() (o0 string) {
|
||||
z.log.Println(".File.Lang on zero object. Wrap it in if or with: {{ with .File }}{{ .Lang }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) Filename() (o0 string) {
|
||||
z.log.Println(".File.Filename on zero object. Wrap it in if or with: {{ with .File }}{{ .Filename }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) Dir() (o0 string) {
|
||||
z.log.Println(".File.Dir on zero object. Wrap it in if or with: {{ with .File }}{{ .Dir }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) Extension() (o0 string) {
|
||||
z.log.Println(".File.Extension on zero object. Wrap it in if or with: {{ with .File }}{{ .Extension }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) Ext() (o0 string) {
|
||||
z.log.Println(".File.Ext on zero object. Wrap it in if or with: {{ with .File }}{{ .Ext }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) LogicalName() (o0 string) {
|
||||
z.log.Println(".File.LogicalName on zero object. Wrap it in if or with: {{ with .File }}{{ .LogicalName }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) BaseFileName() (o0 string) {
|
||||
z.log.Println(".File.BaseFileName on zero object. Wrap it in if or with: {{ with .File }}{{ .BaseFileName }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) TranslationBaseName() (o0 string) {
|
||||
z.log.Println(".File.TranslationBaseName on zero object. Wrap it in if or with: {{ with .File }}{{ .TranslationBaseName }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) ContentBaseName() (o0 string) {
|
||||
z.log.Println(".File.ContentBaseName on zero object. Wrap it in if or with: {{ with .File }}{{ .ContentBaseName }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) UniqueID() (o0 string) {
|
||||
z.log.Println(".File.UniqueID on zero object. Wrap it in if or with: {{ with .File }}{{ .UniqueID }}{{ end }}")
|
||||
return
|
||||
}
|
||||
|
||||
func (z zeroFile) FileInfo() (o0 hugofs.FileMetaInfo) {
|
||||
z.log.Println(".File.FileInfo on zero object. Wrap it in if or with: {{ with .File }}{{ .FileInfo }}{{ end }}")
|
||||
return
|
||||
|
Reference in New Issue
Block a user