1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-24 22:54:09 +00:00
wiki.mbirth.de/index.html

94 lines
3.2 KiB
HTML
Raw Normal View History

2015-02-19 23:39:25 +00:00
---
2015-02-27 11:42:50 +00:00
title: Welcome to wiki.mbirth.de
2015-02-19 23:39:25 +00:00
layout: default
---
2017-04-10 22:35:36 +01:00
<script type="application/ld+json">
2016-02-12 10:13:51 +00:00
{
2017-04-10 23:24:43 +01:00
"@context": "http://schema.org",
"@type": "WebSite",
2016-02-12 10:15:47 +00:00
"url": "{{ site.url }}/",
2016-02-12 10:13:51 +00:00
"potentialAction": {
2017-04-10 23:24:43 +01:00
"@type": "SearchAction",
2016-02-12 10:15:47 +00:00
"target": "{{ site.url }}/?q={search_term_string}",
2016-02-12 10:13:51 +00:00
"query-input": "required name=search_term_string"
}
2017-04-10 22:35:36 +01:00
}
2016-02-12 10:13:51 +00:00
</script>
2015-02-23 00:28:33 +00:00
<h3>Latest posts ({{ site.posts | size }} total):</h3>
2015-02-19 23:39:25 +00:00
<ul>
{% for post in paginator.posts %}
2017-04-10 23:51:36 +01:00
<li itemscope itemtype="http://schema.org/BlogPosting"><a itemprop="url" href="{{ post.url }}"><span itemprop="dateModified">{{ post.date | date: "%Y-%m-%d" }}</span> - <span itemprop="name headline">{{ post.title }}</span></a>
2017-04-11 00:15:00 +01:00
<link itemprop="mainEntityOfPage" href="{{ site.url }}{{ post.url }}" />
<link itemprop="image" href="{{ site.url }}/images/sitelogo.png" />
<meta itemprop="datePublished" content="{{ post.created | date: '%Y-%m-%d' }}" />
{% if post.language == 'de' %}
<img class="emoji" title="&#x3a;de&#x3a;" alt="&#x3a;de&#x3a;" src="https://assets-cdn.github.com/images/icons/emoji/de.png" width="20" height="20" align="absmiddle" />
<meta itemprop="inLanguage" content="de" />
{% else %}
<meta itemprop="inLanguage" content="en" />
{% endif %}
{% if post.updated != post.created %}
<img class="emoji" title="&#x3a;up&#x3a;" alt="&#x3a;up&#x3a;" src="https://assets-cdn.github.com/images/icons/emoji/up.png" width="20" height="20" align="absmiddle" />
{% endif %}
2017-04-11 00:12:53 +01:00
<div itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="Markus Birth" />
</div>
<div itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Markus Birth" />
<link itemprop="logo" href="{{ site.url }}/images/sitelogo.png" />
</div>
</li>
2015-02-19 23:39:25 +00:00
{% endfor %}
</ul>
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
2015-02-20 08:58:47 +00:00
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Newer</a>
2015-02-19 23:39:25 +00:00
{% else %}
<span>&laquo; Newer</span>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<em>{{ page }}</em>
{% elsif page == 1 %}
2015-02-20 08:58:47 +00:00
<a href="{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
2015-02-19 23:39:25 +00:00
{% else %}
2015-02-20 08:58:47 +00:00
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
2015-02-19 23:39:25 +00:00
{% endif %}
{% endfor %}
{% if paginator.next_page %}
2015-02-20 08:58:47 +00:00
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older &raquo;</a>
2015-02-19 23:39:25 +00:00
{% else %}
<span>Older &raquo;</span>
{% endif %}
</div>
{% endif %}
{% comment %}
2015-02-19 23:39:25 +00:00
All posts:
<ul>
{% for post in site.posts %}
<li><a href="{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} - {{ post.title }}</a></li>
{% endfor %}
</ul>
Categories:
<ul>
{% for category in site.categories %}
<li>{{ category[0] }}
<ul>
{% for page in category[1] %}
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
{% endcomment %}