This commit is contained in:
samaradel
2023-12-11 16:08:42 +02:00
parent 472f55327e
commit e3e7464858
3 changed files with 89 additions and 97 deletions

View File

@@ -6,12 +6,12 @@ title = "ThreeFold"
description="Our global digital backbone" description="Our global digital backbone"
# When set to "true", a feed is automatically generated. # When set to "true", a feed is automatically generated.
# generate_feed = true generate_feed = true
# The filename to use for the feed. Used as the template filename, too. # The filename to use for the feed. Used as the template filename, too.
# Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed. # Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed.
# There is also a built-in template "rss.xml" that renders an RSS 2.0 feed. # There is also a built-in template "rss.xml" that renders an RSS 2.0 feed.
# feed_filename = "index.xml" feed_filename = "atom.xml"
# The number of articles to include in the feed. All items are included if # The number of articles to include in the feed. All items are included if
# this limit is not set (the default). # this limit is not set (the default).

View File

@@ -1,7 +1,9 @@
--- ---
title: "Blog" title: "Blog"
paginate_by: 9 paginate_by: 9
# paginate_reversed: false # paginate_reversed: false
sort_by: "date" sort_by: "date"
insert_anchor_links: "left" insert_anchor_links: "left"
#base_url: "posts" #base_url: "posts"
@@ -10,6 +12,7 @@ insert_anchor_links: "left"
template: "layouts/blog.html" template: "layouts/blog.html"
page_template: "blogPage.html" page_template: "blogPage.html"
#transparent: true #transparent: true
generate_feed: true
extra: extra:
imgPath: images/threefold_img2.png imgPath: images/threefold_img2.png
--- ---

View File

