nav link prefetching a bit and robots.txt added

This commit is contained in:
Pagwin 2024-12-07 15:03:05 -05:00
parent 6fac9b252a
commit 89f92efc28
No known key found for this signature in database
GPG key ID: 81137023740CA260
3 changed files with 3 additions and 2 deletions

1
TODO
View file

@ -2,6 +2,7 @@
- robots.txt - robots.txt
- make overflow behavior in print so scrollbars go away and full content visibl - make overflow behavior in print so scrollbars go away and full content visibl
- make h1 elems in article content h2 elems - make h1 elems in article content h2 elems
- make h2 elems have anchor elems with rel="bookmark" and a name to make them proper bookmarks
- add aria roles where sensible https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles - add aria roles where sensible https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles
- Fix articles with inline html in them and/or links - Fix articles with inline html in them and/or links
- post jump points and table of contents (be wary of having this take up too much space on mobile) - post jump points and table of contents (be wary of having this take up too much space on mobile)

0
robots.txt Normal file
View file

View file

@ -24,8 +24,8 @@
<body> <body>
<!-- originally handled dark v light via js but decided it would be better to just do it all in css and have no toggle 8a7917a0cd34bd7637d9a9a8ad327e4b847cdeed is the last commit where I had the system setup --> <!-- originally handled dark v light via js but decided it would be better to just do it all in css and have no toggle 8a7917a0cd34bd7637d9a9a8ad327e4b847cdeed is the last commit where I had the system setup -->
<header id="header"> <header id="header">
<a class="nav-link" href="/">Home</a> <a class="nav-link" rel="prefetch" href="/">Home</a>
<a class="nav-link" href="/posts/">All Posts</a> <a class="nav-link" rel="prefetch" href="/posts/">All Posts</a>
<a class="nav-link" href="/links/">Other places I'm at</a> <a class="nav-link" href="/links/">Other places I'm at</a>
<div class="back-shover"></div> <div class="back-shover"></div>
<a class="icon" href="/index.xml"> <object width="100" height="100" class="icon svg" <a class="icon" href="/index.xml"> <object width="100" height="100" class="icon svg"