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

Made front page markdown.

This commit is contained in:
Markus Birth 2015-02-19 00:53:40 +01:00
parent f0a6a9e641
commit dbcea02d8c
2 changed files with 34 additions and 67 deletions

View File

@ -1,67 +0,0 @@
---
title: Welcome to the Wiki
---
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" type="text/css" href="css/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<title>Wiki by mbirth</title>
</head>
<body>
<header>
<div class="container">
<h1>Wiki</h1>
<h2>Experimental Wiki with Jekyll</h2>
<section id="downloads">
<a href="https://github.com/mbirth/wiki/zipball/master" class="btn">Download as .zip</a>
<a href="https://github.com/mbirth/wiki/tarball/master" class="btn">Download as .tar.gz</a>
<a href="https://github.com/mbirth/wiki" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
</section>
</div>
</header>
<div class="container">
<section id="main_content">
<h3>
<a name="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages"><span class="octicon octicon-link"></span></a>Welcome to GitHub Pages.</h3>
<p>All posts:</p>
<ul>
{% for post in site.posts %}
<li><a href="{{ post.url }}">{{ post.date | date: "%Y-%m-%d" }} - {{ post.title }}</a></li>
{% endfor %}
</ul>
<p>Tags:</p>
<ul>
{% for tag in site.tags %}
<li>{{ tag[0] }}
<ul>
{% for page in tag[1] %}
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
<p>Categories:</p>
<ul>
{% for category in site.categories %}
<li>{{ category[0] }}</li>
{% endfor %}
</ul>
</section>
</div>
</body>
</html>

34
index.md Normal file
View File

@ -0,0 +1,34 @@
---
title: Welcome to the Wiki
layout: default
---
### Welcome to GitHub Pages.
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>
Tags:
<ul>
{% for tag in site.tags %}
<li> {{ tag[0] }}
<ul>
{% for page in tag[1] %}
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
Categories:
<ul>
{% for category in site.categories %}
<li>{{ category[0] }}</li>
{% endfor %}
</ul>