[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

View File

@ -0,0 +1,2 @@
images_path: images/
images_url: ~

View File

@ -5,5 +5,7 @@ Author: Christian Seyfferth
Date: 2020-01-29
Robots: noindex,nofollow
Template: templates/project/item
url: https://inventur.chrosey.de
url: https://chrosey.de/apps/inv
embed: true
---

View File

@ -0,0 +1,9 @@
[
[
"31\/01\/2020 19:06:13",
"info@chrosey.de",
"test",
"Christian Seyfferth",
"error"
]
]

1
themes/chrosey/css/mini-dark.min.css vendored Normal file

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

2414
themes/chrosey/css/mini-nord.min.css vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -5,10 +5,29 @@ html {
font-family: 'Lato', sans-serif;
}
html,
body {
height: 100%;
}
body {
display: flex;
flex-direction: column;
}
header {
border-bottom: 0;
}
body>.container {
flex: 1 0 auto;
margin: 0;
}
body>.container>.row {
height: 100%
}
h1,
h2,
h3,
@ -24,6 +43,16 @@ h6,
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

View File

@ -7,14 +7,9 @@
{% for page in pages(current_page.id, depth=3)|sort_by("time")|reverse if not page.hidden %}
<article class="blog-entry">
<a href="{{ page.url }}">
{% if page.meta.image %}
<img src="{{ page.meta.image|url }}"
alt="{{ page.meta.image_alt }}"
<img src=" {{ config.images_path }}{{ page.id }}"
alt="{{ page.images.0.alt }}"
class="img">
{% else %}
<i class="img"></i>
{% endif %}
</a>
<div class="text">

View File

@ -1 +1,8 @@
{% extends "templates/layout/base.twig" %}
{% block aside %}
{% include "templates/widgets/bloglist.twig" %}
{% endblock %}

View File

@ -28,7 +28,7 @@
{% endif %}
<link rel="stylesheet"
href="{{ theme_url }}/css/mini-default.css">
href="{{ theme_url }}/css/mini-{{ config.theme_config.color }}.min.css">
<link rel="stylesheet"
href="{{ theme_url }}/css/style.css"
type="text/css" />
@ -41,8 +41,10 @@
{% include "templates/layout/header.twig" %}
<div class="container">
<div class="row">
<nav class="col-sm-12 col-md-3 col-lg-2">
{% 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 %}
<section>
{{ content }}
@ -50,12 +52,17 @@
{% endblock %}
</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 %}
<section>
{{ aside }}
</section>
{% endblock %}
</div>
</div>
</aside>
</div>
</div>

View File

@ -1,6 +1,6 @@
<footer class="sticky">
<footer class="">
<div class="container ">
<span>&copy; 2015 - {{ now|date("Y") }} by chrosey</span>
<span>&copy; 2013 - {{ now|date("Y") }} by chrosey</span>
<span>|</span>
<span>powered by <a href="http://picocms.org/">picoCMS</a></span>
<span>|
@ -9,6 +9,5 @@
{% block footer %}
{% endblock %}
</span>
<span>|</span>
</div>
</footer>

View File

@ -1,6 +1,6 @@
<header clas="sticky container">
<div class="row">
<div class="col-md-offset-2">
<div class="col-md-offset-3">
<a href="{{ "index"|link }}"
class="logo">
<img src="{{ theme_url }}/img/logo.svg "

View File

@ -1,4 +1,3 @@
<nav class="col-sm-12 col-md-2">
{% block navigation %}
<a class="nav-item"
@ -13,4 +12,3 @@
{% endfor %}
{% endblock %}
</nav>

View File

@ -2,6 +2,13 @@
{% block content %}
{{ parent() }}
{% if meta.embed %}
<iframe src="{{ meta.url }}"
frameborder="0"
style="width:100%; height:80vh;"></iframe>
{% endif %}
{% endblock %}

View File

@ -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>