diff --git a/README.md b/README.md index 4dc2f98..52a3668 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,11 @@ theme: jekyll-theme-tallneck - [privacy.md](privacy.md) - [terms.md](terms.md) -4. Create the `assets/image` folder and put a replacement for the default image named `default.webp` or change its name in the `_config.yml` file. -5. In the same folder, put also a replacement for `favicon.ico`, `favicon.svg` and `logo.svg` (logo.svg will be used as the home button). +4. Create the `assets/image` folder and put a replacement for the following images: + - `favicon.ico` and `favicon.svg` that will be used as the favicon. + - `logo.svg` that will be used as the home button. + - `pwa_icon.svg`, `pwa_icon_x512.png`, `pwa_icon_x96.png` that will be used as the PWA icon. ([https://maskable.app/editor](https://maskable.app/editor) can be used to create the maskable icon) +5. In the `assets` folder, create the sitemanifest.json file and edit it to your liking. 6. [Optional] Customize the theme by creating the `_sass` folder and editing `custom_variables.scss` and `custom_styles.scss` files. 7. Edit the `_config.yml` file to your liking (you can use the [config](/_config.yml) file in this repo as a template). diff --git a/_config.yml b/_config.yml index 4afc71e..7bbf493 100644 --- a/_config.yml +++ b/_config.yml @@ -6,7 +6,7 @@ copyright: "Copyright (c) 2024 John Toniutti" author: John Toniutti keywords: "tallneck, test, jekyll, theme, jekyll-theme-tallneck" tagline: "Tallneck test | This a tagline" -description: "This is a description" +description: "Preview for the theme Tallneck for Jeckyll." url: "https://jotonedev.github.io/tallneck-test" social: true diff --git a/_includes/head.html b/_includes/head.html index 5ed42a6..d32b94d 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -7,6 +7,7 @@ + {% if page.private %} @@ -34,8 +35,8 @@ - - + + {% if site.cloudflare %} diff --git a/assets/image/favicon.ico b/assets/image/favicon.ico new file mode 100644 index 0000000..44ee9eb Binary files /dev/null and b/assets/image/favicon.ico differ diff --git a/assets/image/favicon.svg b/assets/image/favicon.svg new file mode 100644 index 0000000..5f73b8e --- /dev/null +++ b/assets/image/favicon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/assets/image/logo.svg b/assets/image/logo.svg index 2a77388..639449b 100644 --- a/assets/image/logo.svg +++ b/assets/image/logo.svg @@ -1,4 +1,4 @@ - - - \ No newline at end of file + + + diff --git a/assets/image/pwa_icon.svg b/assets/image/pwa_icon.svg new file mode 100644 index 0000000..8107cbf --- /dev/null +++ b/assets/image/pwa_icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/assets/image/pwa_icon_x512.png b/assets/image/pwa_icon_x512.png new file mode 100644 index 0000000..d0cf27b Binary files /dev/null and b/assets/image/pwa_icon_x512.png differ diff --git a/assets/image/pwa_icon_x96.png b/assets/image/pwa_icon_x96.png new file mode 100644 index 0000000..96e5a62 Binary files /dev/null and b/assets/image/pwa_icon_x96.png differ diff --git a/assets/sitemanifest.json b/assets/sitemanifest.json index e69de29..cfab6c9 100644 --- a/assets/sitemanifest.json +++ b/assets/sitemanifest.json @@ -0,0 +1,28 @@ +{ + "name": "Tallneck preview", + "short_name": "Tallneck", + "lang": "en", + "description": "Preview for the theme Tallneck for Jeckyll.", + "categories": ["personalization", "utilities", "medical"], + "start_url": "/tallneck-test", + "icons": [ + { + "src": "/assets/image/pwa_icon.svg", + "sizes": "any", + "type": "image/svg+xml" + }, + { + "src": "/assets/image/pwa_icon_x96.png", + "sizes": "96x96", + "type": "image/png" + }, + { + "src": "/assets/image/pwa_icon_x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#282828", + "background_color": "#282828", + "display": "standalone" +} \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..44ee9eb Binary files /dev/null and b/favicon.ico differ