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

View File

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

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg <svg
class="invertable" class="invertable"
width="61.076954mm" width="61.076954mm"

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg <svg
class="invertable" class="invertable"
role="img" role="img"

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