# How to add a favicon to gh-pages theme

**URL:** <https://talk.jekyllrb.com/t/how-to-add-a-favicon-to-gh-pages-theme/4345>\
**Category:** Uncategorized\
**Created:** [May 3, 2020, 9:46pm UTC](https://talk.jekyllrb.com/t/how-to-add-a-favicon-to-gh-pages-theme/4345 "2020-05-03T21:46:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![futurelucas4502](https://avatars.discourse-cdn.com/v4/letter/f/cdc98d/32.png) [@futurelucas4502](https://talk.jekyllrb.com/u/futurelucas4502)\
**Post date:** [May 3, 2020, 9:46pm UTC](https://talk.jekyllrb.com/t/how-to-add-a-favicon-to-gh-pages-theme/4345/1 "2020-05-03T21:46:41Z")

</div>

I’m new to jekyll and would like to set a favicon for my gh-pages site however the site is using the cayman template and therefore I’m using markdown so I’m not sure how I would go about setting the favicon can anyone help me?

---

<div class="post-metadata">

**Author:** ![jhvanderschee](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jhvanderschee/32/583_2.png) [@jhvanderschee](https://talk.jekyllrb.com/u/jhvanderschee)\
**Post date:** [May 4, 2020, 8:19am UTC](https://talk.jekyllrb.com/t/how-to-add-a-favicon-to-gh-pages-theme/4345/2 "2020-05-04T08:19:14Z")

</div>

Add this to your head:

```auto
<link rel="shortcut icon" type="image/png" href="/img/icon-192x192.png">
<link rel="shortcut icon" sizes="192x192" href="/img/icon-192x192.png">
<link rel="apple-touch-icon" href="/img/icon-192x192.png">

```

> <https://stackoverflow.com/questions/2268204/favicon-dimensions/48646940#48646940>
