restructure correctly, add new features, start working on articles

This commit is contained in:
Rory Hinnen
2026-05-08 09:02:40 -05:00
parent 62c1303bbb
commit 82b40351f0
66 changed files with 311 additions and 106 deletions
+43
View File
@@ -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()
}
}