added: news, nav, footer

This commit is contained in:
fr
2023-11-19 00:19:59 +01:00
parent 984d8a3d47
commit 136f83f80a
10 changed files with 117 additions and 1 deletions
+5 -1
View File
@@ -1,8 +1,12 @@
# The URL the site will be built for
base_url = "https://www.pkmples.cz"
# Whether to automatically compile all Sass files in the sass directory
title = "PKM PARTY PLES"
description = "PKM, kamarádi z Gymnázia Turnov pořádají ples pro studenty v KC Střelnice v Turnově! Ne Maturitní ples GyTu, Maturitní ples OHS, nebo Absolventský ples Gymnázia Turnov, ale PKM PARTY PLES!"
default_language = "cs"
compile_sass = true
minify_html = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
+5
View File
@@ -0,0 +1,5 @@
+++
title = "List of blog posts"
sort_by = "date"
template = "news.html"
+++
+11
View File
@@ -0,0 +1,11 @@
+++
title = "Poděkování 2022"
date = 2022-02-27
[extra]
author = "Jaroslav Valkoun"
+++
Děkujeme všem za nezapomenutelný večer! Na fotky z fotokoutku od <a href="https://www.facebook.com/profile.php?id=100009098313789" target="_blank" style="color: var(--clrRed); text-decoration: underline">Petry Horákové</a> a z parketu od <a href="https://www.instagram.com/ota.pro/" target="_blank" style="color: var(--clrRed); text-decoration: underline">Oty Procházky</a> se můžete podívat přes odkazy níže. Budeme se těšit příští rok!
<img src="https://www.pkmples.cz/img/polaroid-thanks-web-750.png" width="200">
+10
View File
@@ -0,0 +1,10 @@
+++
title = "My first post"
date = 2019-11-27
[extra]
author = "Filip Rojek"
+++
- This is my first blog post.
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Modi magnam architecto in iusto labore tempora saepe dignissimos aliquid quidem fugiat qui praesentium, distinctio veritatis quis suscipit eos temporibus. Aliquid, nemo.
+11
View File
@@ -0,0 +1,11 @@
+++
title = "Pozvanka 2024"
date = 2023-10-28
[extra]
author = "Jaroslav Valkoun"
+++
Již nyní pro Vás připravujeme další ročník __PARTY PLESU!__ Zapište si __24. 2. 2024__ do kalendáře, protože už teď víme, že se máte na co těšit.
Sledujte nově náš [instagram](https://www.instagram.com/pkm.hub), kde kromě novinek o plesu přidáváme i různé fotky a videa ze zákulisí.
+10
View File
@@ -0,0 +1,10 @@
footer {
display: flex;
justify-content: center;
padding: 1rem;
a {
color: blue;
text-decoration: none;
}
}
+11
View File
@@ -0,0 +1,11 @@
nav {
display: flex;
justify-content: center;
gap: 1rem;
a {
text-decoration: none;
font-size: 1.5rem;
color: navy;
}
}
+12
View File
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
</head>
<body>
<h1>404 - Stránka nenalezena</h1>
<a href="/">Zpět na ples</a>
</body>
</html>
+28
View File
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/header.css">
<link rel="stylesheet" href="/footer.css">
</head>
<body>
<nav>
<a href="/">Domů</a>
<a href="/fotoarchiv">Fotoarchiv</a>
<a href="/webarchiv">Webarchiv</a>
</nav>
<section id="news">
{% block news %} {% endblock %}
</section>
<footer>
<a href="https://www.fofrweb.com/" target="_blank">Vytvořeno týmem Fofrweb</a>
</footer>
</body>
</html>
+14
View File
@@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block news %}
<h1>Novinky</h1>
<h2>Co se děje kolem našeho plesu?</h2>
{% for page in section.pages %}
<article>
<p>{{ page.date }}</p>
<p>Autor: {{ page.extra["author"] }}</p>
<h3>{{ page.title }}</h3>
{{ page.content | safe }}
</article>
<hr>
{% endfor %}
{% endblock news %}