From 0e838d6c4a006290897742d00aaefda5d8aa9e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20?= =?UTF-8?q?=D0=9F=D1=80=D1=83=D1=81=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Wed, 8 May 2024 14:27:29 +0300 Subject: [PATCH] Add favicon --- Package.resolved | 6 +++--- Package.swift | 4 ++-- Resources/Images/favicon.png | Bin 0 -> 2949 bytes Sources/AdaEngineWebsite/main.swift | 2 ++ 4 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 Resources/Images/favicon.png diff --git a/Package.resolved b/Package.resolved index 02132a0..62b37af 100644 --- a/Package.resolved +++ b/Package.resolved @@ -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" } }, { diff --git a/Package.swift b/Package.swift index afc8de6..f9743fc 100644 --- a/Package.swift +++ b/Package.swift @@ -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"), diff --git a/Resources/Images/favicon.png b/Resources/Images/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..b8f347d030e0dc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<@a-%tFXeHS@NLfW+B>M<&?bVQ>tcX6a+S;p?n$@eE}(;MR<) zMnHm=a6@Lcmefdevn7Bq3N{*UW1N%c)&kzYE-MmGY7Uxa$4P!9%iPx-j1qF1(TkdQ zNDPcT9goSCdx!nQa?r5{pXr$&-^S1Wv*z@;RsLbr*vkxVoElS00E6qS3VK!0A+H9l^?RolQQr)&A>hC3*p6Ap=ow4Z&PE{2%042 ze4(6=vwJ+FCLq=pCD_PS8cDEue=e<$ L*qSpBd&K__Eu+mO literal 0 HcmV?d00001 diff --git a/Sources/AdaEngineWebsite/main.swift b/Sources/AdaEngineWebsite/main.swift index b5b58d4..3afc050 100644 --- a/Sources/AdaEngineWebsite/main.swift +++ b/Sources/AdaEngineWebsite/main.swift @@ -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 { @@ -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" }