@@ -3,87 +3,80 @@
{% set xFmPart2 = ',x_0,z_1/' %} {% set xFmPart2 = ',x_0,z_1/' %}
{% set fallbackImg = 'typewriter-monochrome_2242164_6260x4374.jpg' %} {% set fallbackImg = 'typewriter-monochrome_2242164_6260x4374.jpg' %}
{% set zolaVer = '0.13.0' %} {% set zolaVer = '0.13.0' %}
<head> <head>
<link rel="icon" type="image/x-icon" href="{{ get_url(path='images/icons/favicon.png')}}"> <link rel="icon" type="image/x-icon" href="{{ get_url(path='images/icons/favicon.png')}}">
{% block title %} {% block title %}
<title>{{ config.title }}</title> <title>{{ config.title }}</title>
<meta property="og:type" content="website" /> <meta property="og:type" content="website">
<meta property="og:site_name" content="{{ config.base_url }}" /> <meta property="og:site_name" content="{{ config.base_url }}">
{% if section.title %}
{% if section.title %} <title>{{ section.title }}</title>
<title>{{ section.title }}</title> <meta property="og:title" content="{{ section.title }}">
<meta property="og:title" content="{{ section.title }}" /> {% elif page.title %}
{% elif page.title %} <title>{{ page.title }}</title>
<title>{{ page.title }}</title> <meta property="og:title" content="{{ page.title }}">
<meta property="og:title" content="{{ page.title }}" /> {%endif%}
{%endif%}
{%if section.extra.imgPath %} {%if section.extra.imgPath %}
<meta name="image" content="{{section.permalink}}{{ section.extra.imgPath }}" /> <meta name="image" content="{{section.permalink}}{{ section.extra.imgPath }}">
<meta property="og:image" content="{{section.permalink}}{{ section.extra.imgPath }}" /> <meta property="og:image" content="{{section.permalink}}{{ section.extra.imgPath }}">
<meta property="twitter:image" content="{{section.permalink}}{{ section.extra.imgPath }}" /> <meta property="twitter:image" content="{{section.permalink}}{{ section.extra.imgPath }}">
{% elif page.extra.imgPath %} {% elif page.extra.imgPath %}
<meta name="image" content="{{page.permalink}}{{ page.extra.imgPath }}" /> <meta name="image" content="{{page.permalink}}{{ page.extra.imgPath }}">
<meta property="og:image" content="{{page.permalink}}{{ page.extra.imgPath }}" /> <meta property="og:image" content="{{page.permalink}}{{ page.extra.imgPath }}">
<meta property="twitter:image" content="{{page.permalink}}{{ page.extra.imgPath }}" /> <meta property="twitter:image" content="{{page.permalink}}{{ page.extra.imgPath }}">
{%endif%} {%endif%}
{%if section.description%} {%if section.description%}
<meta name="description" content="{{ section.description }}" /> <meta name="description" content="{{ section.description }}">
<meta property="og:description" content="{{ section.description }}" /> <meta property="og:description" content="{{ section.description }}">
<meta property="twitter:description" content="{{ section.description }}" /> <meta property="twitter:description" content="{{ section.description }}">
{%elif page.description%} {%elif page.description%}
<meta name="description" content="{{ page.description }}" /> <meta name="description" content="{{ page.description }}">
<meta property="og:description" content="{{ page.description }}" /> <meta property="og:description" content="{{ page.description }}">
<meta property="twitter:description" content="{{ page.description }}" /> <meta property="twitter:description" content="{{ page.description }}">
{%endif%} {%endif%}
<meta name="twitter:card" content="summary">
<meta name="twitter:card" content="summary" /> {% endblock title %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
{% endblock title %} <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/brands.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" /> <!-- Cookie Consent by https://www.FreePrivacyPolicy.com -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/brands.min.css" /> <script type="text/javascript" src="//www.freeprivacypolicy.com/public/cookie-consent/4.0.0/cookie-consent.js" charset="UTF-8"></script>
<!-- Cookie Consent by https://www.FreePrivacyPolicy.com --> <script type="text/javascript" charset="UTF-8">
<script type="text/javascript" src="//www.freeprivacypolicy.com/public/cookie-consent/4.0.0/cookie-consent.js"
charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8">
document.addEventListener('DOMContentLoaded', function () { document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({ "notice_banner_type": "headline", "consent_type": "express", "palette": "light", "language": "en", "page_load_consent_levels": ["strictly-necessary"], "notice_banner_reject_button_hide": false, "preferences_center_close_button_hide": false, "website_name": "https://threefold.io/", "website_privacy_policy_url": "https://library.threefold.me/info/legal/#/legal__privacypolicy" }); cookieconsent.run({ "notice_banner_type": "headline", "consent_type": "express", "palette": "light", "language": "en", "page_load_consent_levels": ["strictly-necessary"], "notice_banner_reject_button_hide": false, "preferences_center_close_button_hide": false, "website_name": "https://threefold.io/", "website_privacy_policy_url": "https://library.threefold.me/info/legal/#/legal__privacypolicy" });
}); });
</script> </script>
<!-- Google Tag Manager --> <!-- Google Tag Manager -->
<script>(function (w, d, s, l, i) { <script>(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({ w[l] = w[l] || []; w[l].push({
'gtm.start': 'gtm.start':
new Date().getTime(), event: 'gtm.js' new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0], }); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-N7PNMFH');</script> })(window, document, 'script', 'dataLayer', 'GTM-N7PNMFH');
<!-- End Google Tag Manager --> </script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics --> <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-100065546-1"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-100065546-1"></script>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); } function gtag() { dataLayer.push(arguments); }
gtag('js', new Date()); gtag('js', new Date());
gtag('config', 'UA-100065546-1'); gtag('config', 'UA-100065546-1');
</script> </script>
<!-- Matomo Tag Manager -->
<!-- Matomo Tag Manager --> <script>
<script>
var _mtm = window._mtm = window._mtm || []; var _mtm = window._mtm = window._mtm || [];
_mtm.push({ 'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start' }); _mtm.push({ 'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start' });
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0]; var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
g.async = true; g.src = 'https://analytics.threefold.io/js/container_KIcuIdn4.js'; s.parentNode.insertBefore(g, s); g.async = true; g.src = 'https://analytics.threefold.io/js/container_KIcuIdn4.js'; s.parentNode.insertBefore(g, s);
</script> </script>
<!-- End Matomo Tag Manager --> <!-- End Matomo Tag Manager -->
<!-- Crisp -->
<!-- Crisp --> <script type="text/plain" cookie-consent="tracking">
<script type="text/plain" cookie-consent="tracking">
window.$crisp = []; window.$crisp = [];
window.CRISP_WEBSITE_ID = "1a5a5241-91cb-4a41-8323-5ba5ec574da0"; window.CRISP_WEBSITE_ID = "1a5a5241-91cb-4a41-8323-5ba5ec574da0";
(function () { (function () {
@@ -93,10 +86,9 @@
s.async = 1; s.async = 1;
d.getElementsByTagName("head")[0].appendChild(s); d.getElementsByTagName("head")[0].appendChild(s);
})(); })();
</script> </script>
<!-- Crisp without cookies -->
<!-- Crisp without cookies --> <!-- <script type="text/javascript" cookie-consent="tracking">
<!-- <script type="text/javascript" cookie-consent="tracking">
window.$crisp = []; window.$crisp = [];
window.CRISP_WEBSITE_ID = "1a5a5241-91cb-4a41-8323-5ba5ec574da0"; window.CRISP_WEBSITE_ID = "1a5a5241-91cb-4a41-8323-5ba5ec574da0";
(function () { (function () {
@@ -107,29 +99,20 @@
d.getElementsByTagName("head")[0].appendChild(s); d.getElementsByTagName("head")[0].appendChild(s);
})(); })();
</script> --> </script> -->
<!-- end of Crisp--> <!-- end of Crisp-->
<!-- Required meta tags -->
<!-- Required meta tags --> <meta charset="utf-8">
<meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- **** BEGINNING, favicons **** -->
<!-- generics -->
<!-- **** BEGINNING, favicons **** --> <!-- iOS -->
<!-- Android -->
<!-- generics --> <!-- Windows 8, IE 10 -->
<!-- Windows 8.1 and up, IE 11 -->
<!-- iOS --> <!-- **** CONCLUSION, favicons **** -->
<!-- CSS/SCSS -->
<!-- Android --> <link rel="stylesheet" href="{{ get_url(path='css/index.css', trailing_slash=false, cachebust=true) | safe }}">
<style>
<!-- Windows 8, IE 10 -->
<!-- Windows 8.1 and up, IE 11 -->
<!-- **** CONCLUSION, favicons **** -->
<!-- CSS/SCSS -->
<link rel="stylesheet" href="{{ get_url(path="css/index.css", trailing_slash=false, cachebust=true) | safe }}" />
<style>
.space-x-10>:not([hidden])~:not([hidden]){ .space-x-10>:not([hidden])~:not([hidden]){
margin-left: calc(1.5rem*calc(1 - var(--tw-space-x-reverse)))!important; margin-left: calc(1.5rem*calc(1 - var(--tw-space-x-reverse)))!important;
} }
@@ -154,13 +137,10 @@
margin-left: calc(2rem*calc(1 - var(--tw-space-x-reverse)))!important; margin-left: calc(2rem*calc(1 - var(--tw-space-x-reverse)))!important;
} }
} }
</style> </style>
<script type='text/javascript' <script type="text/javascript" src="https://platform-api.sharethis.com/js/sharethis.js#property=62556aac80366d0019fc1af2&product=sop" async="async"></script>
src='https://platform-api.sharethis.com/js/sharethis.js#property=62556aac80366d0019fc1af2&product=sop' <!-- MailerLite Universal -->
async='async'></script> <script>
<!-- MailerLite Universal -->
<script>
(function (m, a, i, l, e, r) { (function (m, a, i, l, e, r) {
m['MailerLiteObject'] = e; function f() { m['MailerLiteObject'] = e; function f() {
var c = { a: arguments, q: [] }; var r = this.push(c); return "number" != typeof r ? r : f.bind(c.q); var c = { a: arguments, q: [] }; var r = this.push(c); return "number" != typeof r ? r : f.bind(c.q);
@@ -171,6 +151,15 @@
})(window, document, 'script', 'https://static.mailerlite.com/js/universal.js', 'ml'); })(window, document, 'script', 'https://static.mailerlite.com/js/universal.js', 'ml');
var ml_account = ml('accounts', '1778010', 'x2d3d9f8n1', 'load'); var ml_account = ml('accounts', '1778010', 'x2d3d9f8n1', 'load');
</script> </script>
<!-- End MailerLite Universal --> <!-- End MailerLite Universal -->
<!-- RSS feed -->
{% block rss %}
<link
rel="alternate"
type="application/rss+xml"
title="RSS"
href="{{ get_url(path='atom.xml', trailing_slash=false) }}"
>
{% endblock %}
</head> </head>