Update local Hugo development target
- mount /tmp as tmpfs - configure Hugo to use /tmp for all caches - configure Hugo to render into /tmp
This commit is contained in:
+17
@@ -33,6 +33,23 @@ enableGitInfo = true
|
||||
# Hindi is disabled because it's currently in development.
|
||||
disableLanguages = ["hi", "no"]
|
||||
|
||||
[caches]
|
||||
[caches.assets]
|
||||
dir = ":cacheDir/_gen"
|
||||
maxAge = -1
|
||||
[caches.getcsv]
|
||||
dir = ":cacheDir/:project"
|
||||
maxAge = "60s"
|
||||
[caches.getjson]
|
||||
dir = ":cacheDir/:project"
|
||||
maxAge = "60s"
|
||||
[caches.images]
|
||||
dir = ":cacheDir/_images"
|
||||
maxAge = -1
|
||||
[caches.modules]
|
||||
dir = ":cacheDir/modules"
|
||||
maxAge = -1
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.extensions]
|
||||
|
||||
Reference in New Issue
Block a user