mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 22:50:35 +03:00
parent
84adecf97b
commit
9a1e6d15a3
9 changed files with 124 additions and 83 deletions
|
@ -126,11 +126,15 @@ baseURL = "https://example.com"
|
|||
title = "My Modular Site"
|
||||
workingDir = %q
|
||||
theme = %q
|
||||
ignoreVendor = %t
|
||||
ignoreVendorPaths = %q
|
||||
|
||||
`
|
||||
|
||||
config := fmt.Sprintf(configTemplate, workingDir, m.Path(), ignoreVendor)
|
||||
ignoreVendorPaths := ""
|
||||
if ignoreVendor {
|
||||
ignoreVendorPaths = "github.com/**"
|
||||
}
|
||||
config := fmt.Sprintf(configTemplate, workingDir, m.Path(), ignoreVendorPaths)
|
||||
|
||||
b := newTestSitesBuilder(t)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue