Skip to content

Commit

Permalink
favicon added
Browse files Browse the repository at this point in the history
  • Loading branch information
impratikjaiswal committed Nov 28, 2023
1 parent 9bd5c52 commit a3511c4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins:
remote_theme: pages-themes/architect@v0.2.0

# }**************************************************{
# title: [Excel Play]
title: [Excel Play]
description: Bookmark this to keep an eye on my project updates!

# }**************************************************{
Expand Down
10 changes: 10 additions & 0 deletions _includes/head-custom-google-analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
9 changes: 9 additions & 0 deletions _includes/head-custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->

<!-- Setup Google Analytics -->
{% include head-custom-google-analytics.html %}

<!-- You can set your favicon here -->
<link rel="shortcut icon" type="image/x-icon" href="{{ '/static/images/favicon.ico' }}">

<!-- end custom head snippets -->
Binary file added static/images/favicon.ico
Binary file not shown.

0 comments on commit a3511c4

Please sign in to comment.