Initial commit
This commit is contained in:
9
_includes/category/title.html
Normal file
9
_includes/category/title.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% for category in site.data.categories %}
|
||||
{% if category.slug == page.category %}
|
||||
{% assign category_name = category.name %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<h1 class="page-title">
|
||||
<div class="page-title__text">{{ category_name }}</div>
|
||||
</h1>
|
||||
16
_includes/externals/disqus.html
vendored
Normal file
16
_includes/externals/disqus.html
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{% 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 %}
|
||||
11
_includes/externals/google_analytics.html
vendored
Normal file
11
_includes/externals/google_analytics.html
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{% 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 %}
|
||||
2
_includes/externals/scripting.html
vendored
Normal file
2
_includes/externals/scripting.html
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<script src="{{ "/assets/vendor/highlight/highlight.pack.js" | prepend: site.baseurl }}"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
||||
9
_includes/externals/styling.html
vendored
Normal file
9
_includes/externals/styling.html
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<link href='//fonts.googleapis.com/css?family=Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" href="{{ "/assets/vendor/normalize-css/normalize.css" | prepend: site.baseurl }}">
|
||||
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
|
||||
{% if site.styles contains site.highlightstyle %}
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/vendor/highlight/styles/{{ site.highlightstyle }}.css">
|
||||
{% else %}
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/assets/vendor/highlight/styles/solarized_dark.css">
|
||||
{% endif %}
|
||||
<link rel="stylesheet" href="{{ "/assets/vendor/font-awesome/css/font-awesome.css" | prepend: site.baseurl }}">
|
||||
47
_includes/header.html
Normal file
47
_includes/header.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<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 %}
|
||||
</div>
|
||||
</header>
|
||||
14
_includes/meta_tags/base.html
Normal file
14
_includes/meta_tags/base.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>
|
||||
{{ site.title }}
|
||||
{% if page.title %}
|
||||
- {{ page.title }}
|
||||
{% endif %}
|
||||
{% if page.subtitle %}
|
||||
- {{ page.subtitle }}
|
||||
{% endif %}
|
||||
</title>
|
||||
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
||||
{% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %}
|
||||
6
_includes/meta_tags/favicon.html
Normal file
6
_includes/meta_tags/favicon.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/assets/img/apple-touch-icon.png" | prepend: site.baseurl }}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/assets/img/favicon-32x32.png" | prepend: site.baseurl }}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/assets/img/favicon-16x16.png" | prepend: site.baseurl }}">
|
||||
<link rel="manifest" href="{{ "/assets/img/manifest.json" | prepend: site.baseurl }}">
|
||||
<link rel="mask-icon" href="{{ "/assets/img/safari-pinned-tab.svg" | prepend: site.baseurl }}" color="#5bbad5">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
22
_includes/meta_tags/sharing.html
Normal file
22
_includes/meta_tags/sharing.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% if page.title %} {% assign title = page.title ~ ' - ' ~ page.subtitle %} {% else %} {% assign title = site.title %} {% endif %}
|
||||
{% if page.description %} {% assign description = page.description %} {% else %} {% assign description = site.description %} {% endif %}
|
||||
{% 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 }}">
|
||||
10
_includes/page/explore.html
Normal file
10
_includes/page/explore.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<div class="explore">
|
||||
<div class="explore__devider">*****</div>
|
||||
<div class="explore__label">Explore the different categories</div>
|
||||
<ul class="categories">
|
||||
{% for category in site.data.categories %}
|
||||
<li class="categories__item"><a href="{{ '/categories/' | append: category.slug | prepend: site.baseurl }}">{{ category.name }}</a></li>
|
||||
{% endfor %}
|
||||
<li class="categories__item"><a href="{{ '/' | prepend: site.baseurl }}">All</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
22
_includes/page/footer.html
Normal file
22
_includes/page/footer.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<div class="explore">
|
||||
<div class="explore__devider">*****</div>
|
||||
<div class="explore__label">
|
||||
retrospace - Gemeenteplein 11, 2650 Edegem - Belgium - Europe -
|
||||
Planet Earth - Solar System - Milky Way Galaxy - Local Group -
|
||||
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">
|
||||
Daktilo
|
||||
</a>
|
||||
</div>
|
||||
<div class="explore__label">
|
||||
This website has a <a href="https://www.torproject.org/" target="_blank">Tor</a> mirror
|
||||
at
|
||||
<a href="http://t6xjx62ozerocool.onion" target="_blank">
|
||||
t6xjx62ozerocool.onion
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
4
_includes/page/title.html
Normal file
4
_includes/page/title.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<h1 class="page-title">
|
||||
<div class="page-title__text">{{ page.title }}</div>
|
||||
<div class="page-title__subtitle">{{ page.subtitle }}</div>
|
||||
</h1>
|
||||
7
_includes/post/about.html
Normal file
7
_includes/post/about.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="about">
|
||||
<div class="about__devider">*****</div>
|
||||
<div class="about__text">
|
||||
Written by <strong> {% if page.author.fullname %} {{ page.author.fullname }} {% else %} {{ site.author.fullname }} {% endif %}</strong>
|
||||
on <strong>{{ page.date | date: "%d %B %Y" }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
4
_includes/post/title.html
Normal file
4
_includes/post/title.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<h1 class="page-title post-title">
|
||||
<div class="page-title__text post-title__text">{{ page.title }}</div>
|
||||
<div class="page-title__subtitle post-title__subtitle">{{ page.subtitle }}</div>
|
||||
</h1>
|
||||
Reference in New Issue
Block a user