Skip to content

Commit

Permalink
[#897] Report: favicon not showing on github pages (#898)
Browse files Browse the repository at this point in the history
Modern browsers automatically try to load the favicon from the root of
the website.

However, for GitHub pages, our favicon is not located in the root but in
another path.

Let's explicitly add a link to our favicon resource so that it gets
displayed.
  • Loading branch information
Tejas2805 authored and yong24s committed Sep 30, 2019
1 parent 303f410 commit 0572af7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/index.pug
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
html
head
title RepoSense Report
link(rel="shortcut icon" type="image/x-icon" href="favicon.ico")
link(rel="stylesheet", href="https://fonts.googleapis.com/css?family=Titillium+Web")
link(rel="stylesheet", href="https://cdn.jsdelivr.net/npm/normalize.css@8.0/normalize.min.css")
link(rel="stylesheet", href="https://cdn.jsdelivr.net/npm/muicss@0.9/dist/css/mui.min.css")
Expand Down

0 comments on commit 0572af7

Please sign in to comment.