summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/_default')
-rw-r--r--themes/danix-xyz-hacker/layouts/_default/baseof.html5
-rw-r--r--themes/danix-xyz-hacker/layouts/_default/single.html4
2 files changed, 7 insertions, 2 deletions
diff --git a/themes/danix-xyz-hacker/layouts/_default/baseof.html b/themes/danix-xyz-hacker/layouts/_default/baseof.html
index f0a9283..2849562 100644
--- a/themes/danix-xyz-hacker/layouts/_default/baseof.html
+++ b/themes/danix-xyz-hacker/layouts/_default/baseof.html
@@ -28,6 +28,11 @@
<link rel="stylesheet" href="{{ $chroma.RelPermalink }}">
</head>
<body class="bg-bg text-text antialiased">
+ <!-- Skip to main content link -->
+ <a href="#main" class="sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:bg-accent focus:text-white focus:rounded">
+ {{ i18n "skipToContent" }}
+ </a>
+
<!-- Dot grid background pattern -->
<div class="fixed inset-0 pointer-events-none opacity-5 dot-grid" style="
background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
diff --git a/themes/danix-xyz-hacker/layouts/_default/single.html b/themes/danix-xyz-hacker/layouts/_default/single.html
index 3269dec..60cf03d 100644
--- a/themes/danix-xyz-hacker/layouts/_default/single.html
+++ b/themes/danix-xyz-hacker/layouts/_default/single.html
@@ -1,5 +1,5 @@
{{ define "main" }}
-<div class="mx-auto px-4 py-12">
+<article class="mx-auto px-4 py-12">
<div class="grid md:grid-cols-3 gap-8">
<!-- Article section -->
<div class="md:col-span-2">
@@ -37,5 +37,5 @@
<!-- Sidebar -->
{{ partial "sidebar.html" . }}
</div>
-</div>
+</article>
{{ end }}