Browse Source

manifest updates

- now generated using some settings from config.yml

- new settings for language, lang_direction, and color (more color support coming soon)
master
Clark Wimberly 1 year ago
parent
commit
d30bcf2a60
4 changed files with 28 additions and 21 deletions
  1. +3
    -0
      _config.yml
  2. +1
    -1
      _includes/head.html
  3. +0
    -20
      icons/site.webmanifest
  4. +24
    -0
      manifest.json

+ 3
- 0
_config.yml View File

@ -3,6 +3,9 @@ title: Chowdown
email: your-email@domain.com
description: The plain text recipe database for hackers
baseurl: ""
language: "en"
lang_direction: "ltr"
color: "#007FFF"
twitter_username: clarklab
github_username: clarklab


+ 1
- 1
_includes/head.html View File

@ -16,7 +16,7 @@
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.baseurl }}/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="{{ site.baseurl }}/icons/favicon-16x16.png">
<link rel="manifest" href="{{ site.baseurl }}/icons/site.webmanifest">
<link rel="manifest" href="{{ site.baseurl }}/manifest.json">
<link rel="mask-icon" href="{{ site.baseurl }}/icons/safari-pinned-tab.svg" color="#007fff">
<link rel="shortcut icon" href="{{ site.baseurl }}/icons/favicon.ico">
<meta name="msapplication-TileColor" content="#007fff">


+ 0
- 20
icons/site.webmanifest View File

@ -1,20 +0,0 @@
{
"name": "Chowdown",
"short_name": "Chowdown",
"icons": [
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#007fff",
"background_color": "#007fff",
"start_url": "https://chowdown.io",
"display": "standalone"
}

+ 24
- 0
manifest.json View File

@ -0,0 +1,24 @@
---
layout: none
---
{
"name": "{{ site.title }}",
"short_name": "{{ site.title }}",
"icons": [
{
"src": "/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "{{ site.color }}",
"background_color": "{{ site.color }}",
"start_url": "https://chowdown.io",
"display": "standalone"
}

Loading…
Cancel
Save