Small fixes

This commit is contained in:
Tom 2025-05-28 17:25:20 +02:00
parent 86a3ef632c
commit d5ffb28a70
5 changed files with 30 additions and 31 deletions

View File

@ -35,8 +35,8 @@
<!-- Description tags -->
{% if page.excerpt %}
<!-- HTML Meta Tag Description -->
<meta name="description" content="{{page.excerpt | strip_html | strip}}">
<meta property="og:description" content="{{page.excerpt | strip_html | strip}}">
<meta name="description" content="{{page.excerpt | strip_html | strip | xml_escape}}">
<meta property="og:description" content="{{page.excerpt | strip_html | strip | xml_escape}}">
{% endif %}
<!-- Image preview tags -->
@ -62,7 +62,7 @@
<meta property="og:image" content="{{image | absolute_url}}">
{% if alt %} <!-- Note og:image:alt must immediately follow og:image tag -->
<meta property="og:image:alt" content="{{alt | strip}}">
<meta property="og:image:alt" content="{{alt | xml_escape }}">
{% endif %}
{% endif %}

View File

@ -10,5 +10,6 @@
<section class = "webring">
<a href="https://xn--sr8hvo.ws/previous"></a>
An <a href="https://xn--sr8hvo.ws">IndieWeb Webring</a>
<a href="https://xn--sr8hvo.ws/next"></a><section>
<a href="https://xn--sr8hvo.ws/next"></a>
</section>
</footer>

View File

@ -1,17 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
class="invertable"
width="61.076954mm"
height="65.47831mm"
viewBox="0 0 216.4144 232.00976"
version="1.1"
id="svg1824"
sodipodi:docname="mastodon.svg"
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
class="invertable"
width="61.076954mm"
height="65.47831mm"
viewBox="0 0 216.4144 232.00976"
version="1.1"
id="svg1824"
sodipodi:docname="mastodon.svg"
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1828" />
<sodipodi:namedview

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,16 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
class="invertable"
role="img"
viewBox="0 0 24 24"
version="1.1"
id="svg1094"
sodipodi:docname="rss.svg"
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
class="invertable"
role="img"
viewBox="0 0 24 24"
version="1.1"
id="svg1094"
sodipodi:docname="rss.svg"
inkscape:version="1.2.1 (9c6d41e4, 2022-07-14)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1098" />
<sodipodi:namedview

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -37,7 +37,7 @@
{{ page.social_text | default_mastodon_text }}
<img src = "{{ page.social_image }}"
class = "u-featured"
alt="{{page.alt | smartify}}">
alt="{{page.alt | xml_escape }}">
</div>
<div class="e-content">
{{ content }}
@ -46,8 +46,8 @@
{% if page.commentid %}
<div id="comments" class="comments">
<h2>Comments</h2>
{% endif %}
</div>
{% endif %}
</main>
{% include footer.html %}
</body>