Skip to content

Commit

Permalink
Add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
SpectralDragon committed May 8, 2024
1 parent 1ebca9a commit 0e838d6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
{
"identity" : "publish",
"kind" : "remoteSourceControl",
"location" : "https://github.com/johnsundell/publish.git",
"location" : "https://github.com/AdaEngine/publish.git",
"state" : {
"revision" : "1c8ad00d39c985cb5d497153241a2f1b654e0d40",
"version" : "0.9.0"
"branch" : "master",
"revision" : "58e943047882a5a6d8135ae2711be8ba7fba57c4"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import PackageDescription

let package = Package(
name: "AdaEngineWebsite",
platforms: [.macOS(.v12)],
platforms: [.macOS(.v13)],
products: [
.executable(name: "AdaEngineWebsite", targets: ["AdaEngineWebsite"])
],
dependencies: [
.package(url: "https://github.com/johnsundell/publish.git", from: "0.9.0"),
.package(url: "https://github.com/AdaEngine/publish.git", branch: "master"),
.package(url: "https://github.com/alexito4/ReadingTimePublishPlugin.git", from: "0.3.0"),
.package(url: "https://github.com/labradon/MinifyCSSPublishPlugin.git", branch: "master"),
.package(url: "https://github.com/SpectralDragon/TagColorCSSGeneratorPlugin.git", from: "0.3.0"),
Expand Down
Binary file added Resources/Images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions Sources/AdaEngineWebsite/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import TwitterPublishPlugin

// This type acts as the configuration for your website.
struct Blog: Website {

// TODO: Think about it later
// Add any site-specific metadata that you want to use here.
struct ItemMetadata: WebsiteItemMetadata {
Expand All @@ -23,6 +24,7 @@ struct Blog: Website {
let name = "AdaEngine"
let description = "A simple and fast game engine written on Swift"
let language: Language = .english
let favicon: Favicon = Favicon(path: "Images/favicon.png")
let imagePath: Path? = "Images"
}

Expand Down

0 comments on commit 0e838d6

Please sign in to comment.