1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

add skip to content link

This commit is contained in:
krvpb024 2024-01-24 15:00:20 +08:00 committed by Frédéric Guillot
parent b568b1d41d
commit f23e6a3352
2 changed files with 24 additions and 1 deletions

View file

@ -60,6 +60,10 @@
{{ if .user }}{{ if not .user.KeyboardShortcuts }}data-disable-keyboard-shortcuts="true"{{ end }}{{ end }}>
{{ if .user }}
<a class="skip-to-content-link" href="#main">
Skip to content
</a>
<header class="header">
<nav>
<div class="logo">
@ -118,7 +122,7 @@
{{ if .flashErrorMessage }}
<div class="flash-error-message alert alert-error">{{ .flashErrorMessage }}</div>
{{ end }}
<main>
<main id="main">
{{template "content" .}}
</main>
<template id="keyboard-shortcuts">