website/_layouts/code.html

112 lines
4.8 KiB
HTML
Raw Normal View History

2023-03-04 15:50:29 +00:00
{% assign title = 'title_' | append: page.language %}
{% assign menu_item_1 = 'menu_item_1_' | append: page.language %}
{% assign menu_item_2 = 'menu_item_2_' | append: page.language %}
{% assign menu_item_3 = 'menu_item_3_' | append: page.language %}
{% assign menu_item_4 = 'menu_item_4_' | append: page.language %}
{% assign section_events_title = 'section_events_title_' | append: page.language %}
{% assign section_events_time = 'section_events_time_' | append: page.language %}
{% assign section_where_title = 'section_where_title_' | append: page.language %}
{% assign section_where_address = 'section_where_address_' | append: page.language %}
2024-12-14 10:33:49 +00:00
{% assign menu_10aar = 'menu_10aar_' | append: page.language %}
2023-03-04 15:50:29 +00:00
{% assign menu_code = 'menu_code_' | append: page.language %}
2023-03-07 17:52:01 +00:00
{% capture section_who %}{% include who_{{page.language}}.md %}{% endcapture %}
2023-03-04 15:50:29 +00:00
{% capture section_code %}{% include code_{{page.language}}.md %}{% endcapture %}
2024-12-14 10:33:49 +00:00
{% capture section_10aar %}{% include 10aar_{{page.language}}.md %}{% endcapture %}
2023-03-04 15:50:29 +00:00
<!DOCTYPE html>
<html>
<head>
2023-03-07 17:52:01 +00:00
<meta charset="utf-8">
2023-03-04 15:50:29 +00:00
<title>{{ site.data.strings[title] }}</title>
<link rel="stylesheet" href="/assets/css/cryptohagen.css" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@cryptohagen">
<meta name="twitter:creator" content="@cryptohagen">
<meta name="twitter:title" content="Cryptohagen - Lær om privatliv og digitalt selvforsvar">
<meta name="twitter:description" content="Cryptohagen er et månedligt meetup i København for folk, der er interesserede i digitalt privatliv, overvågning og at lære om de nyeste teknikker og værktøjer til at beskytte sig online.">
<meta name="twitter:image" content="https://www.cryptohagen.dk/assets/logo/logo.png">
</head>
<body>
<nav class="navbar navbar-static-top navbar-fixed-top cryptohagen-navbar">
<div class="navbar-brand pull-xs-right">
2024-12-14 10:33:49 +00:00
{% if page.language == 'da' %}
<a class="nav-link" href="10aar.html">{{ site.data.strings[menu_10aar] }} | </a>
<a class="nav-link" href="code.html">{{ site.data.strings[menu_code] }}</a>
2024-12-14 09:11:45 +00:00
2023-03-04 15:50:29 +00:00
<a href="index_en.html" alt="English">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30" width="24" height="12" style="margin: 13px 0 0 13px;">
<clipPath id="t">
<path d="M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"/>
</clipPath>
<path d="M0,0 v30 h60 v-30 z" fill="#00247d"/>
<path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"/>
<path d="M0,0 L60,30 M60,0 L0,30" clip-path="url(#t)" stroke="#cf142b" stroke-width="4"/>
<path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"/>
<path d="M30,0 v30 M0,15 h60" stroke="#cf142b" stroke-width="6"/>
</svg>
</a>
2024-12-14 10:33:49 +00:00
{% else %}
<a class="nav-link" href="10aar_en.html">{{ site.data.strings[menu_10aar] }} | </a>
<a class="nav-link" href="code_en.html">{{ site.data.strings[menu_code] }}</a>
2024-12-14 09:19:13 +00:00
2023-03-04 15:50:29 +00:00
<a href="index.html" alt="Danish">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="1 1 37 28" style="margin: 10px 0 0 13px;">
<rect width="40" height="30" fill="#C60C30"/>
<g stroke="#fff" stroke-width="4"><line x1="15" y1="0" x2="15" y2="30"/><line x1="0" y1="15" x2="40" y2="15"/></g>
</svg>
</a>
{% endif %}
</div>
<a class="navbar-brand" href="/">
Cryptohagen
</a>
<ul class="nav navbar-nav">
<li class="nav-item active">
2023-03-07 17:52:01 +00:00
<a class="nav-link" href="#">{{ site.data.strings[menu_item_1] }}</a>
2023-03-04 15:50:29 +00:00
</li>
<li class="nav-item">
2023-03-07 17:52:01 +00:00
<a class="nav-link" href="#where">{{ site.data.strings[menu_item_3] }}</a>
2023-03-04 15:50:29 +00:00
</li>
<li class="nav-item active">
2023-03-07 17:52:01 +00:00
<a class="nav-link" href="#when">{{ site.data.strings[menu_item_2] }}</a>
2023-03-04 15:50:29 +00:00
</li>
<li class="nav-item">
2023-03-07 17:52:01 +00:00
<a class="nav-link" href="#links">Links</a>
2023-03-04 15:50:29 +00:00
</li>
</ul>
</nav>
<section id="intro">
<div class="container">
<div class="row">
2024-12-14 10:33:49 +00:00
<div class="col-md-12">
2023-03-04 15:50:29 +00:00
{{ section_code | markdownify }}
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<small>Generously hosted by <a href="https://data.coop">data.coop<img src="assets/logo/DataCoop_Logo.png" /></a> | <a href="https://git.data.coop/cryptohagen.dk/website">Source code</a> | Site built: {{ "now" | date: "%Y-%m-%d %H:%M" }} UTC | Jekyll {{ jekyll.version }}</small>
</div>
</footer>
</body>
</html>