diff --git a/config.toml b/config.toml index 85c7c14..04f98a6 100644 --- a/config.toml +++ b/config.toml @@ -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 diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..f0d47b3 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,5 @@ ++++ +title = "List of blog posts" +sort_by = "date" +template = "news.html" ++++ diff --git a/content/podekovani_2022.md b/content/podekovani_2022.md new file mode 100644 index 0000000..4cef1d9 --- /dev/null +++ b/content/podekovani_2022.md @@ -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 Petry Horákové a z parketu od Oty Procházky se můžete podívat přes odkazy níže. Budeme se těšit příští rok! + + diff --git a/content/pozvanka_2022.md b/content/pozvanka_2022.md new file mode 100644 index 0000000..0f3250f --- /dev/null +++ b/content/pozvanka_2022.md @@ -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. diff --git a/content/pozvanka_2023.md b/content/pozvanka_2023.md new file mode 100644 index 0000000..930f826 --- /dev/null +++ b/content/pozvanka_2023.md @@ -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í. diff --git a/sass/footer.scss b/sass/footer.scss new file mode 100644 index 0000000..1e4143e --- /dev/null +++ b/sass/footer.scss @@ -0,0 +1,10 @@ +footer { + display: flex; + justify-content: center; + padding: 1rem; + + a { + color: blue; + text-decoration: none; + } +} \ No newline at end of file diff --git a/sass/header.scss b/sass/header.scss new file mode 100644 index 0000000..ab8b44a --- /dev/null +++ b/sass/header.scss @@ -0,0 +1,11 @@ +nav { + display: flex; + justify-content: center; + gap: 1rem; + + a { + text-decoration: none; + font-size: 1.5rem; + color: navy; + } +} \ No newline at end of file diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..22a0391 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,12 @@ + + + + + + + + +

404 - Stránka nenalezena

+ Zpět na ples + + \ No newline at end of file diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..08aa49a --- /dev/null +++ b/templates/base.html @@ -0,0 +1,28 @@ + + + + + + + + + + + + + +
+ {% block news %} {% endblock %} +
+ + + + + + \ No newline at end of file diff --git a/templates/news.html b/templates/news.html new file mode 100644 index 0000000..aed77f2 --- /dev/null +++ b/templates/news.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% block news %} +

Novinky

+

Co se děje kolem našeho plesu?

+ {% for page in section.pages %} +
+

{{ page.date }}

+

Autor: {{ page.extra["author"] }}

+

{{ page.title }}

+ {{ page.content | safe }} +
+
+ {% endfor %} +{% endblock news %} \ No newline at end of file