diff options
author | zwbetz-gh <zwbetz@gmail.com> | 2022-05-31 05:33:30 +0300 |
---|---|---|
committer | zwbetz-gh <zwbetz@gmail.com> | 2022-05-31 05:33:30 +0300 |
commit | d5ffe2f36953ae9183c3c7e5c6b4bc83ef1961a9 (patch) | |
tree | b13e51e10de39b07f594a6fcb59faf5b24cee7c6 | |
parent | efbc6acf902b3413c1814c3eb662bed0558ca5d1 (diff) |
fix 71
-rw-r--r-- | assets/js/template-dom-scripts.js | 2 | ||||
-rw-r--r-- | exampleSite/.hugo_build.lock | 0 | ||||
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/terms.html | 2 | ||||
-rw-r--r-- | layouts/partials/nav.html | 4 | ||||
-rw-r--r-- | layouts/post/single.html | 4 | ||||
-rw-r--r-- | layouts/shortcodes/note.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/principles.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/tested.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/warning.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/wcag.html | 2 |
11 files changed, 12 insertions, 12 deletions
diff --git a/assets/js/template-dom-scripts.js b/assets/js/template-dom-scripts.js index c2f6b65..a9c9d10 100644 --- a/assets/js/template-dom-scripts.js +++ b/assets/js/template-dom-scripts.js @@ -70,7 +70,7 @@ var link = document.createElement('a'); link.setAttribute('href', '#' + id); - link.innerHTML = '<svg aria-hidden="true" class="link-icon" viewBox="0 0 50 50" focusable="false"> <use xlink:href="#link"></use> </svg>'; + link.innerHTML = '<svg aria-hidden="true" class="link-icon" viewBox="0 0 50 50" focusable="false"> <use href="#link"></use> </svg>'; container.appendChild(link); diff --git a/exampleSite/.hugo_build.lock b/exampleSite/.hugo_build.lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/exampleSite/.hugo_build.lock diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ece8203..b1eee83 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -20,7 +20,7 @@ viewBox="0 0 40 50" focusable="false" > - <use xlink:href="#bookmark"></use> + <use href="#bookmark"></use> </svg> {{ .Title }} </a> diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index d3f541f..bd4fc5f 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -7,7 +7,7 @@ <h2> <a href="{{ .Page.RelPermalink }}"> <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false"> - <use xlink:href="#tag"></use> + <use href="#tag"></use> </svg> {{ printf "(%d) %s" .Count .Page.Title }} </a> diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index ca80808..760b79e 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -2,7 +2,7 @@ <h2 class="vh">{{ T "nav_main_navigation" }}</h2> <button id="menu-button" aria-expanded="false"> <svg viewBox="0 0 50 50" aria-hidden="true" focusable="false"> - <use xlink:href="#menu"></use> + <use href="#menu"></use> </svg> {{ T "nav_button_menu" }} </button> @@ -16,7 +16,7 @@ {{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }} <a href="{{ .URL }}" {{ if $active }}aria-current="page"{{ end }}> <svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50"> - <use xlink:href="#bookmark"></use> + <use href="#bookmark"></use> </svg> <span class="text">{{ .Name }}</span> </a> diff --git a/layouts/post/single.html b/layouts/post/single.html index 38512f6..249604a 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -2,7 +2,7 @@ <main id="main"> <h1> <svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50" focusable="false"> - <use xlink:href="#bookmark"></use> + <use href="#bookmark"></use> </svg> {{ .Title }} </h1> @@ -26,7 +26,7 @@ {{ range . }} <li> <svg class="tag-icon" aria-hidden="true" viewBox="0 0 177.16535 177.16535" focusable="false"> - <use xlink:href="#tag"></use> + <use href="#tag"></use> </svg> {{ $href := print ("tags/" | relLangURL) (. | urlize) "/" }} <a href="{{ $href }}">{{ . }}</a> diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html index 6494910..fa44431 100644 --- a/layouts/shortcodes/note.html +++ b/layouts/shortcodes/note.html @@ -1,7 +1,7 @@ <aside aria-label="note" class="note"> <div> <svg class="sign" aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false"> - <use xlink:href="#info"></use> + <use href="#info"></use> </svg> {{ .Inner | markdownify }} </div> diff --git a/layouts/shortcodes/principles.html b/layouts/shortcodes/principles.html index ca846ac..a0fbf5b 100644 --- a/layouts/shortcodes/principles.html +++ b/layouts/shortcodes/principles.html @@ -9,7 +9,7 @@ <strong> <a href="https://inclusivedesignprinciples.org#{{ .title | urlize }}"> <svg class="balloon-icon" viewBox="0 0 141.73228 177.16535" aria-hidden="true" focusable="false"> - <use xlink:href="#balloon"></use> + <use href="#balloon"></use> </svg> {{ .title }} </a>: diff --git a/layouts/shortcodes/tested.html b/layouts/shortcodes/tested.html index 0e8d9d3..d8d3924 100644 --- a/layouts/shortcodes/tested.html +++ b/layouts/shortcodes/tested.html @@ -5,7 +5,7 @@ <tr> <th scope="row"> <svg viewBox="0 0 177.16535 177.16535" focusable="false" aria-hidden="true"> - <use xlink:href="#tick"></use> + <use href="#tick"></use> </svg> Tested using </th> diff --git a/layouts/shortcodes/warning.html b/layouts/shortcodes/warning.html index 5ca7544..8513a49 100644 --- a/layouts/shortcodes/warning.html +++ b/layouts/shortcodes/warning.html @@ -1,7 +1,7 @@ <aside aria-label="warning" class="note warning"> <div> <svg class="sign" aria-hidden="true" viewBox="0 0 48.430474 41.646302" focusable="false"> - <use xlink:href="#warning"></use> + <use href="#warning"></use> </svg> {{ .Inner | markdownify }} </div> diff --git a/layouts/shortcodes/wcag.html b/layouts/shortcodes/wcag.html index 574af64..7bc092e 100644 --- a/layouts/shortcodes/wcag.html +++ b/layouts/shortcodes/wcag.html @@ -8,7 +8,7 @@ <li> <strong><a href="{{ .url }}"> <svg class="wcag-icon" viewBox="0 0 127.09899 67.763" aria-hidden="true" focusable="false"> - <use xlink:href="#w3c"></use> + <use href="#w3c"></use> </svg> {{ .ref_id }} {{ .title }}</a> (level {{ .level }}){{ if $descriptions }}:{{ end }} </strong> |