mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
parent
32471b57bd
commit
d90e37e0c6
442 changed files with 1426 additions and 2254 deletions
|
@ -45,7 +45,6 @@ const (
|
|||
)
|
||||
|
||||
func Pack(fs afero.Fs, fis []hugofs.FileMetaInfo) error {
|
||||
|
||||
var b *packageBuilder
|
||||
|
||||
// Have a package.hugo.json?
|
||||
|
@ -140,7 +139,6 @@ func Pack(fs afero.Fs, fis []hugofs.FileMetaInfo) error {
|
|||
}
|
||||
|
||||
return nil
|
||||
|
||||
}
|
||||
|
||||
func newPackageBuilder(source string, first io.Reader) *packageBuilder {
|
||||
|
@ -220,7 +218,6 @@ func (b *packageBuilder) addm(source string, m map[string]interface{}) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (b *packageBuilder) unmarshal(r io.Reader) map[string]interface{} {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue