Rohan Kumar
66833dc93e
Improve narrow screen compat
...
- Replace long <code> snippets
- Add some soft hyphens.
- Make one image of text look better on a narrow viewport.
2022-03-16 16:52:03 -07:00
Rohan Kumar
1bff1052de
Stop "public" from showing up in bookmark tags
2022-03-16 16:42:29 -07:00
Rohan Kumar
dab11a7abc
Typo
2022-03-15 17:17:41 -07:00
Rohan Kumar
4491154cd8
Webrings: add referrers, hotline, and criteria
...
- Some webrings I might eventually join require sending the origin via
referrer. Make per-link exceptions to my "no-referrer" policy sent via
HTTP header.
- Add hotline webring
- Add criteria for me to join a webring.
2022-03-15 13:48:12 -07:00
Rohan Kumar
dcbace64a3
Fix: properly use "site" function instead of var
...
This fixes the logic to use PNGs instead of SVGs for the hidden service.
2022-03-15 13:47:42 -07:00
Rohan Kumar
c0666aa259
Refactor: add webring data from a CSV
...
The webring list was getting repetitive.
2022-03-15 13:45:21 -07:00
Rohan Kumar
f376b46eaf
Fixed missing tag
2022-03-10 22:53:29 -08:00
Rohan Kumar
6838ab871f
Fix a typo, remove unused vocab
2022-03-10 22:51:30 -08:00
Rohan Kumar
ca07453315
Don't include an unused png fallback for an SVG
...
No browser I know of falls back to a PNG when given an SVG with a PNG
fallback. The Tor version of my site uses no SVGs.
Exclude the SVG favicon in the Tor version of the site, since the Tor
Browser disables SVG on the safest setting.
2022-03-10 21:33:51 -08:00
Rohan Kumar
2b97a169c2
Bookmark timestamps are RFC3339 not plain ISO8601
2022-03-10 15:28:03 -08:00
Rohan Kumar
3ca171d0d3
Fix missing parens
2022-03-09 15:02:21 -08:00
Rohan Kumar
32c0fb478b
Remove some useless meta tags from <head>
2022-03-09 14:59:41 -08:00
Rohan Kumar
d0fdf26227
Move microformat markup from picture to img
2022-03-08 19:32:28 -08:00
Rohan Kumar
90344bc451
Don't use SVG for the hidden service
...
The Tor Browser's "safest" mode blocks SVG rendering, but the browser
doesn't download or use any fallback images because of fingerprinting
concerns.
2022-03-08 19:12:25 -08:00
Rohan Kumar
5d685d2ce6
Include SVG version of u-photo on homepage
...
Useful for other IndieWeb software that parses homepages and renders
avatars.
2022-03-08 19:03:09 -08:00
Rohan Kumar
3572948953
Meta stuff
...
- SearchMySite.net uses the "keywords" meta property to categorize
sites, so include keywords on the homepage
- Exclude the published date if it doesn't exist.
2022-03-08 11:13:05 -08:00
Rohan Kumar
68e750ea3b
Minor semantic tweaks
2022-03-07 22:44:45 -08:00
Rohan Kumar
4b6cfbb9ed
Add bookmarks page
...
Pulls content exported from Buku, so I don't have to commit every time I
add a bookmark.
Since I added another nav item, I had to adjust the navbar css.
2022-03-07 22:40:26 -08:00
Rohan Kumar
e693672c98
Fix bad link (again)
2022-03-06 21:58:42 -08:00
Rohan Kumar
de311c03c9
Fix bad link
2022-03-05 21:28:48 -08:00
Rohan Kumar
a77baf7516
Add Yesterweb webring
...
Moar webrings
2022-03-04 20:24:02 -08:00
Rohan Kumar
8412aa3633
Revamp post list
...
- Include updated date and descriptions
- Schema: make the post list a DataFeed of BlogPostings
- Make each post an <article>
2022-03-04 13:55:42 -08:00
Rohan Kumar
10cb71855f
Reorg <head> links
...
- Put canonical near the top
- Allow non-canonical versions to be indexed, since they do have
canonical links
2022-03-04 13:55:39 -08:00
Rohan Kumar
fa2a5f7283
Join retronaut webring
2022-03-03 16:15:39 -08:00
Rohan Kumar
2bf7359303
Optimize head size
...
- apple-touch-icon not needed, will be fetched from doc root
- re-order <head> elements to optimize for compression algorithm size
savings. shaved off like 15 bytes. this was a good use of my time.
2022-02-28 16:00:05 -08:00
Rohan Kumar
3c00cfd4e8
Internal: markdown extension for adding link attrs
...
More concise than using <a> every time i need to add an attr to a link
2022-02-28 13:41:24 -08:00
Rohan Kumar
b1678bbc0e
Typo
2022-02-28 04:00:15 -08:00
Rohan Kumar
0766830221
Even bigger tap targets
2022-02-28 03:55:26 -08:00
Rohan Kumar
b233a7a726
Switch webrings from <ul> to just <p>
...
It makes tap targets a little larger.
2022-02-28 03:50:15 -08:00
Rohan Kumar
08b8200f8b
Another webring
2022-02-28 03:37:47 -08:00
Rohan Kumar
9297f6a9dc
Add webring and xhtml club links to homepage.
2022-02-28 03:21:20 -08:00
Rohan Kumar
4ca5fed1e9
Better citations
2022-02-26 01:05:44 -08:00
Rohan Kumar
6e855bb193
Moar linked/structured data
...
- Add copyrightOwner microdata
- Add person/h-card markup for some more people
2022-02-24 17:55:44 -08:00
Rohan Kumar
b66a782aa1
Support indieweb avatars
2022-02-22 21:48:10 -08:00
Rohan Kumar
5c02864572
Allow unlimited extraction by robots
2022-02-20 23:58:46 -08:00
Rohan Kumar
b2639c2596
Fix closing tags
...
Fix missing closing tags, or closing tags placed out of order.
2022-02-19 15:20:16 -08:00
Rohan Kumar
c03af0eacc
Use new "indieweb-person" shortcode
...
This should reduce a lot of repetition. Supports first/last names,
nicknames, generic names that don't conform to first/last norms, and
has basic support for affiliated organizations.
Also snuck in more info on website colors to the web best practices
article, inc. a link to Chris' Wiki.
2022-02-19 12:48:53 -08:00
Rohan Kumar
bdc302aafd
Fix nav data
...
- Uppercase
- Add standard metada to "about" page.
2022-02-16 21:25:34 -08:00
Rohan Kumar
d8c75dbbf6
Remove extra "headline" itemprop
2022-02-16 01:46:44 -08:00
Rohan Kumar
bef816e959
Add structured data to posts list
...
Mark-up the posts list as an h-feed made of smaller posts.
2022-02-15 21:42:58 -08:00
Rohan Kumar
1f5142524b
Add open graph profile metadata
2022-02-15 21:42:24 -08:00
Rohan Kumar
f006c2f4ce
Add title text to some timestamps
2022-02-15 21:42:19 -08:00
Rohan Kumar
dc27d47505
Add structured data for CC license
2022-02-15 21:42:01 -08:00
Rohan Kumar
87da30d600
Case-sensitivity strikes again
2022-02-15 20:15:08 -08:00
Rohan Kumar
a894a32b5c
Fix some microdata
2022-02-15 11:25:32 -08:00
Rohan Kumar
0ef4a7f9a6
Microdata: add image itemprop u-photo
2022-02-15 11:13:41 -08:00
Rohan Kumar
d4951890a5
Fix some metadata
...
- Use mainEntity correctly
- Support legacy microformats for date updated
- Formatting
2022-02-14 13:29:58 -08:00
Rohan Kumar
f0623a7185
Add legacy microformats1/hNews metadata
...
This is still used by engines, reader mode implementations, etc.
2022-02-13 16:08:23 -08:00
Rohan Kumar
d37d832274
Truncate webmention titles, add length indicators
2022-02-12 21:49:55 -08:00
Rohan Kumar
1664951706
Fix: typo in footer microdata
2022-02-11 16:11:41 -08:00
Rohan Kumar
aa7e4d3167
Don't make the page title too long
2022-02-11 12:25:41 -08:00
Rohan Kumar
68237c5e8f
Use a <time> element for the last-deployed time
2022-02-10 22:26:58 -08:00
Rohan Kumar
08de786bbc
Indieweb: structured data for rest of website
...
Outside the blogposting, add addl. structured data for the surrounding
site: the license, copyright holder, navigation items, source code link,
etc.
2022-02-10 22:12:45 -08:00
Rohan Kumar
94bda64305
IndieWeb: more semantic markup
...
The only visible change to page display should be author names in
webmentions. Besides that, this commit only alters the underlying markup
to improve metadata extraction.
- Add more microdata for webmentions, authors, dates, etc.
- Add microformats2 for webmentions
- Add authors to webmention text, when available.
2022-02-10 14:23:45 -08:00
Rohan Kumar
65ad38d559
Fix broken links/anchors
2022-02-07 21:26:03 -08:00
Rohan Kumar
5f91078844
Add article prefix vocab
2022-02-04 16:01:15 -08:00
Rohan Kumar
0996c85de9
Add HTML prefix for OGP
...
Is this really necessary?? sign.
2022-02-04 15:46:07 -08:00
Rohan Kumar
e3d0603a3f
Fix: handle webmentions without titles
2022-02-04 11:28:18 -08:00
Rohan Kumar
89d8e99830
Fix: add optional head tags
...
Although these tags are optional, some problematic parsers don't know
that.
2022-02-03 16:19:26 -08:00
Rohan Kumar
db0d16e5b5
Fix next/prev links to be same-section
...
next/prev links for posts shouldn't navigate to non-post pages like
"about" and "resume".
2022-01-05 16:00:09 -08:00
Rohan Kumar
e076ab726a
Remove redundant "pgpkey" <link>
...
I already link to it in the body with the same "rel".
2021-12-01 22:01:32 -08:00
Rohan Kumar
48cd2d7ad1
Add meta tag for color scheme
...
Done so that https://developer.chrome.com/blog/auto-dark-theme won't
break images.
2021-10-21 18:23:59 -07:00
Rohan Kumar
3c2e4f40c4
Lighten bkg a bit more
...
Thanks to anonymous for feedback on contrast with astigmatism.
2021-10-04 12:30:43 -07:00
Rohan Kumar
0f731951b0
Fix html whitespace
2021-09-03 09:22:31 -07:00
Rohan Kumar
3b56eb714a
Chore: fix header whitespace
2021-08-30 15:10:50 -07:00
Rohan Kumar
0d2d25b124
Fix: use HTTPS links where possible
2021-08-16 17:48:36 -07:00
Rohan Kumar
db3af81979
Picture shortcode: support JPEG-XL, async decoding
2021-06-28 20:03:33 -07:00
Rohan Kumar
63f1708965
Clean up <head> a bit
...
- Remove reference to unused syntax.css
- Stop Apple's magic phone-number-linkification. If I need to link a
telephone number I'll use a tel: URI, thank you very much.
2021-06-28 14:46:45 -07:00
Rohan Kumar
65a19e4d44
Add prev/next links
...
Some browsers/addons allow shortcuts for going to the next/prev page by
matching links with the word "next" or "previous"; Tridactyl is one
example. I thought I'd add a next/prev link to make it easy to binge
this blog.
2021-06-24 21:51:00 -07:00
Rohan Kumar
33b2dcac97
Add onion site link to footer
2021-06-20 22:40:26 -07:00
Rohan Kumar
9c736e7874
Always include canonical URL, index onion
2021-06-19 02:36:32 -07:00
Rohan Kumar
eace2afe71
License: Update CC license to CC BY-SA 4.0
2021-06-15 13:14:45 -07:00
Rohan Kumar
204600fae3
Fix relative URLs
...
- No relative URLs in the RSS feed except plain anchor links
- Eliminate the need for excessive "../" in URLs.
2021-06-14 15:31:08 -07:00
Rohan Kumar
f61bbfe3d2
Update assets with precompressed versions
...
No need to re-compress the same file every CI job.
2021-06-13 17:25:59 -07:00
Rohan Kumar
322dbf93e7
Inline favicon
...
The favicon is 175 bytes, smaller than the size of the HTTP headers to
fetch it. It can be inlined.
Now, pages that don't have any other images need just a single request.
2021-06-04 17:29:05 -07:00
Rohan Kumar
55d99287b4
Inline CSS
...
The main stylesheet for the sit is just 721 bytes uncompressed. I can
inline it safely to shave off a request, since the headers alone are
probably comparable to the size of the CSS.
2021-06-04 16:44:43 -07:00
Rohan Kumar
30f141d4db
Remove webring icon
2021-05-06 16:38:08 -07:00
Rohan Kumar
43a3e7c0f8
Remove optional HTML tags
...
Some HTML tags can be removed without changing the DOM. Reference:
https://html.spec.whatwg.org/multipage/syntax.html#syntax-tag-omission
2021-05-06 11:59:30 -07:00
Rohan Kumar
558b6844ca
Unbold home link
...
It says "Home". That's enough to know it navigates to the homepage.
Bolding it makes it look like it's the current page.
2021-05-06 11:33:05 -07:00
Rohan Kumar
981babb95d
Fix: webmentions: support "likes" with no author
...
Sometimes an author name isn't parsed; switch to title in those cases.
2021-03-02 16:40:15 -08:00
Rohan Kumar
8de296971f
HTML fix: specify image height AND width in HTML
...
Previously, only one of the two was specified. Now Lighthouse wants both
2021-03-01 21:26:57 -08:00
Rohan Kumar
e8179a38b9
Add Open Graph metas for article posted/mod times
2021-02-24 19:36:09 -08:00
Rohan Kumar
a189305ee4
Indieweb: support legacy microformats v1
2021-02-23 15:12:54 -08:00
Rohan Kumar
bc667feec6
Fix: visible dark webring icon in Webkit
...
Dark mode now switches to a different icon instead of
inverting it. There's probably a better way but I'll figure that out
later.
2021-02-01 22:59:56 -08:00
Rohan Kumar
4e7a0c8bde
Link to Merveilles webring!
...
My site's first Webring. I plan to join a few others, and to create
three of my own.
2021-02-01 22:35:08 -08:00
Rohan Kumar
a57f694bb4
Allow svg alts in <picture> shortcode
2021-02-01 22:24:40 -08:00
Rohan Kumar
e3d360e4c3
Fix post header
...
- Make post header show syndicated gemini copy even if the article
hasn't been updated
- Reduce verbosity of the first line (date, author)
2021-01-30 16:11:18 -08:00
Rohan Kumar
fb797184b6
CSS: blockquotes, re-use unstyled-list class
...
- Make blockquotes look like blockquotes
- Make the nav links use the unstyled-list class to avoid re-writing
2021-01-29 12:01:58 -08:00
Rohan Kumar
069c893591
Mention that I sometimes send myself Webmentions
...
If a website that doesn't support Webmentions links to an article of
mine and I want to feature it, I might send myself a Webmention on its
behalf.
2021-01-28 16:06:52 -08:00
Rohan Kumar
e4b8b88a79
Fix <picture> shortcode to skip missing images
2021-01-28 13:08:21 -08:00
Rohan Kumar
1f8fb5f83a
New shortcode for <picture>
...
This shortcode handles dark/light variants of AVIF, WebP, and PNG
images.
2021-01-27 13:47:46 -08:00
Rohan Kumar
9ef139c85b
Layouts: only show post footer for posts
...
Don't show the posts footer for non-posts, like about.html
2021-01-24 14:43:26 -08:00
Rohan Kumar
8d43e65750
RSS: add <ttl> tag
...
See the spec:
https://validator.w3.org/feed/docs/rss2.html#ltttlgtSubelementOfLtchannelgt
It should be essentially equivalent to the already-used `cache-control`
header.
2021-01-23 12:48:06 -08:00
Rohan Kumar
852b3f91a0
Remove the color-scheme
<meta> property
...
- The default time is browser-default colors, not "light". The only
"theme" for my site is the dark theme.
- The "color-scheme" doesn't have wide support
- The "color-scheme" property doesn't really do anything much if you use
browser-defaults or a dark theme with @prefers-color-scheme
2021-01-20 18:32:28 -08:00
Rohan Kumar
e713a0e02a
Remove Apple mask icon
...
Even apple.com doesn't use it anymore lmao
2021-01-20 15:56:36 -08:00
Rohan Kumar
a370429a2e
Exclude footer from h-entry
...
- Move the end of the h-entry div up above the footer.
- Move syndicated link to Gemini capsule up into the byline so it gets
included in the now-smaller h-entry.
See https://github.com/nekr0z/static-webmentions/issues/1
2021-01-20 11:34:21 -08:00
Rohan Kumar
f2d41c1c32
Metadata: Improve microformats + microdata
...
- Wrap the <a> in a <span> to make the h-entry expose an author URL
(link to homepage). Useful for sending Webmentions.
- Switch from schema.org/Article to schema.org/BlogPosting
2021-01-19 22:13:16 -08:00
Rohan Kumar
552b8c9417
Handle "like" webmentions properly
...
Display a "like" webmention in the format "<Name> liked this" instead of
using the standard pingback format.
2021-01-19 13:16:42 -08:00
Rohan Kumar
8a527895a3
Improve footers for webmention
...
- Footer should contain date last built so people don't start scratching
their heads wondering why webmentions aren't showing up
- Add rel="nofollow ugc" to webmention links.
2021-01-18 21:41:02 -08:00
Rohan Kumar
2cf64bade9
Typo; double period.
2021-01-18 20:21:33 -08:00