Add and Remove Gallery

This commit is contained in:
Nico Jensen 2022-09-23 00:53:34 +02:00
parent e8939098df
commit cc83ae3de2
17 changed files with 11 additions and 82 deletions

View file

@ -3,6 +3,13 @@ Repo zu meiner Webseite
Diese Webseite basiert auf [Jekyll](https://jekyllrb.com/).
## Changelog
### 2022-09-23
* Change: Links at footer / contact / etc get a target and modify rel
* Change: Intern Layouts changes
### 2022-07-02
* Change: New eMail address
### 2022-04-28
* Add: New Social Media Links
### 2021-07-07
* Fix: Design issue on none blog pages
### 2021-06-21

View file

@ -1,6 +1,3 @@
pictures:
title: "Fotos"
href: "/fotos"
colophon:
title: "Colophon"
href: "/colophon"

View file

@ -1,18 +0,0 @@
- id: Test
date: 22.06.2022
title: Das ist eine Testgallery
description: "Diese Gallery ist nur zu Testzwecken da."
imagefolder: /test/
images:
- name: DSC00789.jpg
filename: DSC00789.jpg
text: Emmy schwarzer Hintergrud
- name: DSC00803.jpg
filename: DSC00803.jpg
text: Emmy schwarzer Hintergrund - Wildes Haar
- name: DSC00830.jpg
filename: DSC00830.jpg
text: Emmy auf der Weide
- name: DSC00856.jpg
filename: DSC00856.jpg
text: Lotte

View file

@ -1,6 +0,0 @@
about:
title: '&Uumlber mich'
href: '/nico'
pictures:
title: 'Fotos'
href: '/fotos'

View file

@ -1,4 +1,4 @@
<main id="post-container">
<div id="post-container">
{% for post in paginator.posts %}
<article class="post">
<header class="post-header wrapper">
@ -33,5 +33,5 @@
</div>
</article>
{% endfor %}
</main>
</div>
{% include pagination.html %}

View file

@ -1,30 +0,0 @@
---
layout: default
---
<script src="/assets/js/jquery-3.6.0.min.js"></script>
<script src="/assets/js/lightbox-2.11.3.min.js"></script>
<link href="/assets/css/lightbox.css" rel="stylesheet" />
<link href="/assets/css/gallery.css" rel="stylesheet" />
<main id="post-container" class="single-post">
{% for gallery in site.data.galleries %}
<article class="post">
{% if gallery.id == page.galleryid %}
<header class="post-header wrapper">
<h2 class="post-title">{{ gallery.title }}</h2>
<p>{{ gallery.description }}</p>
</header>
<div class="post-content wrapper">
<ol class="gallery">
{% for image in gallery.images %}
<li>
<a href="/assets/images/gallery/{{ gallery.imagefolder }}/{{ image.filename }}" data-lightbox="{{ gallery.id }}" title="{{ image.text }}">
<img src="/assets/images/gallery/{{ gallery.imagefolder }}/thumb/thumb-{{ image.filename }}">
</a>
</li>
{% endfor %}
</ol>
</div>
{% endif %}
</article>
{% endfor %}
</main>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 711 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 881 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

View file

@ -1,17 +0,0 @@
---
layout: default
title: Meine Fotos
---
<main id="post-container" class="single-post">
<article class="post">
<header class="post-header wrapper">
<h2 class="post-title">Fotos</h2>
</header>
<div class="post-content wrapper">
{% for gallery in site.data.galleries %}
<p><a href="/fotos/{{ gallery.id }}">{{ gallery.id }}</a><br>
{{ gallery.title }}<small> vom {{ gallery.date }}</small></p>
{% endfor %}
</div>
</article>
</main>

View file

@ -1,5 +0,0 @@
---
title: the first gallery page
layout: gallery
galleryid: Test
---

View file

@ -2,4 +2,5 @@
layout: default
title: Home
---
{% include blog.html %}
<main id="posts">{% include blog.html %}</main>