forked from DecentralizedClimateFoundation/DCIPs
95 lines
4.6 KiB
HTML
95 lines
4.6 KiB
HTML
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
{% if post.layout == "dcip" %}
|
|
{% if post.category == "ERC" %}
|
|
<title>ERC-{{ page.dcip }}: {{ page.title | escape }}</title>
|
|
<meta propery="og:title" content="ERC-{{ page.dcip }}: {{ page.title | escape }}" />
|
|
{% else %}
|
|
<title>DCIP-{{ page.dcip }}: {{ page.title | escape }}</title>
|
|
<meta property="og:title" content="DCIP-{{ page.dcip }}: {{ page.title | escape }}" />
|
|
{% endif %}
|
|
<meta name="description" content="{{page.description | escape }}" />
|
|
<meta property="og:description" content="{{page.description | escape }}" />
|
|
<meta name="twitter:description" content="{{page.description | escape }}" />
|
|
{% else %}
|
|
<title>{{ page.title | escape }} | {{site.title}}</title>
|
|
<meta
|
|
property="og:title"
|
|
content="{{ page.title | escape }} | {{site.title}}"
|
|
/>
|
|
<meta name="description" content="{{site.description}}" />
|
|
<meta property="og:description" content="{{site.description}}" />
|
|
<meta name="twitter:description" content="{{site.description}}" />
|
|
{% endif %}
|
|
<meta name="generator" content="Jekyll" />
|
|
<meta property="og:locale" content="en_US" />
|
|
<link rel="canonical" href="{{site.url}}{{page.url}}" />
|
|
<meta property="og:url" content="{{site.url}}{{page.url}}" />
|
|
<meta property="og:site_name" content="{{site.title}}" />
|
|
<meta name="twitter:card" content="summary" />
|
|
<meta name="twitter:site" content="@{{site.twitter_username}}" />
|
|
<script type="application/ld+json">
|
|
{
|
|
"@type": "WebSite",
|
|
"url": "{{site.url}}",
|
|
"name": "{{site.title}}",
|
|
"description": "{{site.description}}",
|
|
"@context": "https://schema.org"
|
|
}
|
|
</script>
|
|
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}" />
|
|
{%- feed_meta -%}
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
|
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.min.js" integrity="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V" crossorigin="anonymous"></script>
|
|
<script type="text/javascript">
|
|
document.addEventListener("DOMContentLoaded", (event) => {
|
|
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
|
|
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
|
|
});
|
|
</script>
|
|
<script type="text/javascript">
|
|
window.MathJax = {
|
|
loader: {
|
|
load: ['input/tex-base', 'output/chtml']
|
|
},
|
|
tex: {
|
|
inlineMath: [['$', '$']],
|
|
displayMath: [['$$', '$$']],
|
|
processEscapes: true,
|
|
processEnvironments: false,
|
|
processRefs: false
|
|
}
|
|
};
|
|
</script>
|
|
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js" integrity="sha384-/1zmJ1mBdfKIOnwPxpdG6yaRrxP6qu3eVYm0cz2nOx+AcL4d3AqEFrwcqGZVVroG" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/citation-js/0.6.4/citation.min.js" integrity="sha512-7mRYgXTf8uFTLaIrSME+aVBmaZ9ykyvgsOpGLZafWZzdmHlTOBeKrUiTiR1sNpSJLmK68IdhN3+7FbhbJfNLsg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
<script type="text/javascript">
|
|
addEventListener('DOMContentLoaded', async () => {
|
|
const Cite = window.require('citation-js');
|
|
const citationElements = document.querySelectorAll('.language-csl-json');
|
|
for (let citationElement of citationElements) {
|
|
try {
|
|
const citation = await Cite.async(citationElement);
|
|
const template = document.createElement('template');
|
|
template.innerHTML = citation.format('bibliography', {
|
|
format: 'html',
|
|
template: 'apa',
|
|
lang: 'en-US'
|
|
});
|
|
if (citationElement.parentElement && citationElement.parentElement.matches('pre')) {
|
|
citationElement.parentElement.replaceWith(template.content);
|
|
} else {
|
|
citationElement.replaceWith(template.content);
|
|
}
|
|
} catch (e) {
|
|
console.error("unable to render citation", e);
|
|
}
|
|
}
|
|
});
|
|
</script>
|
|
</head>
|