1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00
Commit graph

282 commits

Author SHA1 Message Date
Rohan Kumar
425071eade
Auto-format markup in CI
Use xmlfmt with some extra post-processing since xmlfmt has a few
issues wrt extra newlines.
2022-06-01 17:37:14 -07:00
Rohan Kumar
874414229e
Metadata amendments
- Re-order rel for my homepage's representative h-crad
- Fix the aria-current for the homepage
- Microdata: remove unnecessary "sameAs"
- Reduce "update without adding date updated" timeout to 15min
- Add u-uid and rel=me to my h-card on every page.
2022-06-01 10:04:35 -07:00
Rohan Kumar
854010c8c4
Remove unused "language-figure" class from feeds 2022-06-01 10:03:08 -07:00
Rohan Kumar
b557bb9474
Fix feed subtitles and descriptions 2022-06-01 09:59:52 -07:00
Rohan Kumar
ba527a8fe2
Fix feed titles 2022-06-01 08:58:44 -07:00
Rohan Kumar
3f6877a9f1
Fix bad atom links 2022-06-01 08:53:07 -07:00
Rohan Kumar
c50ea3c34f
Typo 2022-05-31 21:38:34 -07:00
Rohan Kumar
a46b790a62
Remove microdata from feeds
It's useless and invalid in those contexts, and removing it
significantly trims the file sizes.

Edit a post featuring a microdata code snippet to avoid conflicts.
2022-05-31 20:52:16 -07:00
Rohan Kumar
e453714d42
Atom: directly include un-escaped XHTML 2022-05-31 20:35:14 -07:00
Rohan Kumar
6a7ac36f11
Add 404 page 2022-05-31 18:07:04 -07:00
Rohan Kumar
b4850ed89a
Use XML declaration on XHTML, other XHTML tweaks
- Remove XHTML content-type meta header from HTML documents, reverting
  back to the meta charset
- Give XHTML documents their own XHTML declaration
- Remove now-redundant meta charset from XHTML
- Since XHTML and HTML documents differ now, compress after running
  xhtmlize and make xhtmlize only act on uncompressed files.
- Validate XHTML using vnu
2022-05-31 17:16:44 -07:00
Rohan Kumar
c936ca1902
Remove extra newlines 2022-05-31 17:11:52 -07:00
Rohan Kumar
90aeb2d23a
Create both index.html and index.xhtml files
Combines well with content-negotiation based on the "Accept" header.
2022-05-30 16:09:40 -07:00
Rohan Kumar
1aed7a66d4
Switch to XHTML5 markup
The site now has polygot markup and can handle both XHTML5 and HTML5
parsing rules. My staging site will be XHTML but my main site will be
HTML5, just in case of parse errors.

If other tools (e.g. LightHouse) end up supporting XHTML5, I'll consider
switching the content-type to XHTML.
2022-05-30 17:39:45 -07:00
Rohan Kumar
499c99245c
Fix whitespace 2022-05-30 14:02:09 -07:00
Rohan Kumar
9356055f6c
Fix: webmention form partial has missing context 2022-05-30 13:50:09 -07:00
Rohan Kumar
753f55c09e
Viewport: disable shrink-to-fit (WebKit)
I go out of my way to make sure the site works on viewports well under
240 CSS pixels wide. Some pages are very long, so a single mistake in
one part of the page shouldn't cause small text throughout the page.
2022-05-30 12:28:13 -07:00
Rohan Kumar
927987093e
Form improvements
- Make webmention submission form a fieldset
- Re-order CSS to avoid descending specificity
- Make search label mention Search My Site
2022-05-30 12:07:33 -07:00
Rohan Kumar
0ed68c5e9a
Add webmention submission forms
A long time coming
2022-05-29 22:48:27 -07:00
Rohan Kumar
65306b7867
Fix: sort webmentions by date 2022-05-29 20:37:18 -07:00
Rohan Kumar
06020cf849
Fix invalid microdata 2022-05-28 16:53:02 -07:00
Rohan Kumar
97baa0bd51
Fix: add redundant author metadata
Some article extractors get confused when the article body references
another author with microdata. Declare the author itemprop a second time
to make them happy.
2022-05-28 16:30:28 -07:00
Rohan Kumar
f514677e94
Add some ActivityStreams metadata to Atom feeds 2022-05-28 13:43:30 -07:00
Rohan Kumar
3b8b35ce8c
Fix: get webmentions from legacy URLs 2022-05-27 19:21:43 -07:00
Rohan Kumar
c84c8d4214
BREAKING: Prettify URLs, add Atom feeds
Adding a bunch of server configs to do the re-directs too.
2022-05-26 18:57:49 -07:00
Rohan Kumar
38c0d38fa4
Add RSS feed for notes, part 1
Add an RSS feed for notes. Next up, replacing the RSS navlink with a
page containing links to both my posts and notes RSS feeds. When I get
ATOM and WebSub, it'll have links ot those too.

