From 4bf69fe1a3aa716083ab32014161b3b15b2fe8de Mon Sep 17 00:00:00 2001 From: Sachin KM Date: Fri, 10 May 2024 18:24:41 +0200 Subject: [PATCH 1/3] added google analytics --- _config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 9a63043d2bec..e6f84872e066 100644 --- a/_config.yml +++ b/_config.yml @@ -103,9 +103,9 @@ social: # Analytics analytics: - provider: false # false (default), "google", "google-universal", "google-gtag", "custom" + provider: 'google-gtag' # false (default), "google", "google-universal", "google-gtag", "custom" google: - tracking_id: + tracking_id: 'G-5PBY97M4CY' anonymize_ip: # true, false (default) # Site Author From cd267fcf58afd1b3e9c05f58a5c64efc3282a9a3 Mon Sep 17 00:00:00 2001 From: Sachin KM Date: Fri, 10 May 2024 19:03:26 +0200 Subject: [PATCH 2/3] add google analytics --- _config.yml | 4 ++-- _includes/analytics.html | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index e6f84872e066..45d27f560ef1 100644 --- a/_config.yml +++ b/_config.yml @@ -103,9 +103,9 @@ social: # Analytics analytics: - provider: 'google-gtag' # false (default), "google", "google-universal", "google-gtag", "custom" + provider: "google-gtag" # false (default), "google", "google-universal", "google-gtag", "custom" google: - tracking_id: 'G-5PBY97M4CY' + tracking_id: "G-5PBY97M4CY" anonymize_ip: # true, false (default) # Site Author diff --git a/_includes/analytics.html b/_includes/analytics.html index 371469f0af9b..14e061736fcb 100644 --- a/_includes/analytics.html +++ b/_includes/analytics.html @@ -1,4 +1,5 @@ -{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %} + +{% if jekyll.environment == 'production' and site.analytics.provider %} {% case site.analytics.provider %} {% when "google" %} @@ -11,4 +12,4 @@ {% include /analytics-providers/custom.html %} {% endcase %} -{% endif %} \ No newline at end of file +{% endif %} From 47774fa3473ad530cf1805a703ffd9ed88b45f22 Mon Sep 17 00:00:00 2001 From: Sachin KM Date: Sat, 11 May 2024 18:06:45 +0200 Subject: [PATCH 3/3] test google-tag --- ...-05-15-edge-case-nested-and-mixed-lists.md | 50 ++++++++++--------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/docs/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md b/docs/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md index a8dccf09c792..486717355124 100644 --- a/docs/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md +++ b/docs/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md @@ -12,15 +12,17 @@ tags: Nested and mixed lists are an interesting beast. It's a corner case to make sure that -* Lists within lists do not break the ordered list numbering order -* Your list styles go deep enough. +#### test + +- Lists within lists do not break the ordered list numbering order +- Your list styles go deep enough. ### Ordered -- Unordered -- Ordered 1. ordered item -2. ordered item - * **unordered** - * **unordered** +2. ordered item + - **unordered** + - **unordered** 1. ordered item 2. ordered item 3. ordered item @@ -29,38 +31,38 @@ Nested and mixed lists are an interesting beast. It's a corner case to make sure ### Ordered -- Unordered -- Unordered 1. ordered item -2. ordered item - * **unordered** - * **unordered** - * unordered item - * unordered item +2. ordered item + - **unordered** + - **unordered** + - unordered item + - unordered item 3. ordered item 4. ordered item ### Unordered -- Ordered -- Unordered -* unordered item -* unordered item +- unordered item +- unordered item 1. ordered - 2. ordered - * unordered item - * unordered item -* unordered item -* unordered item + 2. ordered + - unordered item + - unordered item +- unordered item +- unordered item ### Unordered -- Unordered -- Ordered -* unordered item -* unordered item - * unordered - * unordered +- unordered item +- unordered item + - unordered + - unordered 1. **ordered item** 2. **ordered item** -* unordered item -* unordered item +- unordered item +- unordered item ### Task Lists - [x] Finish my changes - [ ] Push my commits to GitHub -- [ ] Open a pull request \ No newline at end of file +- [ ] Open a pull request