Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ nav:
articles: /archives/
projects: http://github.com/probberechts


# Links to your social media accounts.
# The 'icon' keys should correspond to Fontawesome icon names
# (see https://fontawesome.com/icons?d=gallery&s=brands);
Expand Down Expand Up @@ -122,13 +121,13 @@ logo:
# - gravatar: whether to create a favicon from your Gravatar
favicon:
desktop:
url: /images/favicon.ico
url: /images/icons/favicon.ico
gravatar: false
android:
url: /images/favicon-192x192.png
url: /images/icons/favicon-192x192.png
gravatar: false
apple:
url: /images/apple-touch-icon.png
url: /images/icons/apple-touch-icon.png
gravatar: false

# The color scheme that should be used to highlight codeblocks.
Expand Down Expand Up @@ -202,6 +201,10 @@ umami_analytics:
host: https://analytics.domain.com
script_name: umami.js

# Enable Simple Analytics, no id or host needed
simple_analytics:
enabled: false

# Fill in you Gravatar email or hash if you want to use your gravatar as the
# logo and/or favicons of you website.
# To generate hash: `$ echo -n "name@email.com" | md5`.
Expand Down
10 changes: 8 additions & 2 deletions layout/_partial/scripts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
<% if (theme.cloudflare_analytics.enabled && theme.cloudflare_analytics.id){ %>
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "<%= theme.cloudflare_analytics.id %>"}'></script>
<% } %>
<!-- Simple Analytics -->
<% if (theme.simple_analytics.enabled){ %>
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""
referrerpolicy="no-referrer-when-downgrade" /></noscript>
<% } %>
<!-- Disqus Comments -->
<% if (page.comments && theme.disqus.enabled && theme.disqus.shortname){ %>
<script type="text/javascript">
Expand Down Expand Up @@ -123,12 +129,12 @@

script.src = 'https://utteranc.es/client.js';
script.setAttribute('repo', utterances_repo);
script.setAttribute('issue-term', 'pathname');
script.setAttribute('issue-term', utterances_issue_term);
script.setAttribute('label', utterances_label);
script.setAttribute('theme', utterances_theme);
script.setAttribute('crossorigin', 'anonymous');
script.async = true;
(document.getElementById('utterances_thread')).appendChild(script);
}());
</script>
<% } %>
<% } %>