From da6d2c33e0ce896cfd0f11db601aedbdd97976d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20W=C3=B3jcik?=
<1711174+lwojcik@users.noreply.github.com>
Date: Sat, 2 Mar 2024 00:43:55 +0100
Subject: [PATCH] Remove eleventy-plugin-gen-favicons due to #91 (#99)
---
README.md | 14 +++++++----
_11ty/plugins.js | 18 --------------
assets/apple-touch-icon.png | Bin 0 -> 3310 bytes
assets/favicon.ico | Bin 0 -> 22382 bytes
assets/icon-192.png | Bin 0 -> 3662 bytes
assets/icon-512.png | Bin 0 -> 14448 bytes
assets/manifest.webmanifest | 24 +++++++++++++++++++
content/_includes/partials/head/favicons.njk | 5 +++-
package.json | 1 -
9 files changed, 37 insertions(+), 25 deletions(-)
create mode 100644 assets/apple-touch-icon.png
create mode 100644 assets/favicon.ico
create mode 100644 assets/icon-192.png
create mode 100644 assets/icon-512.png
create mode 100644 assets/manifest.webmanifest
diff --git a/README.md b/README.md
index bf50d85..5bf1f3c 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
**Bliss** is a single-column blog template for [Eleventy static site generator](https://11ty.dev) with strong focus on simplicity without sacrificing functionality.
-It is a modified and improved version of the theme running [Offbeat Bits - my personal blog](https://offbeatbits.com/).
+It is a modified and improved version of the theme running [my personal blog](https://blog.lukaszwojcik.net/).
## Features
@@ -10,7 +10,6 @@ It is a modified and improved version of the theme running [Offbeat Bits - my pe
- **sharing buttons for popular social media** (including Mastodon!) + copying post URL to clipboard
- **Mastodon integration:** generating `.well-known/webfinger` file + automatic generation of `` tags for site ownership verification
- **translation ready** (support for custom language tags + separate file with static phrases)
-- **automatic favicon generation**
- **manifest file** for PWA
- **automatic OpenGraph image generation**
- **code syntax highlighting** with PrismJS using [Eleventy syntax highlighting plugin](https://www.11ty.dev/docs/plugins/syntaxhighlight/)
@@ -36,8 +35,6 @@ npm run dev # to launch the project for modifications
npm run build # to build production version
```
-**If you use Windows / Powershell 7:** If you get an error `Error: EBUSY: resource busy or locked` while starting the project, check [this issue](https://github.com/lwojcik/eleventy-template-bliss/issues/91) for possible workarounds.
-
## Instant deploy
Netlify:
@@ -75,7 +72,8 @@ Non-exhaustive list of steps to make the template **your own**. Some of them are
- [ ] If you use post disclaimers at the beginning of your posts - consider using the built-in disclaimer feature - see [`06-10-sample-post-33-disclaimer.md`](./content/posts/2023/06-10-sample-post-33-disclaimer.md) or [`05-31-sample-post-32-linked-disclaimer.md`](./content/posts/2023/05-31-sample-post-32-linked-disclaimer.md) for reference
- [ ] Add your own pages - use one of the existing placeholder pages as a reference
- [ ] Add / remove meta pages in the footer - see [`siteConfig.js`](./content/_data/siteConfig.js)
-- [ ] Replace a favicon file (`favicon.svg`) with your own - only one file is needed, the remaining ones will be generated on build
+- [ ] Replace a favicon files (`favicon.svg`, `favicon.ico`, `apple-touch-icon.png`, `icon-192.png`, `icon-512.png`) with your own
+- [ ] Update `manifest.webmanifest` file with data relevant to your site
- [ ] Replace OpenGraph images with ones relevant to your site
- [ ] Decide if you want to use automated OpenGragh image generation + consider modifying their appearance to suit your taste (see `siteConfig.js` for more info)
- [ ] Copy your existing static assets to `assets` folder. Note that the top of `assets` folder corresponds to the _root directory_ of your site (`_site`)
@@ -102,6 +100,12 @@ into the following:
You can do the same for pages by modifying `content/pages/pages.json` file.
+### Automatic favicon generation
+
+Until version 2.4.0 Bliss was bundled with a [favicon generation plugin](https://www.npmjs.com/package/eleventy-plugin-gen-favicons). Due to unresolved bugs this plugin is no longer included with the template.
+
+If you want to reimplement it yourself, change history from [this pull request](https://github.com/lwojcik/eleventy-template-bliss/pull/99) may be helpful.
+
## Contributions
Contributions of the following kind are welcome:
diff --git a/_11ty/plugins.js b/_11ty/plugins.js
index 17c99a9..73ea4f2 100644
--- a/_11ty/plugins.js
+++ b/_11ty/plugins.js
@@ -7,7 +7,6 @@ const eleventyNavigationPlugin = require('@11ty/eleventy-navigation');
const srcSet = require('./plugins/srcset');
const pluginPWA = require('eleventy-plugin-pwa-v2');
const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');
-const faviconsPlugin = require('eleventy-plugin-gen-favicons');
const productionPlugins = IS_PRODUCTION
? [
@@ -59,23 +58,6 @@ const plugins = [
{
body: syntaxHighlight,
},
- {
- body: faviconsPlugin,
- options: {
- manifestData: {
- name: siteConfig.site.title,
- lang: siteConfig.site.language,
- short_name: siteConfig.site.title,
- description: siteConfig.site.description,
- start_url: '/',
- scope: '/',
- display: 'standalone',
- theme_color: siteConfig.manifestJson.themeColor,
- background_color: siteConfig.manifestJson.backgroundColor,
- orientation: 'any',
- },
- },
- },
];
module.exports = [...plugins, ...pwaPluginConfig, ...productionPlugins];
diff --git a/assets/apple-touch-icon.png b/assets/apple-touch-icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..7a1135362125f5b8c41cfc8ce6b423719ceab8cf
GIT binary patch
literal 3310
zcmcha={uWS*TC-tp_I_p7%^Atskw%txDBm&p5m0MR#Edzj4`Htdx$Y551LRh)lf}o
z%||(AqNa+X9#e2stHCipdam~`ct5-!)?U}X_S$Rh{bBvqTFs+k=70_levFM3Cfi5t782|NMg#
zIMm}(ygT2j{QiLI&nfsW|%~8qoR+nXE(z
zgewVi9-wPS73|}|SYU1goNPhd%(qp
z;2;xJnAyDqD{_XjJm{)=e>pn-j*E^ff7a4kq>o#qdj%BE$hD9uSeMf(ukEUDEtKtF
z&4~ZdUL&>^A8ltjSD1a-v3F8@x=lfX2&JZNJV)6~HLb2Jr<-Va-bZN}ONc?KeAlBx
zQRp8|)8YNBUh7zPFkx8Yy->)+e?BbC=H)$FZC-!3NRpe(o5(C|mz3<#o|UVIP*yY%
zG6M_oU&@dwfa^OphQry?VCA{3q
zk`X0E74Xor7|SJ33&(Qvyd>@{_&p7S4^B^AdzZZS;`d!@>H0yQ61t*v!I*fXWCGz@
zQkc#c$MJ8npXrl@8@e7yYM$;I!fIcDBP<;Cj&gNv(5=X@T{fXjjTBe+{_#~RZw1^9
zsVGGMANr%uINaBu{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