Added GA track js and fix publication link issue

This commit is contained in:
2024-04-20 23:06:24 +00:00
parent 69561119fa
commit ac2c4c09ef
4 changed files with 18 additions and 2 deletions
+4 -1
View File
@@ -2,4 +2,7 @@ source "https://rubygems.org"
gem 'github-pages'
# this gem provides regeneration support improvements on Windows
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
gem "webrick"
gem "rexml", "~> 3.2"
+4
View File
@@ -242,6 +242,7 @@ GEM
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.6)
rouge (3.13.0)
ruby-enum (0.8.0)
i18n
@@ -264,6 +265,7 @@ GEM
tzinfo (1.2.11)
thread_safe (~> 0.1)
unicode-display_width (1.7.0)
webrick (1.8.1)
zeitwerk (2.6.6)
PLATFORMS
@@ -272,6 +274,8 @@ PLATFORMS
DEPENDENCIES
github-pages
rexml (~> 3.2)
webrick
BUNDLED WITH
2.1.4
+9
View File
@@ -15,4 +15,13 @@
<link rel="stylesheet" href="css/main.css">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MNP4QN1T9T"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-MNP4QN1T9T');
</script>
</head>
+1 -1
View File
@@ -71,7 +71,7 @@
{% for publication in site.data.publications %}
<div class="resume-item" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="creator" content="{{ site.resume_name }}" itemtype="http://schema.org/Person" />
<h3 class="resume-item-copy" itemprop="name">{% if publication.url %}<a href="{{ project.url }}" itemprop="url">{{ publication.name }}</a>{% else %}{{ publication.name }}{% endif %}</h3>
<h3 class="resume-item-copy" itemprop="name">{% if publication.url %}<a href="{{ publication.url }}" itemprop="url">{{ publication.name }}</a>{% else %}{{ publication.name }}{% endif %}</h3>
<p class="resume-item-copy">{{ publication.description }}</p>
</div>
{% endfor %}