Skip to content

Commit

Permalink
bump to gtd 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yoda authored and clearbluejar committed Oct 27, 2023
1 parent 9bc1881 commit 02b9e7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source 'https://rubygems.org'
gem "jekyll", "~> 4.3.2" # installed by `gem jekyll`
gem "webrick" # required when using Ruby >= 3

gem "just-the-docs", "0.6.2"
gem "just-the-docs", "0.7.0"
gem "jekyll-relative-links"
gem "jekyll-sitemap"
gem "jekyll-seo-tag"
Expand Down
10 changes: 7 additions & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
site.search_enabled, site.static_files, site.favicon_ico.
Results in: HTML for the head element.
Includes:
head_nav.html, head_custom.html.
css/activation.scss.liquid, head_custom.html.
Overwrites:
ga_tracking_ids, ga_property, file, favicon.
Should not be cached, because included files depend on page.
Expand All @@ -20,14 +20,18 @@
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-dark.css' | relative_url }}"
media="(prefers-color-scheme: dark)">

{% include head_nav.html %}
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-head-nav.css' | relative_url }}" id="jtd-head-nav-stylesheet">

<style id="jtd-nav-activation">
{% include css/activation.scss.liquid %}
</style>

{% if site.ga_tracking != nil %}
{% assign ga_tracking_ids = site.ga_tracking | split: "," %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ ga_tracking_ids.first }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

{% for ga_property in ga_tracking_ids %}
Expand Down

0 comments on commit 02b9e7d

Please sign in to comment.