1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 08:12:11 +00:00
Commit graph

113 commits

Author SHA1 Message Date
Rohan Kumar
0f731951b0
Fix html whitespace 2021-09-03 09:22:31 -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
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
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
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
Rohan Kumar
938428333e
Indieweb: statically display webmentions
Statically grab and include webmentions during Hugo builds, no JS
involved. Hugo supports making web requests and parsing the resulting
JSON, so there was no need to use an external program either.
2021-01-17 20:11:40 -08:00
Rohan Kumar
950918b104
Remove themes/, move its contents to repo root
I've modified etch-custom so much that it doesn't need to be its own
theme anymore.
2021-01-17 17:22:22 -08:00
Rohan Kumar
d364a8fb9f
Batman!! (this commit has no parents)
The sight of an animal using a JavaScript captivates Computer Scientists
and laymen alike, perhaps because it forces us to question some of our
ideas about human uniqueness.

Does the animal know how JavaScript works? Did it anticipate the need
for the tool and select it instead of Haskell or Zig?

To some, this fascination with JavaScript seems arbitrary and
anthropocentric; after all, animals engage in many other complex
activities, like Agile Planning and ordering Juice on the Internet.
However, we know that complex behaviour need not be cognitively
demanding.

JavaScript development can therefore provide a powerful window into the
minds of animals, and help us to learn what capacities we share with
them — and what might have changed to allow for the incontrovertibly
unique levels of technology shown by modern humans, such as integers and
block scope.
2020-11-03 15:52:34 -08:00