From b9bb26312deafb298878198c27ab16757f89e222 Mon Sep 17 00:00:00 2001 From: Quang Thang Date: Wed, 27 Jan 2021 18:34:27 +0700 Subject: [PATCH] Replaced Cloudflare analytics with Mamato --- _config.yml | 6 ++++-- _includes/footer_custom.html | 27 ++++++++++++++++++++++----- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index d2195f5..ca1fba2 100644 --- a/_config.yml +++ b/_config.yml @@ -100,9 +100,11 @@ 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 -# Cloudflare Analytics +# Mamato Analytics -cf_tracking: a3bc8207481e41caad5cb16558187c6b +mamato_enabled: true +mamato_url: "https://track.quangthang.men" +mamato_site_id: 2 # Katex katex: diff --git a/_includes/footer_custom.html b/_includes/footer_custom.html index 649f583..37c2a80 100644 --- a/_includes/footer_custom.html +++ b/_includes/footer_custom.html @@ -1,9 +1,26 @@ {%- if site.footer_content -%}

{{ site.footer_content }}

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