1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Make configuration more flexible.

This commit is contained in:
Cotes Chung
2019-12-19 03:33:43 +08:00
parent 3422e2a66f
commit 1f8bfdf257
3 changed files with 10 additions and 5 deletions

View File

@@ -31,9 +31,9 @@
<link rel="preconnect" href="https://www.googletagmanager.com" crossorigin="anonymous">
<link rel="dns-prefetch" href="https://www.googletagmanager.com">
{% if site.google_analytics.proxy_url and site.google_analytics.pv %}
<link rel="preconnect" href="{{ site.google_analytics.proxy_url }}" crossorigin="use-credentials">
<link rel="dns-prefetch" href="{{ site.google_analytics.proxy_url }}">
{% if site.google_analytics.proxy_baseurl and site.google_analytics.pv %}
<link rel="preconnect" href="{{ site.google_analytics.proxy_baseurl }}" crossorigin="use-credentials">
<link rel="dns-prefetch" href="{{ site.google_analytics.proxy_baseurl }}">
{% endif %}
{% endif %}