mirror of
https://github.com/kogakure/website-11ty-hamburg.stefanimhoff.de.git
synced 2026-02-03 12:15:28 +00:00
chore: add data attribute
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
{% if previousPost %}
|
||||
<a
|
||||
aria-label="{{ previousPost.data.title }}"
|
||||
class="pagination pagination-start"
|
||||
href="{{ previousPost.url }}"
|
||||
<a
|
||||
aria-label="{{ previousPost.data.title }}"
|
||||
class="pagination pagination-start"
|
||||
data-umami-event="{{ previousPost.data.title }}"
|
||||
href="{{ previousPost.url }}"
|
||||
rel="prev"
|
||||
title="{{ previousPost.data.title }}"
|
||||
>
|
||||
@@ -11,10 +12,11 @@
|
||||
{% endif %}
|
||||
|
||||
{% if nextPost %}
|
||||
<a
|
||||
aria-label="{{ nextPost.data.title }}"
|
||||
class="pagination pagination-end"
|
||||
href="{{ nextPost.url }}"
|
||||
<a
|
||||
aria-label="{{ nextPost.data.title }}"
|
||||
class="pagination pagination-end"
|
||||
data-umami-event="{{ nextPost.data.title }}"
|
||||
href="{{ nextPost.url }}"
|
||||
rel="next"
|
||||
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">
|
||||
<use xlink:href="#circle"></use>
|
||||
</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">
|
||||
<svg class="up-link-icon" aria-hidden="true" viewBox="0 0 24 24" width="1em" height="1em">
|
||||
<use xlink:href="#arrow-up"></use>
|
||||
|
||||
@@ -6,7 +6,7 @@ layout: base
|
||||
{% include "page-header.njk" %}
|
||||
<main class="page-content">
|
||||
<h1 class="page-title">
|
||||
<a href="/" class="page-title-link">
|
||||
<a href="/" data-umami-event="Homepage" class="page-title-link">
|
||||
Exploring Hamburg
|
||||
</a>
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user