Made some improvements to how Hugo is configured

This commit is contained in:
Leon Mika 2025-02-01 15:36:35 +11:00
parent b09a8bd8d8
commit 39611070f8
6 changed files with 61 additions and 40 deletions

View file

@ -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 {