mirror of
https://github.com/kogakure/website-11ty-hamburg.stefanimhoff.de.git
synced 2026-02-03 20:25:30 +00:00
chore: add data attribute
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
<a
|
<a
|
||||||
aria-label="{{ previousPost.data.title }}"
|
aria-label="{{ previousPost.data.title }}"
|
||||||
class="pagination pagination-start"
|
class="pagination pagination-start"
|
||||||
|
data-umami-event="{{ previousPost.data.title }}"
|
||||||
href="{{ previousPost.url }}"
|
href="{{ previousPost.url }}"
|
||||||
rel="prev"
|
rel="prev"
|
||||||
title="{{ previousPost.data.title }}"
|
title="{{ previousPost.data.title }}"
|
||||||
@@ -14,6 +15,7 @@
|
|||||||
<a
|
<a
|
||||||
aria-label="{{ nextPost.data.title }}"
|
aria-label="{{ nextPost.data.title }}"
|
||||||
class="pagination pagination-end"
|
class="pagination pagination-end"
|
||||||
|
data-umami-event="{{ nextPost.data.title }}"
|
||||||
href="{{ nextPost.url }}"
|
href="{{ nextPost.url }}"
|
||||||
rel="next"
|
rel="next"
|
||||||
title="{{ nextPost.data.title }}"
|
title="{{ nextPost.data.title }}"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<button id="theme-toggle" class="theme-toggle" aria-label="Switch color theme">
|
<button id="theme-toggle" class="theme-toggle" aria-label="Switch color theme" data-umami-event="Switch color theme">
|
||||||
<svg class="theme-toggle-icon" aria-hidden="true" viewBox="0 0 24 24" width="1em" height="1em">
|
<svg class="theme-toggle-icon" aria-hidden="true" viewBox="0 0 24 24" width="1em" height="1em">
|
||||||
<use xlink:href="#circle"></use>
|
<use xlink:href="#circle"></use>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<a id="up-link" class="up-link" href="#top" onClick="{scrollToTop}">
|
<a id="up-link" class="up-link" href="#top" onClick="{scrollToTop}" data-umami-event="Back to top">
|
||||||
<button class="up-link-button" aria-label="Back to top">
|
<button class="up-link-button" aria-label="Back to top">
|
||||||
<svg class="up-link-icon" aria-hidden="true" viewBox="0 0 24 24" width="1em" height="1em">
|
<svg class="up-link-icon" aria-hidden="true" viewBox="0 0 24 24" width="1em" height="1em">
|
||||||
<use xlink:href="#arrow-up"></use>
|
<use xlink:href="#arrow-up"></use>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ layout: base
|
|||||||
{% include "page-header.njk" %}
|
{% include "page-header.njk" %}
|
||||||
<main class="page-content">
|
<main class="page-content">
|
||||||
<h1 class="page-title">
|
<h1 class="page-title">
|
||||||
<a href="/" class="page-title-link">
|
<a href="/" data-umami-event="Homepage" class="page-title-link">
|
||||||
Exploring Hamburg
|
Exploring Hamburg
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user