Browse Source

document how to create favicon

sni-wip
forest 8 months ago
parent
commit
1f1b2db2a6
3 changed files with 13 additions and 0 deletions
  1. +9
    -0
      README.md
  2. BIN
      ghost-theme/assets/images/favicon.ico
  3. +4
    -0
      ghost-theme/default.hbs

+ 9
- 0
README.md View File

@ -19,4 +19,13 @@ Example docker labels to configure a container to be served publically:
sequentialread-80-public-protocol: https
sequentialread-80-public-hostnames: "example.com,www.example.com"
sequentialread-80-container-protocol: http
```
# how to generate favicon for ghost
```
sudo apt install icoutils
icotool -c -o test.ico sequentialread_favicon.png logo48.png logo70.png logo128.png
```

BIN
ghost-theme/assets/images/favicon.ico View File

Before After

+ 4
- 0
ghost-theme/default.hbs View File

@ -20,6 +20,10 @@
<link rel="stylesheet" href="{{asset "libraries/bootstrap-social/css/font-awesome.css"}}" charset="utf8" />
<link rel="stylesheet/less" href="{{asset "css/style.less"}}" charset="utf8" />
<!-- This doesnt work, you have to set it in the ghost UI -->
<!--<link rel="shortcut icon" href="{{asset "images/favicon.ico"}}" />-->
<!--<link rel="icon" href="{{asset "images/favicon.ico"}}" />-->
<script type="text/javascript" src="{{asset "libraries/jquery/jquery-1.11.3.min.js"}}"></script>
<script src="{{asset "libraries/less/less.min.js"}}"></script>


Loading…
Cancel
Save