mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-19 02:12:40 +01:00
First version
This commit is contained in:
34
_layouts/default.html
Normal file
34
_layouts/default.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
<head>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body class="mediawiki skin-monobook action-view">
|
||||
<div id="globalWrapper">
|
||||
<div id="column-content">
|
||||
<div id="content" class="wiki-body" role="main">
|
||||
|
||||
<h1 id="firstHeading" class="firstHeading">
|
||||
<span dir="auto">{{ page.title }}</span>
|
||||
</h1>
|
||||
|
||||
<div id="bodyContent" class="wiki-body-content">
|
||||
<div id="mw-content-text" dir="ltr">
|
||||
{{ content | inject_anchors }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="column-one">
|
||||
{% include logo.html %}
|
||||
{% include user.html %}
|
||||
{% include toc.html %}
|
||||
{% include links.html %}
|
||||
{% include tags.html %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include footer.html %}
|
||||
</body>
|
||||
</html>
|
||||
35
_layouts/redirect.html
Normal file
35
_layouts/redirect.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<html>
|
||||
{% include /functions/redirect-page.html %}
|
||||
<head>
|
||||
{% assign redirect_url = redirect_page.url | append: ".html" %}
|
||||
{% include head.html redirect_url = redirect_url %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="globalWrapper">
|
||||
<div id="column-content">
|
||||
<div id="content" class="wiki-body" role="main">
|
||||
|
||||
<h1 id="firstHeading" class="firstHeading" lang="fr">
|
||||
<span dir="auto">{{ redirect_page.title }}</span>
|
||||
</h1>
|
||||
|
||||
<div id="bodyContent" class="wiki-body-content">
|
||||
<div id="mw-content-text" dir="ltr" class="mw-content-ltr" lang="fr">
|
||||
<div class="redirectMsg">
|
||||
<p>{{ site.data.i18n[site.lang].label.redirect }} :</p>
|
||||
<ul class="redirectText">
|
||||
<li><a href="{{ redirect_page.url }}.html" title="{{ redirect_page.name }}">{{ redirect_page.title }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="column-one">
|
||||
{% include logo.html %}
|
||||
</div>
|
||||
</div>
|
||||
{% include footer.html %}
|
||||
</body>
|
||||
</html>
|
||||
56
_layouts/tag.html
Normal file
56
_layouts/tag.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<html dir="ltr" class="client-js" lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ page.title }}</title>
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
<style>
|
||||
.columns {
|
||||
-webkit-columns: 3;
|
||||
-moz-columns: 3;
|
||||
columns: 3;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-monobook action-view">
|
||||
<div id="globalWrapper">
|
||||
<div id="column-content">
|
||||
<div id="content" class="wiki-body" role="main">
|
||||
|
||||
<h1 id="firstHeading" class="firstHeading" lang="fr">
|
||||
<span dir="auto">{{ page.tags }}</span>
|
||||
</h1>
|
||||
|
||||
<div id="bodyContent" class="wiki-body-content">
|
||||
<div id="mw-content-text" dir="ltr" class="mw-content-ltr" lang="fr">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h3>{{ site.data.i18n[site.lang].label.tag_pages }} {{ page.tags }}</h3>
|
||||
<div class="columns">
|
||||
<ul>
|
||||
{% include /functions/wiki-pages.html %}
|
||||
{% for tag in page.tags %}
|
||||
{% for other_page in wiki_pages %}
|
||||
{% if other_page.tags contains tag and other_page.slug != page.slug %}
|
||||
<li><a href="{{ other_page.url }}">{{ other_page.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="column-one">
|
||||
{% include logo.html %}
|
||||
</div>
|
||||
</div>
|
||||
{% include footer.html %}
|
||||
</body>
|
||||
</html>
|
||||
4
_layouts/user.html
Normal file
4
_layouts/user.html
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
{{ content }}
|
||||
4
_layouts/wiki.html
Normal file
4
_layouts/wiki.html
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
{{ content }}
|
||||
Reference in New Issue
Block a user