feat: added favicon
This commit is contained in:
parent
f02d37a6af
commit
8874fb0935
11
README.md
11
README.md
@ -23,3 +23,14 @@ stsg
|
|||||||
# start a hot reload server
|
# start a hot reload server
|
||||||
stsg_dev
|
stsg_dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# build favicon
|
||||||
|
|
||||||
|
```
|
||||||
|
cd src/static/assets
|
||||||
|
inkscape -w 16 -h 16 -o 16.png logo.svg
|
||||||
|
inkscape -w 32 -h 32 -o 32.png logo.svg
|
||||||
|
inkscape -w 48 -h 48 -o 48.png logo.svg
|
||||||
|
|
||||||
|
convert 16.png 32.png 48.png ../icon.ico
|
||||||
|
```
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link rel="icon" type="image/x-icon" href="/static/icon.ico">
|
||||||
<title>{{slug}}</title>
|
<title>{{slug}}</title>
|
||||||
<link rel="stylesheet" href="/static/bulma.min.css" />
|
<link rel="stylesheet" href="/static/bulma.min.css" />
|
||||||
</head>
|
</head>
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link rel="icon" type="image/x-icon" href="/static/icon.ico">
|
||||||
<title>{{language.flag}} {{title}}</title>
|
<title>{{language.flag}} {{title}}</title>
|
||||||
<link rel="stylesheet" href="/static/bulma.min.css" />
|
<link rel="stylesheet" href="/static/bulma.min.css" />
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user