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
+3
View File
@@ -3,3 +3,6 @@ source "https://rubygems.org"
gem 'github-pages' gem 'github-pages'
# this gem provides regeneration support improvements on Windows # 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-fsevent (0.10.4)
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
rexml (3.2.6)
rouge (3.13.0) rouge (3.13.0)
ruby-enum (0.8.0) ruby-enum (0.8.0)
i18n i18n
@@ -264,6 +265,7 @@ GEM
tzinfo (1.2.11) tzinfo (1.2.11)
thread_safe (~> 0.1) thread_safe (~> 0.1)
unicode-display_width (1.7.0) unicode-display_width (1.7.0)
webrick (1.8.1)
zeitwerk (2.6.6) zeitwerk (2.6.6)
PLATFORMS PLATFORMS
@@ -272,6 +274,8 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
github-pages github-pages
rexml (~> 3.2)
webrick
BUNDLED WITH BUNDLED WITH
2.1.4 2.1.4
+9
View File
@@ -15,4 +15,13 @@
<link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/main.css">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> <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" /> <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> </head>
+1 -1
View File
@@ -71,7 +71,7 @@
{% for publication in site.data.publications %} {% for publication in site.data.publications %}
<div class="resume-item" itemscope itemtype="http://schema.org/CreativeWork"> <div class="resume-item" itemscope itemtype="http://schema.org/CreativeWork">
<meta itemprop="creator" content="{{ site.resume_name }}" itemtype="http://schema.org/Person" /> <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> <p class="resume-item-copy">{{ publication.description }}</p>
</div> </div>
{% endfor %} {% endfor %}