Skip to content

Commit

Permalink
Google Analytics (#90)
Browse files Browse the repository at this point in the history
* Trying analytics

* Fixing google analytics
  • Loading branch information
KasukabeDefenceForce authored Jun 19, 2024
1 parent 57ddf80 commit f9eb84d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
title: TARDIS
baseURL: https://tardis-sn.github.io/
canonifyurls: true
services:
googleAnalytics:
ID: G-53HJHD1BWS
params:
base_font: nunito-sans
palette: blue
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<header id="masthead" class="site-header outer">
<div class="inner">
<div class="site-header-inside">
<head>{{ template "_internal/google_analytics.html" . }}</head>
<div class="site-branding">
{{ if .Site.Params.header.logo_img }}
<p class="site-logo"><a href='{{ "/" | relURL }}'><img src="{{ $.Site.Params.header.logo_img | relURL }}" alt="{{ $.Site.Params.header.logo_img_alt }}" /></a></p>
Expand Down

0 comments on commit f9eb84d

Please sign in to comment.