1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-14 17:42:09 +00:00
Commit graph

334 commits

Author SHA1 Message Date
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
a078d6a9ee
Reformat markdown with mdfmt 2021-01-24 14:42:40 -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
aa5c16bdf3
Update robots.txt 2021-01-23 12:47:50 -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
f8113605c2
Shorten alt-text to recommended <100 char limit 2021-01-20 15:47:27 -08:00
Rohan Kumar
efa589508f
Stop running lighthouse/webhint every commit
Go back to running them manually on my own. They're too slow and buggy
for CI.
2021-01-20 12:50:24 -08:00
Rohan Kumar
c2404ce552
Exclude more URL patterns from static-webmention 2021-01-20 11:35:09 -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
e7240cc3fc
Typo
Typo in an aria label.
2021-01-18 16:25:59 -08:00
Rohan Kumar
10a29a8196
Mention exhaustive key searches 2021-01-17 23:59:09 -08:00
Rohan Kumar
6f610238f7
Explicitly clarify types of passwords
Explicitly limit the scope of the article to just passwords used in
encryption/decryption.
2021-01-17 23:49:12 -08:00
Rohan Kumar
388da5ea96
Makefile: fix CSS path 2021-01-17 20:13:38 -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
beef2c1b81
Don't send webmentions to Wikipedia 2021-01-17 17:18:31 -08:00
Rohan Kumar
4d297de4ea
Allow adding a heading to the endnotes section 2021-01-17 17:18:02 -08:00
Rohan Kumar
59b12ee290
More agressive zopflipng
Use 800-10000 iterations for zopflipng instead of just 16 to save a few
precious bytes.

This is probably a waste of time.
2021-01-17 14:09:40 -08:00
Rohan Kumar
4ed4e495f2
Gemtext fixes
- Add link text
- Remove extraneous line break
2021-01-17 13:37:16 -08:00
Rohan Kumar
0085518b41
Re-word statement on not detailing crypto algos 2021-01-17 11:41:34 -08:00
Rohan Kumar
f22692d836
Fixed misconception about salting/hashing
Clarify that salting + hashing isn't reversible by a naive brute-force
attack.
2021-01-17 10:47:21 -08:00
Rohan Kumar
56410531fe
Correct information regarding symmetric keys
I forgot to add salt. Thanks u/RisenSteam.
2021-01-16 20:51:04 -08:00
Rohan Kumar
ec667c9f3e
About page: add Tildes.net account. 2021-01-16 15:44:25 -08:00
Rohan Kumar
4c7eaf91f0
More in further reading/acknowledgements (+typo)
- Add link to a paper by Seth Lloyd to "Further reading"
- Add a subheading to "Further reading" concerning approaches accounting
  for computation speed.
- Elaborate on the part of Schneier's blog post that proved helpful.
- Revert typo fix in which I erroneously swapped + and -.
2021-01-16 15:41:49 -08:00
Rohan Kumar
fd15c33a72
Acknowledgements: link to Schneier's blog 2021-01-14 22:49:21 -08:00
Rohan Kumar
a87410e831
Link to TLDR at the top 2021-01-14 18:40:26 -08:00
Rohan Kumar
ad6d2078fe
Clarify the meaning of being "immune"
As suggested by u/DragonCalypso on Reddit.
2021-01-14 15:13:02 -08:00
Rohan Kumar
7769286085
Typo + wrong name 2021-01-14 15:11:07 -08:00
Rohan Kumar
fd257cfd7e
Add sample unbreakable passwords 2021-01-13 14:27:44 -08:00
Rohan Kumar
f479d03733
Typo 2021-01-13 11:20:55 -08:00
Rohan Kumar
eb1a03f4be
Fix major typo (wrong sign, + -> -) 2021-01-12 23:16:36 -08:00
Rohan Kumar
069bedbb7b
Password strength article: shrink meta description
A <meta> description should apparently be under 160 chars.
2021-01-12 22:05:05 -08:00
Rohan Kumar
b60b478281
Add link to Bremermann's limit
Found via goldenkey on Hacker News.
2021-01-12 18:13:45 -08:00
Rohan Kumar
831443c52c
Valid HTML: fix img tags
Images should be specified acc. to pixelsize, according to the HTML
spec. "em" is out.

Specifying the mimetype in those contexts isn't allowed.
2021-01-12 16:56:36 -08:00
Rohan Kumar
f2d4fe84ca
Fix bad link 2021-01-12 15:59:38 -08:00
Rohan Kumar
4c2c2802ba
New article: password strength 2021-01-12 15:32:35 -08:00
Rohan Kumar
166e05692a
Makefile: allow setting custom Hugo flags 2021-01-12 15:28:59 -08:00
Rohan Kumar
38261d4ebe
Drop unnecessary x-ua-compatible header
Given that I use a proper doctype, the x-ua-compatible header is not
necessary. See https://hsivonen.fi/doctype/#ie8 for more details.
2021-01-10 22:12:23 -08:00
Rohan Kumar
28bd5b16f9
CI: deploy to staging before test
I can't believe I forgot to deploy before testing.
2021-01-10 22:12:04 -08:00
Rohan Kumar
4d7625227b
IndieWeb: gather WebWentions with static-webmention
Update the Makefile to download the old version of the site, run
static-webmentions, and collect the WebMentions to send in a json file
saved as a build artifact.

Don't send these automatically; just save them for now. Until I work out
a solution to save sent WebMentions and avoid sending duplicates, I'll
keep the sending of WebMentions manual.

For some reason this caused webhint's axe/aria test to error out with a
"Protocol error" so I disabled it. Axe tests are covered by Lighthouse
anyway.
2021-01-09 21:48:34 -08:00
Rohan Kumar
bd094a6608
IndieWeb: Receive webmentions
Use a self-hosted instance of webmentiond to receive webmentions:
https://github.com/zerok/webmentiond
2021-01-09 16:18:27 -08:00
Rohan Kumar
c7bc26ed00
Compress svg files ahead of time
Previously forgot to include .svg files in the Makefile when generating
precompressed files for "gzip_static" and "brotli_static"

This commit includes them.
2021-01-04 12:45:45 -08:00
Rohan Kumar
8a1903c85b
Update fav anime in about page
Let's all love Lain.
2021-01-03 03:21:58 -08:00
Rohan Kumar
e5fbf7a33f
Minify webmanifest 2021-01-02 18:22:44 -08:00
Rohan Kumar
b24326d1c1
Devserver: fix CSP to allow livereload script 2021-01-02 17:24:27 -08:00