From c1881274f5ce06348e7f71ea09d022ec670f8eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quang=20Th=E1=BA=AFng?= <35835961+thangisme@users.noreply.github.com> Date: Tue, 15 Dec 2020 14:20:59 +0700 Subject: [PATCH 1/7] Update just-the-docs.gemspec --- just-the-docs.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/just-the-docs.gemspec b/just-the-docs.gemspec index 6d467e2..21414bd 100644 --- a/just-the-docs.gemspec +++ b/just-the-docs.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(assets|bin|_layouts|_includes|lib|Rakefile|_sass|LICENSE|README)}i) } spec.executables << 'just-the-docs' - spec.add_development_dependency "bundler", "~> 2.1.4" + spec.add_development_dependency "bundler", ">= 2.1.4" spec.add_runtime_dependency "jekyll", ">= 3.8.5" spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.0" spec.add_runtime_dependency "rake", ">= 12.3.1", "< 13.1.0" From 02db91cc8282fa4698f859a38981885adffb44d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quang=20Th=E1=BA=AFng?= <35835961+thangisme@users.noreply.github.com> Date: Tue, 15 Dec 2020 19:29:16 +0700 Subject: [PATCH 2/7] Create CNAME --- CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..1721c5d --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +notes.quangthang.men \ No newline at end of file From cbeac1900f150a4e73d101713b91252ce5fef43e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quang=20Th=E1=BA=AFng?= <35835961+thangisme@users.noreply.github.com> Date: Tue, 15 Dec 2020 20:04:44 +0700 Subject: [PATCH 3/7] Add Cloudflare Analytics --- _includes/footer_custom.html | 1 + 1 file changed, 1 insertion(+) diff --git a/_includes/footer_custom.html b/_includes/footer_custom.html index 64e08c2..e192428 100644 --- a/_includes/footer_custom.html +++ b/_includes/footer_custom.html @@ -1,3 +1,4 @@ {%- if site.footer_content -%}

{{ site.footer_content }}

+ {%- endif -%} From 0318837809b3bd89afbadb02c83d190fa19435f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Dec 2020 13:06:35 +0000 Subject: [PATCH 4/7] Bump ini from 1.3.5 to 1.3.8 Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8) Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index ea7a3f8..cfde3b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "just-the-docs", - "version": "0.3.2", + "version": "0.3.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2309,9 +2309,9 @@ "dev": true }, "ini": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true }, "invert-kv": { From 7b121af72e0a56df1c1515f462894cb8fd731bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quang=20Th=E1=BA=AFng?= <35835961+thangisme@users.noreply.github.com> Date: Tue, 15 Dec 2020 20:29:18 +0700 Subject: [PATCH 5/7] Update _config.yml --- _config.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index 284e8b2..ab1f91c 100644 --- a/_config.yml +++ b/_config.yml @@ -100,10 +100,9 @@ gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into t # Color scheme currently only supports "dark", "light"/nil (default), or a custom scheme that you define color_scheme: nil -# Google Analytics Tracking (optional) -# e.g, UA-1234567-89 -ga_tracking: UA-2709176-10 -ga_tracking_anonymize_ip: true # Use GDPR compliant Google Analytics settings (true/nil by default) +# Cloudflare Analytics + +cf_tracking: a3bc8207481e41caad5cb16558187c6b plugins: - jekyll-seo-tag From 2187762d715d3b70fa7f484cfc548b0edcc5e1ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quang=20Th=E1=BA=AFng?= <35835961+thangisme@users.noreply.github.com> Date: Tue, 15 Dec 2020 20:30:52 +0700 Subject: [PATCH 6/7] CF Analytics is now optional --- _includes/footer_custom.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/_includes/footer_custom.html b/_includes/footer_custom.html index e192428..25936e4 100644 --- a/_includes/footer_custom.html +++ b/_includes/footer_custom.html @@ -1,4 +1,9 @@ {%- if site.footer_content -%} -

{{ site.footer_content }}

- + {% if site.cf_tracking != nil %} +

{{ site.footer_content }}

+ + + + {% endif %} {%- endif -%} From 7f364836c0c3c90f52d2f6008fbf8a5874e1ba70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quang=20Th=E1=BA=AFng?= <35835961+thangisme@users.noreply.github.com> Date: Tue, 15 Dec 2020 20:31:46 +0700 Subject: [PATCH 7/7] Fix condition body --- _includes/footer_custom.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/footer_custom.html b/_includes/footer_custom.html index 25936e4..649f583 100644 --- a/_includes/footer_custom.html +++ b/_includes/footer_custom.html @@ -1,6 +1,6 @@ {%- if site.footer_content -%} +

{{ site.footer_content }}

{% if site.cf_tracking != nil %} -

{{ site.footer_content }}