From 4ab681dd6a01393e5b8ae50456629d85bc1946c0 Mon Sep 17 00:00:00 2001 From: Simon Dann Date: Wed, 7 Sep 2022 10:46:20 +0100 Subject: [PATCH] feat: publish colophon favicon update post --- content/colophon/2022-09-07-adding-favicon.md | 29 +++++++++++++++++++ package.json | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 content/colophon/2022-09-07-adding-favicon.md diff --git a/content/colophon/2022-09-07-adding-favicon.md b/content/colophon/2022-09-07-adding-favicon.md new file mode 100644 index 00000000..a61d8967 --- /dev/null +++ b/content/colophon/2022-09-07-adding-favicon.md @@ -0,0 +1,29 @@ +--- +title: "Adding favicon" +tags: [Blogging] +growthStage: evergreen +--- + +Today I closed issue [#30: Add Favicon](https://github.com/photogabble/website/issues/30). This has embarrassingly been open since October 2021 after having rewritten PhotoGabble for 11ty. + +In the history of this website, it has always had a favicon in the form of a `.ico` file loaded thus: + +```html + +``` + +Up until 2018 I used [favicon.cc](https://www.favicon.cc/) to create favicons, then at some point I was shown [real favicon generator](https://realfavicongenerator.net/) which takes your source image and provides a zip file containing the assets required for different platforms. + +I don't know when favicons became more complex than a single 16x16 icon file, however it is nice to have a tool that makes producing the array of files a relatively straightforward process plus the following html added to each page ``: + +```html + + + + + + + +``` + +I don't think anyone will be adding PhotoGabble to their home screen and given that context going from one LoC to seven feels a little wasteful. However, it's good practice doing the best possible. diff --git a/package.json b/package.json index 52128fa2..95980a2c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@photogabble/website", - "version": "1.1.0", + "version": "1.2.0", "description": "Source code for photogabble.co.uk", "main": "index.js", "scripts": {