From 0f5715ab445d3795a9912e61e034701e5607797c Mon Sep 17 00:00:00 2001 From: yahaha-233 Date: Wed, 12 Jul 2023 19:50:46 -0700 Subject: [PATCH 1/2] Remove repeated layout template of cv.html --- _layouts/cv.html | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/_layouts/cv.html b/_layouts/cv.html index 55bcd77002e9..cf8ef48137f0 100644 --- a/_layouts/cv.html +++ b/_layouts/cv.html @@ -4,45 +4,6 @@ {% unless site.data.resume %}
-
- -
-

{{ page.title }} {% if page.cv_pdf %}{% endif %}

- {% if page.description %}

{{ page.description }}

{% endif %} -
- -

Table of contents

- - -
-
- {% for entry in site.data.cv %} - -
-

{{ entry.title }}

-
- {% if entry.type == "list" %} - {% include cv/list.html %} - {% elsif entry.type == "map" %} - {% include cv/map.html %} - {% elsif entry.type == "nested_list" %} - {% include cv/nested_list.html %} - {% elsif entry.type == "time_table" %} - {% include cv/time_table.html %} - {% elsif entry.type == "list_groups" %} - {% include cv/list_groups.html %} - {% else %} - {{ entry.contents }} - {% endif %} -
-
- {% endfor %} -
-

{{ page.title }} {% if page.cv_pdf %}{% endif %}

From 4545a91ba91351f0e51b6751f126fa466a5bf762 Mon Sep 17 00:00:00 2001 From: yahaha-233 Date: Thu, 13 Jul 2023 20:59:12 -0700 Subject: [PATCH 2/2] Change analytics script from Panelbear to Cronitor --- _config.yml | 4 ++-- _includes/scripts/analytics.html | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index 9bd703e9da2b..2fb3b4db713c 100644 --- a/_config.yml +++ b/_config.yml @@ -113,7 +113,7 @@ contact_note: > # ----------------------------------------------------------------------------- google_analytics: # your Google Analytics measurement ID (format: G-XXXXXXXXXX) -panelbear_analytics: # panelbear analytics site ID (format: XXXXXXXXX) +cronitor_analytics: # cronitor RUM analytics site ID (format: XXXXXXXXX) google_site_verification: # your google-site-verification ID (Google Search Console) bing_site_verification: # out your bing-site-verification ID (Bing Webmaster) @@ -356,7 +356,7 @@ jekyll-diagrams: # ----------------------------------------------------------------------------- enable_google_analytics: false # enables google analytics -enable_panelbear_analytics: false # enables panelbear analytics +enable_cronitor_analytics: false # enables cronitor RUM analytics enable_google_verification: false # enables google site verification enable_bing_verification: false # enables bing site verification enable_masonry: true # enables automatic project cards arrangement diff --git a/_includes/scripts/analytics.html b/_includes/scripts/analytics.html index db2aeef96cd0..119617a5fe49 100644 --- a/_includes/scripts/analytics.html +++ b/_includes/scripts/analytics.html @@ -8,11 +8,11 @@ gtag('config', '{{ site.google_analytics }}'); {%- endif -%} -{%- if site.enable_panelbear_analytics -%} - - +{%- if site.enable_cronitor_analytics -%} + + {%- endif -%}