commit a79e7faa87dd3e4e65af2c3a227fa828de075c88 Author: Petr Velička Date: Sat May 24 12:21:17 2025 +0200 Initial commit -- migration to zola diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a48cf0d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..e9e86d4 --- /dev/null +++ b/config.toml @@ -0,0 +1,16 @@ +# The URL the site will be built for +base_url = "https://brloh.is" + +# Whether to automatically compile all Sass files in the sass directory +compile_sass = true + +# Whether to build a search index to be used later on by a JavaScript library +build_search_index = false + +[markdown] +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = false + +[extra] +# Put all your custom variables here diff --git a/content/lang/_index.md b/content/lang/_index.md new file mode 100644 index 0000000..34f61c1 --- /dev/null +++ b/content/lang/_index.md @@ -0,0 +1,8 @@ ++++ +title = "Linguistics" +sort_by = "date" +template = "blog.html" +page_template = "post.html" ++++ + +Here you can see some curiosities from languages spoken all over the world. diff --git a/content/math/_index.md b/content/math/_index.md new file mode 100644 index 0000000..c01afba --- /dev/null +++ b/content/math/_index.md @@ -0,0 +1,8 @@ ++++ +title = "Math" +sort_by = "date" +template = "blog.html" +page_template = "post.html" ++++ + +Here you can see some mathematical curiosities and notes for courses I have attended in the past. diff --git a/content/travel/_index.md b/content/travel/_index.md new file mode 100644 index 0000000..c564ebf --- /dev/null +++ b/content/travel/_index.md @@ -0,0 +1,8 @@ ++++ +title = "Travel" +sort_by = "date" +template = "blog.html" +page_template = "post.html" ++++ + +Here you can see some curiosities from my travels all over the world. diff --git a/content/travel/metro.md b/content/travel/metro.md new file mode 100644 index 0000000..f089e42 --- /dev/null +++ b/content/travel/metro.md @@ -0,0 +1,54 @@ ++++ +title = "Prague Metro D" +date = 2025-05-17 +slug = "prg_metro_d" ++++ + +Some photos I took during the viewing offered free of charge by Prague public transit agency [DPP](https://dpp.cz/). You can click on the images to open them in a new tab in higher resolution. + +The new line D is currently under construction and the first part of it from Pankrác to Libuš in the southern part of the city is currently planned to open in 2031. + + diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..c15dd3d Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/img/2025-05-17-metro/pic1.jpg b/static/img/2025-05-17-metro/pic1.jpg new file mode 100644 index 0000000..093fc20 Binary files /dev/null and b/static/img/2025-05-17-metro/pic1.jpg differ diff --git a/static/img/2025-05-17-metro/pic10.jpg b/static/img/2025-05-17-metro/pic10.jpg new file mode 100644 index 0000000..246ac2e Binary files /dev/null and b/static/img/2025-05-17-metro/pic10.jpg differ diff --git a/static/img/2025-05-17-metro/pic11.jpg b/static/img/2025-05-17-metro/pic11.jpg new file mode 100644 index 0000000..fec4b03 Binary files /dev/null and b/static/img/2025-05-17-metro/pic11.jpg differ diff --git a/static/img/2025-05-17-metro/pic12.jpg b/static/img/2025-05-17-metro/pic12.jpg new file mode 100644 index 0000000..a55ba1d Binary files /dev/null and b/static/img/2025-05-17-metro/pic12.jpg differ diff --git a/static/img/2025-05-17-metro/pic13.jpg b/static/img/2025-05-17-metro/pic13.jpg new file mode 100644 index 0000000..596e369 Binary files /dev/null and b/static/img/2025-05-17-metro/pic13.jpg differ diff --git a/static/img/2025-05-17-metro/pic14.jpg b/static/img/2025-05-17-metro/pic14.jpg new file mode 100644 index 0000000..6cc027e Binary files /dev/null and b/static/img/2025-05-17-metro/pic14.jpg differ diff --git a/static/img/2025-05-17-metro/pic15.jpg b/static/img/2025-05-17-metro/pic15.jpg new file mode 100644 index 0000000..5c0e959 Binary files /dev/null and b/static/img/2025-05-17-metro/pic15.jpg differ diff --git a/static/img/2025-05-17-metro/pic16.jpg b/static/img/2025-05-17-metro/pic16.jpg new file mode 100644 index 0000000..225f76e Binary files /dev/null and b/static/img/2025-05-17-metro/pic16.jpg differ diff --git a/static/img/2025-05-17-metro/pic17.jpg b/static/img/2025-05-17-metro/pic17.jpg new file mode 100644 index 0000000..6a49493 Binary files /dev/null and b/static/img/2025-05-17-metro/pic17.jpg differ diff --git a/static/img/2025-05-17-metro/pic18.jpg b/static/img/2025-05-17-metro/pic18.jpg new file mode 100644 index 0000000..53971f1 Binary files /dev/null and b/static/img/2025-05-17-metro/pic18.jpg differ diff --git a/static/img/2025-05-17-metro/pic19.jpg b/static/img/2025-05-17-metro/pic19.jpg new file mode 100644 index 0000000..2f94c81 Binary files /dev/null and b/static/img/2025-05-17-metro/pic19.jpg differ diff --git a/static/img/2025-05-17-metro/pic2.jpg b/static/img/2025-05-17-metro/pic2.jpg new file mode 100644 index 0000000..d2e8f33 Binary files /dev/null and b/static/img/2025-05-17-metro/pic2.jpg differ diff --git a/static/img/2025-05-17-metro/pic20.jpg b/static/img/2025-05-17-metro/pic20.jpg new file mode 100644 index 0000000..18b93b1 Binary files /dev/null and b/static/img/2025-05-17-metro/pic20.jpg differ diff --git a/static/img/2025-05-17-metro/pic21.jpg b/static/img/2025-05-17-metro/pic21.jpg new file mode 100644 index 0000000..7eb33a1 Binary files /dev/null and b/static/img/2025-05-17-metro/pic21.jpg differ diff --git a/static/img/2025-05-17-metro/pic24.jpg b/static/img/2025-05-17-metro/pic24.jpg new file mode 100644 index 0000000..0413915 Binary files /dev/null and b/static/img/2025-05-17-metro/pic24.jpg differ diff --git a/static/img/2025-05-17-metro/pic26.jpg b/static/img/2025-05-17-metro/pic26.jpg new file mode 100644 index 0000000..dc84558 Binary files /dev/null and b/static/img/2025-05-17-metro/pic26.jpg differ diff --git a/static/img/2025-05-17-metro/pic27.jpg b/static/img/2025-05-17-metro/pic27.jpg new file mode 100644 index 0000000..82a0fd0 Binary files /dev/null and b/static/img/2025-05-17-metro/pic27.jpg differ diff --git a/static/img/2025-05-17-metro/pic28.jpg b/static/img/2025-05-17-metro/pic28.jpg new file mode 100644 index 0000000..324c6a1 Binary files /dev/null and b/static/img/2025-05-17-metro/pic28.jpg differ diff --git a/static/img/2025-05-17-metro/pic29.jpg b/static/img/2025-05-17-metro/pic29.jpg new file mode 100644 index 0000000..4943ed3 Binary files /dev/null and b/static/img/2025-05-17-metro/pic29.jpg differ diff --git a/static/img/2025-05-17-metro/pic3.jpg b/static/img/2025-05-17-metro/pic3.jpg new file mode 100644 index 0000000..f9ddf91 Binary files /dev/null and b/static/img/2025-05-17-metro/pic3.jpg differ diff --git a/static/img/2025-05-17-metro/pic30.jpg b/static/img/2025-05-17-metro/pic30.jpg new file mode 100644 index 0000000..25b1a7c Binary files /dev/null and b/static/img/2025-05-17-metro/pic30.jpg differ diff --git a/static/img/2025-05-17-metro/pic31.jpg b/static/img/2025-05-17-metro/pic31.jpg new file mode 100644 index 0000000..4663a0c Binary files /dev/null and b/static/img/2025-05-17-metro/pic31.jpg differ diff --git a/static/img/2025-05-17-metro/pic32.jpg b/static/img/2025-05-17-metro/pic32.jpg new file mode 100644 index 0000000..bca4e29 Binary files /dev/null and b/static/img/2025-05-17-metro/pic32.jpg differ diff --git a/static/img/2025-05-17-metro/pic33.jpg b/static/img/2025-05-17-metro/pic33.jpg new file mode 100644 index 0000000..350ef0a Binary files /dev/null and b/static/img/2025-05-17-metro/pic33.jpg differ diff --git a/static/img/2025-05-17-metro/pic34.jpg b/static/img/2025-05-17-metro/pic34.jpg new file mode 100644 index 0000000..fc62e60 Binary files /dev/null and b/static/img/2025-05-17-metro/pic34.jpg differ diff --git a/static/img/2025-05-17-metro/pic35.jpg b/static/img/2025-05-17-metro/pic35.jpg new file mode 100644 index 0000000..dcb7435 Binary files /dev/null and b/static/img/2025-05-17-metro/pic35.jpg differ diff --git a/static/img/2025-05-17-metro/pic36.jpg b/static/img/2025-05-17-metro/pic36.jpg new file mode 100644 index 0000000..773b0bc Binary files /dev/null and b/static/img/2025-05-17-metro/pic36.jpg differ diff --git a/static/img/2025-05-17-metro/pic37.jpg b/static/img/2025-05-17-metro/pic37.jpg new file mode 100644 index 0000000..51b273e Binary files /dev/null and b/static/img/2025-05-17-metro/pic37.jpg differ diff --git a/static/img/2025-05-17-metro/pic38.jpg b/static/img/2025-05-17-metro/pic38.jpg new file mode 100644 index 0000000..9ad15c9 Binary files /dev/null and b/static/img/2025-05-17-metro/pic38.jpg differ diff --git a/static/img/2025-05-17-metro/pic39.jpg b/static/img/2025-05-17-metro/pic39.jpg new file mode 100644 index 0000000..809f270 Binary files /dev/null and b/static/img/2025-05-17-metro/pic39.jpg differ diff --git a/static/img/2025-05-17-metro/pic4.jpg b/static/img/2025-05-17-metro/pic4.jpg new file mode 100644 index 0000000..1b1227d Binary files /dev/null and b/static/img/2025-05-17-metro/pic4.jpg differ diff --git a/static/img/2025-05-17-metro/pic40.jpg b/static/img/2025-05-17-metro/pic40.jpg new file mode 100644 index 0000000..e6a6d51 Binary files /dev/null and b/static/img/2025-05-17-metro/pic40.jpg differ diff --git a/static/img/2025-05-17-metro/pic41.jpg b/static/img/2025-05-17-metro/pic41.jpg new file mode 100644 index 0000000..2e060cd Binary files /dev/null and b/static/img/2025-05-17-metro/pic41.jpg differ diff --git a/static/img/2025-05-17-metro/pic42.jpg b/static/img/2025-05-17-metro/pic42.jpg new file mode 100644 index 0000000..3982d6f Binary files /dev/null and b/static/img/2025-05-17-metro/pic42.jpg differ diff --git a/static/img/2025-05-17-metro/pic43.jpg b/static/img/2025-05-17-metro/pic43.jpg new file mode 100644 index 0000000..bedfa38 Binary files /dev/null and b/static/img/2025-05-17-metro/pic43.jpg differ diff --git a/static/img/2025-05-17-metro/pic44.jpg b/static/img/2025-05-17-metro/pic44.jpg new file mode 100644 index 0000000..8b52c36 Binary files /dev/null and b/static/img/2025-05-17-metro/pic44.jpg differ diff --git a/static/img/2025-05-17-metro/pic45.jpg b/static/img/2025-05-17-metro/pic45.jpg new file mode 100644 index 0000000..322487a Binary files /dev/null and b/static/img/2025-05-17-metro/pic45.jpg differ diff --git a/static/img/2025-05-17-metro/pic46.jpg b/static/img/2025-05-17-metro/pic46.jpg new file mode 100644 index 0000000..10ff4b4 Binary files /dev/null and b/static/img/2025-05-17-metro/pic46.jpg differ diff --git a/static/img/2025-05-17-metro/pic5.jpg b/static/img/2025-05-17-metro/pic5.jpg new file mode 100644 index 0000000..284ad91 Binary files /dev/null and b/static/img/2025-05-17-metro/pic5.jpg differ diff --git a/static/img/2025-05-17-metro/pic7.jpg b/static/img/2025-05-17-metro/pic7.jpg new file mode 100644 index 0000000..6fa4369 Binary files /dev/null and b/static/img/2025-05-17-metro/pic7.jpg differ diff --git a/static/img/2025-05-17-metro/pic8.jpg b/static/img/2025-05-17-metro/pic8.jpg new file mode 100644 index 0000000..891f1b6 Binary files /dev/null and b/static/img/2025-05-17-metro/pic8.jpg differ diff --git a/static/img/2025-05-17-metro/pic9.jpg b/static/img/2025-05-17-metro/pic9.jpg new file mode 100644 index 0000000..e0ec823 Binary files /dev/null and b/static/img/2025-05-17-metro/pic9.jpg differ diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..d2e4d15 --- /dev/null +++ b/static/style.css @@ -0,0 +1,185 @@ +html { + overflow-y: scroll; +} + +body { + background-color: #fff; + color: #000; + font-family: sans-serif; + padding: 0; + margin: 0; +} + +pre, code { + margin: 0; +} + +a { + color: #005386; +} + +#header a, #nav a, #menu a { + text-decoration: none; +} + +#nav a:hover { + background-color: #ddd; +} + +#menu { + clear: both; + color: #069; + overflow: hidden; + background-color: #17a; + padding: 0.7ex; + border-top: 1px solid #ccc; + border-bottom: 1px solid #069; +} + +#menu a { + padding: 0.5ex 1ex; + color: #fff; +} + +#menu span { + color: #fff; +} + +#menu a:hover { + background-color: #069; +} + +#header { + background-color: #eee; + clear: both; + color: #555; + font-size: 1.78em; + padding: 0.7ex 0.7ex 0.7ex 0.7em; +} + +#headerLink { + color: #17a; + margin-left: 5px; +} + +h1 { + margin: 1em 1ex 0.5ex 0; + font-size: 1.4em; +} + +h2 { + margin: 1em 1ex 0.5ex 0; + font-size: 1.3em; +} + +h3 { + margin: 1em 1ex 0.5ex 0; + font-size: 1.0em; +} + +h4 { + margin: 1em 1ex 0.5ex 0; + font-size: 0.9em; +} + +#headerSubtitle { + font-size: 0.75em; + font-style: italic; + margin-left: 1em; +} + +#content { + clear: both; + margin: 0; + padding: 0; +} + +#nav { + float: left; + margin: 0 1px 0 0; + padding: 1em 0; + border-right: 1px dotted #ccc; + width: 300px; +} + +#nav ul { + margin: 0; + padding: 0; +} + +#nav li { + list-style: none; + padding: 0; + margin: 0; +} + +#nav li ul { + padding-left: 0.6em !important; +} + +#nav li a { + display: block; + margin: 0; + padding: 0.8ex 2em 0.8ex 1em; +} + +#main { + margin: 0 0 0 300px; + max-width: 50em; + padding: 1.5em; +} + +.gallery { + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + grid-gap: 20px; +} + +.gallery a img { + width: 100%; + height: 100%; + object-fit: cover; +} + + +.left { + float: left; + margin: 0; + padding: 0; +} + +.right { + float: right; + margin: 0; + padding: 0; +} + +.hidden { + display: none; +} + +@media (prefers-color-scheme: dark) { + body { + background-color: #000; + color: #bdbdbd; + } + #menu { + border-top: 1px solid #222; + } + #header { + background-color: #111; + } + #nav a:hover { + background-color: #222; + } + blockquote, pre, code { + background-color: #111; + border-color: #222; + } + a { + color: #56c8ff; + } + #main img[src$=svg] { + filter: invert(1); + } +} diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..7ca75c4 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block content %} +

Error 404: Page Not Found

+ +

+Feel free to look around though! Maybe you will find something beary 🐻 interesting!

+{% endblock content %} diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..16d9a69 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,29 @@ + + + + + {% block page_title %} {% endblock page_title %} Bear's den + + + + + +
+ +
+ {% block content %} {% endblock content %} +
+
+ + diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..da6548c --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} + +{% block page_title %} +{{section.title}} | +{% endblock page_title %} + +{% block nav %} + +{% endblock nav %} + +{% block content %} +

+ {{ section.title }} +

+ +{{ section.content | safe }} + +{% endblock content %} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..a73da93 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block content %} +

Welcome to Bear's den! 🐻

+ +

Theme inspired by suckless. Website powered by zola.

+

If you wonder, where the URL of this website comes from, Brloh is Czech for "bear's den".

+{% endblock content %} diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..d4080fc --- /dev/null +++ b/templates/post.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} + +{% block page_title %} +{{page.title}} | +{% endblock page_title %} + +{% block nav %} + +{% endblock nav %} + +{% block content %} +

+ {{ page.title }} +

+ +

{{ page.date }}

+{{ page.content | safe }} + +{% endblock content %}