1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
LEdoian 7c0a3af85c render 6 months ago
LEdoian 5348273b16 Add publication time to the theme 6 months ago

@ -62,6 +62,7 @@
<main> <main>
<div> <div>
<div class="details"><time datetime="2024-01-10T16:47:00+01:00">2024-01-10 16:47</time></div>
<h1>About this blog</h1> <h1>About this blog</h1>
<p>This is my blog and this article describes its setup and other details about my <p>This is my blog and this article describes its setup and other details about my
intentions. The actual <a class="reference internal" href="#the-setup">setup</a> is probably the most intentions. The actual <a class="reference internal" href="#the-setup">setup</a> is probably the most

@ -62,6 +62,7 @@
<main> <main>
<div> <div>
<div class="details"><time datetime="2024-02-17T16:55:00+01:00">2024-02-17 16:55</time></div>
<h1>How to convert CBZ to PDF</h1> <h1>How to convert CBZ to PDF</h1>
<ol class="arabic simple"> <ol class="arabic simple">
<li>Extract the archive (cbz is just a zip, cbr is a rar, …)</li> <li>Extract the archive (cbz is just a zip, cbr is a rar, …)</li>

@ -62,6 +62,7 @@
<main> <main>
<div> <div>
<div class="details"><time datetime="2024-04-17T16:40:00+02:00">2024-04-17 16:40</time></div>
<h1>Creating own XKB tweaks</h1> <h1>Creating own XKB tweaks</h1>
<p>Debugging this took me a bit too long, so I want to write about the caveat.</p> <p>Debugging this took me a bit too long, so I want to write about the caveat.</p>
<p>My problem: My laptop does not have PageUp and PageDown keys, and many other <p>My problem: My laptop does not have PageUp and PageDown keys, and many other

@ -62,6 +62,7 @@
<main> <main>
<div> <div>
<div class="details"><time datetime="2024-03-11T22:49:00+01:00">2024-03-11 22:49</time></div>
<h1>You sure you want to hear the gossip?</h1> <h1>You sure you want to hear the gossip?</h1>
<p>Sometimes, not knowing something about your friends is simpler than knowing <p>Sometimes, not knowing something about your friends is simpler than knowing
something you know you aren't supposed to know…</p> something you know you aren't supposed to know…</p>

@ -62,6 +62,7 @@
<main> <main>
<div> <div>
<div class="details"><time datetime="2023-12-31T18:23:00+01:00">2023-12-31 18:23</time></div>
<h1>UCW keyboard layout on XWayland</h1> <h1>UCW keyboard layout on XWayland</h1>
<p>This is a story/writeup of how I debugged UCW layout on XWayland. You may learn <p>This is a story/writeup of how I debugged UCW layout on XWayland. You may learn
here how keyboard layouts work on Linux.</p> here how keyboard layouts work on Linux.</p>

@ -62,6 +62,7 @@
<main> <main>
<div> <div>
<div class="details"><time datetime="2024-01-24T03:20:00+01:00">2024-01-24 03:20</time></div>
<h1>Do not forget about IPv6 DNS</h1> <h1>Do not forget about IPv6 DNS</h1>
<p>Do you think IPv6-only internet works OK? I am going to tell you that it does <p>Do you think IPv6-only internet works OK? I am going to tell you that it does
not, but it is not immediately visible. TL;DR: The internet can be broken also not, but it is not immediately visible. TL;DR: The internet can be broken also

@ -62,6 +62,7 @@
<main> <main>
<div> <div>
<div class="details"><time datetime="2024-05-08T13:32:00+02:00">2024-05-08 13:32</time></div>
<h1>Only NAT packets you can deliver responses for</h1> <h1>Only NAT packets you can deliver responses for</h1>
<p>When setting up a masquerading nat, it is worth considering masquerading only <p>When setting up a masquerading nat, it is worth considering masquerading only
packets from known networks. That is, instead of rule like <tt class="docutils literal">iifname <span class="pre">eth-inside</span> packets from known networks. That is, instead of rule like <tt class="docutils literal">iifname <span class="pre">eth-inside</span>

@ -62,6 +62,7 @@
<main> <main>
<div> <div>
<div class="details"><time datetime="2024-03-02T18:07:00+01:00">2024-03-02 18:07</time></div>
<h1>Print your stuff on Möbius bands!</h1> <h1>Print your stuff on Möbius bands!</h1>
<p>I found a fun and useful way of printing stuff to ~~both~~all sides of a paper. <p>I found a fun and useful way of printing stuff to ~~both~~all sides of a paper.
I just need to find the right printer!</p> I just need to find the right printer!</p>

@ -62,6 +62,7 @@
<main> <main>
<div> <div>
<div class="details"><time datetime="2023-12-02T18:00:00+01:00">2023-12-02 18:00</time></div>
<h1>Smršť 2023 (CZ)</h1> <h1>Smršť 2023 (CZ)</h1>
<p>Na <a class="reference external" href="https://ksp.mff.cuni.cz/akce/smrst/2023/">Smršti</a> jsem přednášel o distribuci SW a o technicky zajímavých železničních neštěstích.</p> <p>Na <a class="reference external" href="https://ksp.mff.cuni.cz/akce/smrst/2023/">Smršti</a> jsem přednášel o distribuci SW a o technicky zajímavých železničních neštěstích.</p>
<div class="section" id="materialy"> <div class="section" id="materialy">

@ -84,3 +84,11 @@ p {
p.caption { p.caption {
text-align: center; text-align: center;
} }
.details {
text-align: center;
color: orange;
margin: 0.9em;
/*width: 100%;
*/
}

@ -28,6 +28,8 @@ JINJA_ENVIRONMENT = {
PLUGINS = ['plugins.pelicanversion'] PLUGINS = ['plugins.pelicanversion']
TIMEZONE = 'Europe/Prague' TIMEZONE = 'Europe/Prague'
# How the hell does this not support %F %T?
DEFAULT_DATE_FORMAT = '%Y-%m-%d %H:%M'
DEFAULT_LANG = 'en' DEFAULT_LANG = 'en'

@ -84,3 +84,11 @@ p {
p.caption { p.caption {
text-align: center; text-align: center;
} }
.details {
text-align: center;
color: orange;
margin: 0.9em;
/*width: 100%;
*/
}

@ -1,7 +1,8 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% set page_title = article.title %} {% set page_title = article.title %}
{% block content %} {% block content %}
<div class="details"><time datetime="{{ article.date.isoformat() }}">{{article.locale_date}}</time></div>
<h1>{{ article.title }}</h1> <h1>{{ article.title }}</h1>
{# TODO: more details here #} {# TODO: more details here: update, language, translations, maybe different style for drafts? summary? tags, categories #}
{{ article.content }} {{ article.content }}
{% endblock content %} {% endblock content %}

Loading…
Cancel
Save