Clean up and update content

This commit is contained in:
Michael Smith
2023-05-05 10:47:24 +02:00
parent 7b4c3f90ad
commit 317bd52d8f
24 changed files with 192 additions and 1391 deletions

View File

@@ -1,16 +0,0 @@
{% if site.author.disqus %}
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = '{{ site.author.disqus }}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
{% endif %}

View File

@@ -1,11 +0,0 @@
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}

View File

@@ -1,47 +1,17 @@
<header class="header">
<ul class="language-links">
{% assign posts=site.posts | where:"ref", page.ref | sort: 'lang' %}
{% for post in posts %}
<a href="{{ post.url }}" class="language-links__entry {{ post.lang }}">{{ post.lang | upcase }}</a>
{% endfor %}
{% assign pages=site.pages | where:"ref", page.ref | sort: 'lang' %}
{% for page in pages %}
<a href="{{ page.url }}" class="language-links__entry {{ page.lang }}">{{ page.lang | upcase}}</a>
{% endfor %}
</ul>
{% if page.lang == "nl" %}
<a href="{{ '/nl.html' | prepend: site.baseurl }}">
<img class="logo__image" alt="Magus" src="/assets/img/magus.png">
</a>
{% else %}
<a href="{{ '/' | prepend: site.baseurl }}">
<img class="logo__image" alt="Magus" src="/assets/img/magus.png">
</a>
{% endif %}
<div class="navigation">
{% if page.lang == "nl" %}
<a href="/nl.html" class="logo">{{ site.title }}</a>
<ul class="menu">
<li class="menu__entry"><a href="{{ '/nl.html' | prepend: site.baseurl }}">Over</a></li>
{% for category in site.data.categories %}
<li class="menu__entry"><a href="{{ '/' | append: category.slug | prepend: site.baseurl }}">{{ category.name }} (Engels)</a></li>
{% endfor %}
<li class="menu__entry"><a href="{{ '/communicate.nl.html' | prepend: site.baseurl }}">Communiceer</a></li>
<li class="menu__entry"><a href="{{ '/links.nl.html' | prepend: site.baseurl }}">Links</a></li>
</ul>
{% else %}
<a href="/" class="logo">{{ site.title }}</a>
<ul class="menu">
<li class="menu__entry"><a href="{{ '/' | prepend: site.baseurl }}">About</a></li>
{% for category in site.data.categories %}
<li class="menu__entry"><a href="{{ '/' | append: category.slug | prepend: site.baseurl }}">{{ category.name }}</a></li>
{% endfor %}
<li class="menu__entry"><a href="{{ '/communicate.html' | prepend: site.baseurl }}">Communicate</a></li>
<li class="menu__entry"><a href="{{ '/links.html' | prepend: site.baseurl }}">Links</a></li>
</ul>
{% endif %}
<a href="/" class="logo">{{ site.title }}</a>
<ul class="menu">
<li class="menu__entry"><a href="{{ '/' | prepend: site.baseurl }}">About</a></li>
{% for category in site.data.categories %}
<li class="menu__entry"><a href="{{ '/' | append: category.slug | prepend: site.baseurl }}">{{ category.name }}</a></li>
{% endfor %}
<li class="menu__entry"><a href="{{ '/communicate.html' | prepend: site.baseurl }}">Communicate</a></li>
<li class="menu__entry"><a href="{{ '/links.html' | prepend: site.baseurl }}">Links</a></li>
</ul>
</div>
</header>

View File

@@ -3,20 +3,10 @@
{% if page.keywords %} {% assign keywords = page.keywords %} {% else %} {% assign keywords = site.keywords %} {% endif %}
{% if page.cover %} {% assign cover = page.cover %} {% else %} {% assign cover = site.cover %} {% endif %}
<!-- Twitter Cards -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="{{ title }}" />
<meta name="twitter:description" content="{{ description }}" />
<meta name="twitter:image" content="{{ site.url }}{{ cover }}" />
<!-- Google plus -->
<meta name="author" content="{{ site.author.googleplus }}">
<link rel="author" href="{{ site.author.googleplus }}">
<!-- Open Graph -->
<meta property="og:locale" content="{{ site.lang }}">
<meta property="og:type" content="article">
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ description }}">
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:site_name" content="{{ site.title }}">

View File

@@ -6,16 +6,16 @@
Known Universe
</div>
<div class="explore__label">
site built with
<a href="https://jekyllrb.com/" target="_blank">jekyll</a> and
<a href="http://jekyllthemes.org/themes/daktilo/" target="_blank">
built with
<a href="https://jekyllrb.com/">jekyll</a> and
<a href="http://jekyllthemes.org/themes/daktilo/">
Daktilo
</a>
</div>
<div class="explore__label">
This website has a <a href="https://www.torproject.org/" target="_blank">Tor</a> mirror
This website has a <a href="https://www.torproject.org/">Tor</a> mirror
at
<a href="http://t6xjx62ozerocool.onion" target="_blank">
<a href="http://t6xjx62ozerocool.onion">
t6xjx62ozerocool.onion
</a>
</div>