diff options
author | Wolfgang Müller | 2021-10-19 16:13:24 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-10-19 16:13:24 +0200 |
commit | c4b42be90d7519b212f3480f7ed1ce3f49f4edb8 (patch) | |
tree | b04690bb859a7f63329c381cad88e90b9f56f8a6 /templates/macros.html | |
parent | 61696d41ed28ed62f4b93f6ff86b45a2325d67ed (diff) | |
download | zunzuncito-c4b42be90d7519b212f3480f7ed1ce3f49f4edb8.tar.gz |
templates: Use a unitless integer for the img width attribute
According to MDN [1], the width attribute carries a unitless integer
instead of "px" et al. Make sure we conform to the standard.
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-width
Diffstat (limited to 'templates/macros.html')
-rw-r--r-- | templates/macros.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/macros.html b/templates/macros.html index 1fbfc55..f69eb08 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -1,7 +1,7 @@ {% macro render_post(post, class="feed") -%} <article class="{{ class }}"> <header> - <img class="avatar" alt="{{ config.extra.author }}" src="{{ config.extra.avatar }}" width="64px" /> + <img class="avatar" alt="{{ config.extra.author }}" src="{{ config.extra.avatar }}" width="64" /> <div class="banner smaller"> <div class="info"> <a class="bold-hover" title="permalink to this post" href="{{ post.permalink }}">{% if class == "mention" %}№ {{ post.slug }} {% else %}§{% endif %}</a> |