Files
hinnen/hinnen/Sources/Site.swift
T
2026-05-03 14:21:04 -05:00

28 lines
539 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import Foundation
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 = " – My Awesome Site"
var url = URL(static: "https://www.hinnen.us")
var builtInIconsEnabled = true
var author = "Rory Hinnen"
var homePage = Home()
var layout = MainLayout()
}