feat: update favicon & meta
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"name": "42 recipes",
|
||||
"display": "standalone",
|
||||
"background_color" : "#EAE9E7",
|
||||
"theme_color": "#DC3A59",
|
||||
"scope": ".",
|
||||
"icons": [{
|
||||
"src": "img/icon-180.png",
|
||||
"sizes": "180x180"
|
||||
},{
|
||||
"src": "img/icon-196.png",
|
||||
"sizes": "196x196"
|
||||
}]
|
||||
}
|
||||
BIN
src/assets/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
12
src/assets/browserconfig.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square70x70logo src="/icon/70.png"/>
|
||||
<square150x150logo src="/icon/150.png"/>
|
||||
<square310x310logo src="/icon/310.png"/>
|
||||
<TileImage src="/icon/150.png"/>
|
||||
<TileColor>#EAE9E7</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 485 B |
17
src/assets/manifest.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "recipe lekture",
|
||||
"short_name": "recipes",
|
||||
"display": "minimal-ui",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icon/192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icon/512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -29,10 +29,10 @@ i.icon:before {
|
||||
vertical-align: bottom;
|
||||
width: 1em; height: 1em
|
||||
}
|
||||
i.icon.gf:before {background-image: url('../img/icon-glutenfree.svg')}
|
||||
i.icon.raw:before {background-image: url('../img/icon-raw.svg')}
|
||||
i.icon.veg:before {background-image: url('../img/icon-vegan.svg')}
|
||||
i.icon.yield:before {background-image: url('../img/icon-yield.svg')}
|
||||
i.icon.gf:before {background-image: url('/img/icon-glutenfree.svg')}
|
||||
i.icon.raw:before {background-image: url('/img/icon-raw.svg')}
|
||||
i.icon.veg:before {background-image: url('/img/icon-vegan.svg')}
|
||||
i.icon.yield:before {background-image: url('/img/icon-yield.svg')}
|
||||
i.icon.pdf:before {background-image: url('/img/icon-pdf.svg')}
|
||||
.h1em { height: 1.5ex }
|
||||
|
||||
@@ -2,12 +2,15 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=0.75">
|
||||
<script type="text/javascript" src="{{ '/static/script.js'|url }}"></script>
|
||||
<link rel="stylesheet" href="{{ '/static/style.css'|url }}">
|
||||
<link rel="icon" sizes="32x32" href="{{ '/img/icon-32.png'|url }}">
|
||||
<link rel="icon" sizes="196x196" href="{{ '/img/icon-196.png'|url }}">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/img/icon-180.png'|url }}">
|
||||
<link rel="manifest" href="{{ '/app.webmanifest'|asseturl }}">
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/icon/32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/icon/16.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="mask-icon" href="/icon/safari-pinned-tab.svg" color="#EAE9E7">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<meta name="msapplication-config" content="/browserconfig.xml">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<script type="text/javascript" src="/script.js"></script>
|
||||
<title>{% block title %}Welcome{% endblock %} · recipe lekture</title>
|
||||
</head>
|
||||
<body> {#- ontouchstart="" #}
|
||||
@@ -51,7 +54,7 @@
|
||||
but then this will create a dependency on all recipes
|
||||
-#}
|
||||
<a href="{{ '/'|url + 'recipes.pdf' }}" download="recipes-{{ this.alt }}.pdf" title="{{ bag('i18n+' + this.alt, 'other.get_pdf') }}">{#--#}
|
||||
<img class="h1em" alt="(PDF)" height="20" src="{{ '/img/icon-pdf.svg'|url }}">{#--#}
|
||||
<img class="h1em" alt="(PDF)" height="20" src="/img/icon-pdf.svg">{#--#}
|
||||
</a>
|
||||
{%- set url_without_alt = ('.'|url(absolute=True))[4:] -%}
|
||||
{%- if this.alt == 'de' -%}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
bag('i18n+' + this.alt, 'title.recipes')
|
||||
}} <a href="/static/pdf-{{ this.alt }}.pdf" download="recipes-{{ this.alt }}.pdf" title="{{
|
||||
bag('i18n+' + this.alt, 'other.get_pdf')
|
||||
}}"><img class="h1em" alt="(PDF)" height="20pt" src="{{ '/img/icon-pdf.svg'|url }}"></a></h1>
|
||||
}}"><img class="h1em" alt="(PDF)" height="20pt" src="/img/icon-pdf.svg"></a></h1>
|
||||
{{ render_recipes(this.pagination.items) }}
|
||||
{{ render_pagination_all(this.pagination) }}
|
||||
{% endblock %}
|
||||