use gutenberg and render anleitungen
This commit is contained in:
parent
9141aced4e
commit
64db773f11
30 changed files with 152 additions and 254 deletions
BIN
templates/.index.html.swp
Normal file
BIN
templates/.index.html.swp
Normal file
Binary file not shown.
BIN
templates/.page.html.swp
Normal file
BIN
templates/.page.html.swp
Normal file
Binary file not shown.
14
templates/how-to.html
Executable file
14
templates/how-to.html
Executable file
|
@ -0,0 +1,14 @@
|
|||
{% extends "index.html" %}
|
||||
|
||||
{% block title %}
|
||||
<title>{{ page.title }} - {{ config.title }}</title>
|
||||
{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
{% set anleitungen = get_section(path="how-to/_index.md") %}
|
||||
{% for page in anleitungen.pages %}
|
||||
<li>
|
||||
<a href="{{ get_url(path=page.path) }}" title="{{ page.title }}">{{ page.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endblock content %}
|
23
templates/index.html
Normal file → Executable file
23
templates/index.html
Normal file → Executable file
|
@ -1,25 +1,23 @@
|
|||
{% set root_section = get_section(path="_index.md") %}
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="de-de" dir="ltr">
|
||||
<head>
|
||||
{% block title %}
|
||||
<title>{{ section.title }} - {{ config.title }}</title>
|
||||
{% endblock title %}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="{{ get_url(path="style") }}/fitgrid.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ get_url(path="style") }}/styles.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ get_url(path="style") }}fitgrid.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ get_url(path="style") }}styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="center">
|
||||
<div class="row head"/>
|
||||
<div class="fg12 legal fg-no-mobile">
|
||||
<a href="{{ get_url(path="/impressum") }}">Impressum</a> | <a href="{{ get_url(path="/datenschutz") }}">Datenschutzhinweis</a>
|
||||
<a href="{{ get_url(path="impressum") }}">Impressum</a> | <a href="{{ get_url(path="/datenschutz") }}">Datenschutzhinweis</a>
|
||||
</div>
|
||||
<div class="fg6">
|
||||
<h1>Reudnetz</h1>
|
||||
<a href="{{ get_url(path="/") }}"><h1>Reudnetz</h1></a>
|
||||
</div>
|
||||
<div class="fg6">
|
||||
<h2>Internet für Leipzigs Osten</h2>
|
||||
|
@ -29,11 +27,10 @@
|
|||
<div class="fg12">
|
||||
<ul>
|
||||
{% block nav %}
|
||||
{% set section = get_section(path="_index.md") %}
|
||||
{% for page in section.pages %}
|
||||
<li>
|
||||
<a href="{{ get_url(path=page.path) }}" title="{{ page.title }}">{{ page.title }}</a>
|
||||
<li>
|
||||
{% for page in root_section.pages %}
|
||||
<li>
|
||||
<a href="{{ get_url(path=page.path) }}" title="{{ page.title }}">{{ page.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endblock nav %}
|
||||
</ul>
|
||||
|
@ -51,7 +48,7 @@
|
|||
<h3>Kontakt</h3>
|
||||
<p>
|
||||
mail [at] reudnetz [dot] org<br />
|
||||
GPG-Key: <a href="0x1D7AE62C.asc">0x1D7AE62C</a>
|
||||
GPG-Key: <a href="{{ get_url(path="/") }}/0x1D7AE62C.asc">0x1D7AE62C</a>
|
||||
</p>
|
||||
<div class="margin" >
|
||||
Fingerprint: <br />
|
||||
|
|
4
templates/page.html
Normal file → Executable file
4
templates/page.html
Normal file → Executable file
|
@ -1,9 +1,5 @@
|
|||
{% extends "index.html" %}
|
||||
|
||||
{% block title %}
|
||||
<title>{{ page.title }} - {{ config.title }}</title>
|
||||
{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
{{ page.content | safe }}
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue