Skip to content

Commit

Permalink
Add initial manifest.webmanifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ashawley committed Mar 15, 2020
1 parent c1a0786 commit 7a1585f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{% if page.meta_description %}{{ page.meta_description | xml_escape }}{% elsif page.summary %}{{ page.summary | xml_escape }}{% else %}{{ site.description | xml_escape }}{% endif %}">
<link rel="manifest" type="application/manifest+json; charset=utf-8" href="{{ "/manifest.json" | relative_url }}" />
{% if page.meta_robots %}<meta name="robots" content="{{ page.meta_robots }}">
{% else %}<meta name="robots" content="all">{% endif %}
<meta name="author" content="{{ site.author }}">
Expand Down
25 changes: 25 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: null
---
{
"short_name": "{{ site.title | replace: '"', '\"' }}",
"name": "{{ site.title | replace: '"', '\"' }}",
"description": "{{ site.description | replace: '"', '\"' }}",
"icons": [
{
"src": "{{ '/splash-512x512.png' | relative_url }}",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "{{ '/favicon-192x192.png' | relative_url }}",
"type": "image/png",
"sizes": "192x192"
}
],
"start_url": "{{ '/' | absolute_url }}",
"background_color": "#ffffff",
"display": "standalone",
"scope": "{{ '/' | relative_url }}",
"theme_color": "#ffffff"
}
Binary file added splash-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7a1585f

Please sign in to comment.