Improve storage
This commit is contained in:
@@ -17,16 +17,14 @@ struct PathSettingsView: View {
|
||||
|
||||
FolderOnDiskPropertyView(
|
||||
title: "Content Folder",
|
||||
folder: $content.storage.contentPath,
|
||||
isStale: $content.storage.contentPathUrlIsStale,
|
||||
folder: $content.storage.contentScope,
|
||||
footer: "The folder where the raw content of the website is stored") { url in
|
||||
content.update(contentPath: url)
|
||||
}
|
||||
|
||||
FolderOnDiskPropertyView(
|
||||
title: "Output Folder",
|
||||
folder: $content.storage.outputPath,
|
||||
isStale: $content.storage.outputPathUrlIsStale,
|
||||
folder: $content.storage.outputScope,
|
||||
footer: "The folder where the generated website is stored") { url in
|
||||
content.storage.save(outputPath: url)
|
||||
}
|
||||
|
Reference in New Issue
Block a user