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,50 +3,45 @@
{% 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 %} {% endblock title %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
<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/brands.min.css">
<!-- Cookie Consent by https://www.FreePrivacyPolicy.com --> <!-- Cookie Consent by https://www.FreePrivacyPolicy.com -->
<script type="text/javascript" src="//www.freeprivacypolicy.com/public/cookie-consent/4.0.0/cookie-consent.js" <script type="text/javascript" src="//www.freeprivacypolicy.com/public/cookie-consent/4.0.0/cookie-consent.js" charset="UTF-8"></script>
charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8"> <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" });
@@ -60,9 +55,9 @@
}); 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');
</script>
<!-- End Google Tag Manager --> <!-- 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>
@@ -72,7 +67,6 @@
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 || [];
@@ -81,7 +75,6 @@
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 = [];
@@ -94,7 +87,6 @@
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 = [];
@@ -108,27 +100,18 @@
})(); })();
</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 **** --> <!-- **** BEGINNING, favicons **** -->
<!-- generics --> <!-- generics -->
<!-- iOS --> <!-- iOS -->
<!-- Android --> <!-- Android -->
<!-- Windows 8, IE 10 --> <!-- Windows 8, IE 10 -->
<!-- Windows 8.1 and up, IE 11 --> <!-- Windows 8.1 and up, IE 11 -->
<!-- **** CONCLUSION, favicons **** --> <!-- **** CONCLUSION, favicons **** -->
<!-- CSS/SCSS --> <!-- CSS/SCSS -->
<link rel="stylesheet" href="{{ get_url(path="css/index.css", trailing_slash=false, cachebust=true) | safe }}" /> <link rel="stylesheet" href="{{ get_url(path='css/index.css', trailing_slash=false, cachebust=true) | safe }}">
<style> <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;
@@ -155,10 +138,7 @@
} }
} }
</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'
async='async'></script>
<!-- MailerLite Universal --> <!-- MailerLite Universal -->
<script> <script>
(function (m, a, i, l, e, r) { (function (m, a, i, l, e, r) {
@@ -173,4 +153,13 @@
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>