25 lines
859 B
Swift
25 lines
859 B
Swift
import Foundation
|
|
|
|
extension WebsiteGeneratorConfiguration {
|
|
|
|
static let english = WebsiteGeneratorConfiguration(
|
|
language: .english,
|
|
outputDirectory: URL(fileURLWithPath: ""),
|
|
postsPerPage: 20,
|
|
postFeedTitle: "Posts",
|
|
postFeedDescription: "The most recent posts on christophhagen.de",
|
|
postFeedUrlPrefix: "feed",
|
|
navigationIconPath: "/assets/icons/ch.svg",
|
|
mainContentMaximumWidth: 600)
|
|
|
|
static let german = WebsiteGeneratorConfiguration(
|
|
language: .german,
|
|
outputDirectory: URL(fileURLWithPath: ""),
|
|
postsPerPage: 20,
|
|
postFeedTitle: "Beiträge",
|
|
postFeedDescription: "Die neusten Beiträge auf christophhagen.de",
|
|
postFeedUrlPrefix: "beiträge",
|
|
navigationIconPath: "/assets/icons/ch.svg",
|
|
mainContentMaximumWidth: 600)
|
|
}
|