Skip to content

Commit

Permalink
fix matcornic#130: favicon works now with baseURL
Browse files Browse the repository at this point in the history
  • Loading branch information
matcornic committed Feb 20, 2018
1 parent 72b9401 commit e28290e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
baseURL = "/"
baseURL = "localhost:1313/test"
languageCode = "en-US"
defaultContentLanguage = "en"

Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/favicon.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<link rel="shortcut icon" href="/images/favicon.png" type="image/x-icon" />
<link rel="icon" href="/images/favicon.png" type="image/x-icon" />
<link rel="shortcut icon" href="{{"images/favicon.png" | relURL}}" type="image/x-icon" />
<link rel="icon" href="{{"images/favicon.png" | relURL}}" type="image/x-icon" />

0 comments on commit e28290e

Please sign in to comment.