1
0
Fork 0
forked from github/pelican

feat: add blog post word count

This commit is contained in:
Oliver Ladner 2025-07-08 10:51:34 +02:00
commit c0618e0a9c
11 changed files with 103 additions and 50 deletions

View file

@ -48,6 +48,23 @@
/* Align prism.js font size to main font size */
font-size: 0.9rem;
}
ul.tagcloud {
list-style: none;
padding: 0;
}
<!-- Pelican tag_cloud -->
ul.tagcloud li {
display: inline-block;
}
li.tag-1 {
font-size: 160%;
}
li.tag-2 {
font-size: 130%;
}
li.tag-3 {
font-size: 100%;
}
</style>
{% endblock head %}
</head>
@ -71,7 +88,7 @@
{% if DISPLAY_PAGES_ON_MENU %}
<div>
{% for p in pages %}
<li><a href="{{ SITEURL }}/{{ p.url }}" class="no-underline" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li>
<li><a href="{{ SITEURL }}/{{ p.url }}" class="no-underline" {% if p==page %} aria-current="page" {% endif %}>{{ p.title }}</a></li>
{% endfor %}
</div>
{% endif %}
@ -124,13 +141,11 @@
</div>
<div class="col-span-3 p-4 md:border-l-4 border-rp-dawn-overlay dark:border-rp-moon-overlay">
<p class="pb-4">
Mostly valid <a href="https://wave.webaim.org/report#/https://lugh.ch">WCAG 2.2 AA</a>
100% artisanal <a href="https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" rel="license noopener noreferrer" style="display: inline-block">content licensed under <em>CC BY-SA 4.0</em></a>,
mostly <a href="https://wave.webaim.org/report#/https://lugh.ch/{{ output_file }}">valid <em>WCAG 2.2 AA</em></a>.
</p>
<p class="pb-4">
100% organic content licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1" rel="license noopener noreferrer" style="display: inline-block">CC BY-SA 4.0</a>
</p>
<p class="pb-4">
<a href="/feeds/atom.xml">Atom feed</a>
<a href="/feeds/atom.xml">Atom feed</a> of all blog posts.
</p>
</div>
</div>