]> git.dujemihanovic.xyz Git - dujemihanovic.xyz.git/commitdiff
Fix W3 HTML validator errors
authorDuje Mihanović <duje.mihanovic@skole.hr>
Fri, 18 Aug 2023 10:59:28 +0000 (12:59 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Fri, 18 Aug 2023 10:59:28 +0000 (12:59 +0200)
* Add lang="en" attribute to html tag
* Remove "px" from RSS icon width and height

layouts/_default/baseof.html

index 83689df53045a53e8c79374167242bf65d0a4e60..110646b631400d728fcbe606e01c72b343872e52 100644 (file)
@@ -1,5 +1,5 @@
 <!doctype html>
-<html>
+<html lang="en">
        <head>
                {{ partial "meta.html" . }}
                {{ $style := resources.Get "css/style.css" | resources.Minify }}
@@ -27,7 +27,7 @@
                        {{ $image := resources.Get "img/rss.svg" }}
                        <p></p>
                        <!-- See comment above. -->
-                       <a href="{{ $.Site.BaseURL }}posts/index.xml"><img src="{{ $image.RelPermalink }}" width="32px" height="32px" alt="Link to RSS feed"></a>
+                       <a href="{{ $.Site.BaseURL }}posts/index.xml"><img src="{{ $image.RelPermalink }}" width="32" height="32" alt="Link to RSS feed"></a>
                        <p>This site is <a href="https://git.dujemihanovic.xyz/duje/dujemihanovic.xyz">free software</a></p>
                        </center>
                </footer>