restructure correctly, add new features, start working on articles
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
|
||||
import Ignite
|
||||
|
||||
@main
|
||||
struct IgniteWebsite {
|
||||
static func main() async {
|
||||
var site = Hinnen()
|
||||
|
||||
do {
|
||||
try await site.publish()
|
||||
} catch {
|
||||
print(error.localizedDescription)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct Hinnen: Site {
|
||||
var name = "Hinnen Underground"
|
||||
var titleSuffix = ""
|
||||
var url = URL(static: "https://www.hinnen.us")
|
||||
var builtInIconsEnabled = true
|
||||
|
||||
var author = "Rory Hinnen"
|
||||
|
||||
var homePage = Index()
|
||||
var layout = MainLayout()
|
||||
|
||||
var lightTheme: (any Theme)? = LightTheme()
|
||||
var darkTheme: (any Theme)? = DarkTheme()
|
||||
|
||||
var favicon: URL? { URL(static: "/favicon/favicon.ico") }
|
||||
|
||||
var staticPages: [any StaticPage] {
|
||||
Battlefleet()
|
||||
Library()
|
||||
Adventures()
|
||||
Legends()
|
||||
MGA()
|
||||
Theatre()
|
||||
Rebels()
|
||||
ScarusAbout()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user