added: news, nav, footer
This commit is contained in:
parent
984d8a3d47
commit
136f83f80a
@ -1,8 +1,12 @@
|
|||||||
# The URL the site will be built for
|
# The URL the site will be built for
|
||||||
base_url = "https://www.pkmples.cz"
|
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
|
compile_sass = true
|
||||||
|
minify_html = true
|
||||||
|
|
||||||
# Whether to build a search index to be used later on by a JavaScript library
|
# Whether to build a search index to be used later on by a JavaScript library
|
||||||
build_search_index = false
|
build_search_index = false
|
||||||
|
5
content/_index.md
Normal file
5
content/_index.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
+++
|
||||||
|
title = "List of blog posts"
|
||||||
|
sort_by = "date"
|
||||||
|
template = "news.html"
|
||||||
|
+++
|
11
content/podekovani_2022.md
Normal file
11
content/podekovani_2022.md
Normal 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
content/pozvanka_2022.md
Normal file
10
content/pozvanka_2022.md
Normal 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
content/pozvanka_2023.md
Normal file
11
content/pozvanka_2023.md
Normal 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
sass/footer.scss
Normal file
10
sass/footer.scss
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 1rem;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: blue;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
11
sass/header.scss
Normal file
11
sass/header.scss
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
nav {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 1rem;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
color: navy;
|
||||||
|
}
|
||||||
|
}
|
12
templates/404.html
Normal file
12
templates/404.html
Normal 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
templates/base.html
Normal file
28
templates/base.html
Normal 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
templates/news.html
Normal file
14
templates/news.html
Normal 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 %}
|
Loading…
Reference in New Issue
Block a user