[TASK] commit nachholen

This commit is contained in:
TLRZ Seyfferth
2020-02-26 16:49:41 +01:00
parent 7571776c22
commit 53fcfd0e7f
16 changed files with 2517 additions and 2205 deletions
+2
View File
@@ -0,0 +1,2 @@
images_path: images/
images_url: ~
+3 -1
View File
@@ -5,5 +5,7 @@ Author: Christian Seyfferth
Date: 2020-01-29 Date: 2020-01-29
Robots: noindex,nofollow Robots: noindex,nofollow
Template: templates/project/item Template: templates/project/item
url: https://inventur.chrosey.de url: https://chrosey.de/apps/inv
embed: true
--- ---
+9
View File
@@ -0,0 +1,9 @@
[
[
"31\/01\/2020 19:06:13",
"info@chrosey.de",
"test",
"Christian Seyfferth",
"error"
]
]
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
+29
View File
@@ -5,10 +5,29 @@ html {
font-family: 'Lato', sans-serif; font-family: 'Lato', sans-serif;
} }
html,
body {
height: 100%;
}
body {
display: flex;
flex-direction: column;
}
header { header {
border-bottom: 0; border-bottom: 0;
} }
body>.container {
flex: 1 0 auto;
margin: 0;
}
body>.container>.row {
height: 100%
}
h1, h1,
h2, h2,
h3, h3,
@@ -24,6 +43,16 @@ h6,
line-height: 1.2; line-height: 1.2;
} }
.field input[type="text"],
.field input[type="email"],
.field textarea {
width: 95%;
}
footer {
flex-shrink: 0;
border-top: 0;
}
/** /**
* Blog Section * Blog Section
+2 -7
View File
@@ -7,14 +7,9 @@
{% for page in pages(current_page.id, depth=3)|sort_by("time")|reverse if not page.hidden %} {% for page in pages(current_page.id, depth=3)|sort_by("time")|reverse if not page.hidden %}
<article class="blog-entry"> <article class="blog-entry">
<a href="{{ page.url }}"> <a href="{{ page.url }}">
{% if page.meta.image %} <img src=" {{ config.images_path }}{{ page.id }}"
<img src="{{ page.meta.image|url }}" alt="{{ page.images.0.alt }}"
alt="{{ page.meta.image_alt }}"
class="img"> class="img">
{% else %}
<i class="img"></i>
{% endif %}
</a> </a>
<div class="text"> <div class="text">
+7
View File
@@ -1 +1,8 @@
{% extends "templates/layout/base.twig" %} {% extends "templates/layout/base.twig" %}
{% block aside %}
{% include "templates/widgets/bloglist.twig" %}
{% endblock %}
+10 -3
View File
@@ -28,7 +28,7 @@
{% endif %} {% endif %}
<link rel="stylesheet" <link rel="stylesheet"
href="{{ theme_url }}/css/mini-default.css"> href="{{ theme_url }}/css/mini-{{ config.theme_config.color }}.min.css">
<link rel="stylesheet" <link rel="stylesheet"
href="{{ theme_url }}/css/style.css" href="{{ theme_url }}/css/style.css"
type="text/css" /> type="text/css" />
@@ -41,8 +41,10 @@
{% include "templates/layout/header.twig" %} {% include "templates/layout/header.twig" %}
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<nav class="col-sm-12 col-md-3 col-lg-2">
{% include "templates/layout/navigationBar.twig" %} {% include "templates/layout/navigationBar.twig" %}
<main class="col-sm-12 col-md-8 col-lg-7"> </nav>
<main class="col-sm-12 col-md-6 col-lg-6">
{% block content %} {% block content %}
<section> <section>
{{ content }} {{ content }}
@@ -50,12 +52,17 @@
{% endblock %} {% endblock %}
</main> </main>
<aside class="col-md-2 col-lg-2"> <aside class="col-sm-12 col-md-2 col-lg-2">
<div class="row">
<div class="col-sm-12">
{% block aside %} {% block aside %}
<section> <section>
{{ aside }} {{ aside }}
</section> </section>
{% endblock %} {% endblock %}
</div>
</div>
</aside> </aside>
</div> </div>
</div> </div>
+2 -3
View File
@@ -1,6 +1,6 @@
<footer class="sticky"> <footer class="">
<div class="container "> <div class="container ">
<span>&copy; 2015 - {{ now|date("Y") }} by chrosey</span> <span>&copy; 2013 - {{ now|date("Y") }} by chrosey</span>
<span>|</span> <span>|</span>
<span>powered by <a href="http://picocms.org/">picoCMS</a></span> <span>powered by <a href="http://picocms.org/">picoCMS</a></span>
<span>| <span>|
@@ -9,6 +9,5 @@
{% block footer %} {% block footer %}
{% endblock %} {% endblock %}
</span> </span>
<span>|</span>
</div> </div>
</footer> </footer>
+1 -1
View File
@@ -1,6 +1,6 @@
<header clas="sticky container"> <header clas="sticky container">
<div class="row"> <div class="row">
<div class="col-md-offset-2"> <div class="col-md-offset-3">
<a href="{{ "index"|link }}" <a href="{{ "index"|link }}"
class="logo"> class="logo">
<img src="{{ theme_url }}/img/logo.svg " <img src="{{ theme_url }}/img/logo.svg "
@@ -1,4 +1,3 @@
<nav class="col-sm-12 col-md-2">
{% block navigation %} {% block navigation %}
<a class="nav-item" <a class="nav-item"
@@ -13,4 +12,3 @@
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}
</nav>
@@ -2,6 +2,13 @@
{% block content %} {% block content %}
{{ parent() }} {{ parent() }}
{% if meta.embed %}
<iframe src="{{ meta.url }}"
frameborder="0"
style="width:100%; height:80vh;"></iframe>
{% endif %}
{% endblock %} {% endblock %}
@@ -0,0 +1,11 @@
<div class="card fluid">
<div class="section">
<h3>Letzte Blogeinträge</h3>
<ul>
{% for page in pages("blog", depth=3)|sort_by("time")|reverse|slice(0,5) if not page.hidden %}
<li>{{ page.title }}</li>
{% endfor %}
</ul>
</div>
</div>