first pass
This commit is contained in:
@@ -1 +0,0 @@
|
||||
Place any assets you want copied into the build here.
|
||||
Binary file not shown.
@@ -1,22 +0,0 @@
|
||||
IgniteStarter
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 Paul Hudson and other authors.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
+2
-4
@@ -1,5 +1,3 @@
|
||||
# IgniteStarter
|
||||
# Hinnen.us
|
||||
|
||||
This repository contains a starter project built using the [Ignite static site generator](https://github.com/twostraws/Ignite) – it includes just enough to get you going, so you should refer to the [IgniteSamples](https://github.com/twostraws/IgniteSamples) repository for detailed code samples.
|
||||
|
||||
You'll find small text file in each folder explaining what that folder does. Once you're happy with that, you should delete those files.
|
||||
Website for hinnen.us
|
||||
|
||||
@@ -2,10 +2,22 @@ import Foundation
|
||||
import Ignite
|
||||
|
||||
struct Home: StaticPage {
|
||||
var title = "Home"
|
||||
var title = "Hinnen Underground"
|
||||
|
||||
var body: some HTML {
|
||||
Text("Hello world!")
|
||||
Text("Hinnen Underground")
|
||||
.font(.title1)
|
||||
Link("Rory", target: "https://rory.hinnen.us")
|
||||
Link("Robin", target: "https://robin.hinnen.us")
|
||||
Link("Robin's Cancer Blog", target: "https://bab.hinnen.us")
|
||||
Link("MGA", target: "mga/")
|
||||
Link("Drive In", target: "drive-in/")
|
||||
Link("Minecraft", target: "minecraft/")
|
||||
Link("Legends of Dying Mars", target: "lods-dying-mars/")
|
||||
Link("X-Wing Rules", target: "xwing/")
|
||||
Link("Adventures in Modern Coding", target: "modern-coding/")
|
||||
Link("The Library", target: "library/")
|
||||
Link("Archeological remains", target: "archeological-remains/")
|
||||
Link("Battlefleet: Sector Scarus", target: "battlefleet/")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import Ignite
|
||||
@main
|
||||
struct IgniteWebsite {
|
||||
static func main() async {
|
||||
var site = ExampleSite()
|
||||
var site = Hinnen()
|
||||
|
||||
do {
|
||||
try await site.publish()
|
||||
@@ -14,13 +14,13 @@ struct IgniteWebsite {
|
||||
}
|
||||
}
|
||||
|
||||
struct ExampleSite: Site {
|
||||
var name = "Hello World"
|
||||
struct Hinnen: Site {
|
||||
var name = "Hinnen Underground"
|
||||
var titleSuffix = " – My Awesome Site"
|
||||
var url = URL(static: "https://www.example.com")
|
||||
var url = URL(static: "https://www.hinnen.us")
|
||||
var builtInIconsEnabled = true
|
||||
|
||||
var author = "John Appleseed"
|
||||
var author = "Rory Hinnen"
|
||||
|
||||
var homePage = Home()
|
||||
var layout = MainLayout()
|
||||
|
||||
Reference in New Issue
Block a user