Skip to content

Commit

Permalink
Merge pull request #38 from Lednerb/fix-favicon
Browse files Browse the repository at this point in the history
Implemented a favicon. Fixes #37
  • Loading branch information
Lednerb authored Nov 28, 2017
2 parents 831b2b7 + e5f1437 commit ec54f18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Binary file added exampleSite/static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added exampleSite/static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<meta name="keywords" content="{{ .Site.Params.keywords }}">
{{ .Hugo.Generator }}

<link rel="icon" type="image/png" href="{{ "/favicon-32x32.png" | relURL }}" sizes="32x32">
<link rel="icon" type="image/png" href="{{ "/favicon-16x16.png" | relURL }}" sizes="16x16">

<link rel="stylesheet" href="{{ "dist/theme.css" | relURL }}">

<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.2.1/dist/instantsearch.min.css">
Expand All @@ -30,7 +33,7 @@
{{ partial "footer" . }}

{{ template "_internal/google_analytics_async.html" . }}

{{ if and (isset .Site.Params "enable_mathjax") (eq .Site.Params.enable_mathjax true) }}
{{ partial "mathjax" . }}
{{ end }}
Expand Down

0 comments on commit ec54f18

Please sign in to comment.