Also fixed some typos and switched "Posted" to "Noted" in the context of
notes.
2022-05-26 18:03:28 -07:00
Rohan Kumar
a1d3c993bc
Fix bad search label 2022-05-26 17:16:21 -07:00
Rohan Kumar
8158cb3cd9
Add site search (poweredy by SearchMySite)
Add a search bar to the site footer to search seirdy.one.
2022-05-26 17:06:56 -07:00
Rohan Kumar
485d0579f8
Join Loop ring 2022-05-25 22:36:43 -07:00
Rohan Kumar
10fb1f9e4a
New note: "answer engines" 2022-05-25 19:59:09 -07:00
Rohan Kumar
b6cec919ab
Fix changelogs for notes 2022-05-24 17:28:32 -07:00
Rohan Kumar
d123bd9a12
New shortcode: "mention-work".
Will be useful when I start posting reply notes.
2022-05-24 17:25:16 -07:00
Rohan Kumar
f97df83661
Typo 2022-05-24 17:22:03 -07:00
Rohan Kumar
e70aa42907
Fix bad link 2022-05-24 16:55:47 -07:00
Rohan Kumar
d409a1ba58
Add "notes"
Short-form posts for microblogging. TODO: implement POSSE.
2022-05-24 16:37:26 -07:00
Rohan Kumar
b88be14eca
Use nested <details> for webrings 2022-05-23 15:17:02 -07:00
Rohan Kumar
279d70810e
Support "evergreen" articles
"evergreen" articles don't get outdated and shouldn't be marked with a
published date in previews.
2022-05-23 08:39:24 -07:00
Rohan Kumar
e430cedff2
Use nonbreaking spaces in word count
Word count value and unit should not be broken apart from each other.
2022-05-22 19:43:56 -07:00
Rohan Kumar
db2410ed32
Fix data feeds 2022-05-20 18:35:04 -07:00
Rohan Kumar
2204ae8861
Microdata improvements
- Semantically link each blog posting to the greater blog
- Fix copyright bullshit
- Make some articles TechArticles
- Remove unnecessary markup
2022-05-20 18:32:21 -07:00
Rohan Kumar
a0644d74c3
Make webmentions a <dl>, don't translate code 2022-05-19 19:26:21 -07:00
Rohan Kumar
1b5062d090
Fix: remove double border 2022-05-19 18:40:33 -07:00
Rohan Kumar
f798de7e63
A11y: drop draft ARIA, overhaul in-page links
- Stop using draft WAI-ARIA 1.3 that isn't supported yet
- Make in-page links focusable across shortcodes/partials
- Replace existing in-page heading anchor links with a more accessible
  option.
- Make backlinks aria-labelledby instead of giving them an aria-label,
  so they can be translated.
2022-05-19 17:18:14 -07:00
Rohan Kumar
47e55b9aef
Typo 2022-05-19 13:30:03 -07:00
Rohan Kumar
809fed4308
Accessible in-page heading anchors!
Bit the bullet and decided to make anchors that look great to
terminal/textual browsers, ARIA + screen reader combos, and a regular
browser.
2022-05-19 13:26:54 -07:00
Rohan Kumar
b5dd4f21ab
Fix: make 1hr+ reading time clear
the comma was confusing, switch to the word "and".
2022-05-19 13:18:23 -07:00
Rohan Kumar
a991377e78
Make large word counts approximate
High precision in large numbers is less useful. Reduce the number of
significant digits. Also helps less numerically-inclined readers.
2022-05-18 18:30:41 -07:00
Rohan Kumar
b519c5f371
Add prev/next post navigation links
Also adjust some margins to eliminate cut-off elements.
2022-05-18 17:21:48 -07:00
Rohan Kumar
937369b777
Make sure the TOC is labelled by its heading 2022-05-18 17:20:59 -07:00
Rohan Kumar
c124687391
Remove title attributes from <time>
They're not interactive elements and there's no hint that they should be
hovered on. Wrapping them in an <abbr> would just make the markup even
more overcomplicated, so I just dropped the titles.
2022-05-18 17:18:36 -07:00