Skip to content

Commit

Permalink
custom favicon (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
muhrifqii committed Aug 18, 2020
1 parent 32389ef commit 61a9d7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions exampleSite/config.yaml
Expand Up @@ -39,6 +39,7 @@ params:
logo:
main: /assets/images/main-logo.png
inverted: /assets/images/inverted-logo.png
favicon: /assets/images/favicon.png

# GitHub repo URL of your site
gitRepo: https://github.com/hossainemruz/toha-example-site
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Expand Up @@ -13,7 +13,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" />

<!--================= fab-icon =========================-->
<link rel="icon" type="image/png" href="/assets/images/favicon.png" />
<link rel="icon" type="image/png" href="{{ .Site.Params.logo.favicon | default "/assets/images/favicon.png"}}" />

<!--================= custom style overrides =========================-->
<link rel="stylesheet" href="/assets/css/style.css" />

0 comments on commit 61a9d7a

Please sign in to comment.