Made some improvements to how Hugo is configured
This commit is contained in:
parent
b09a8bd8d8
commit
39611070f8
6 changed files with 61 additions and 40 deletions
|
|
@ -72,7 +72,7 @@ func (s *Service) fullRebuildNecessary(ctx context.Context, site models.Site) (b
|
|||
}
|
||||
|
||||
filesMustExists := []string{
|
||||
filepath.Join(s.hugo.SiteStagingDir(site, hugo.BaseSiteDir), "hugo.toml"),
|
||||
filepath.Join(s.hugo.SiteStagingDir(site, hugo.BaseSiteDir), "hugo.yaml"),
|
||||
}
|
||||
|
||||
for _, dir := range dirsMustExists {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue