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

560 commits

Author SHA1 Message Date
rohan kumar
349ba15f38
Add robots.txt 2020-11-29 11:37:33 -08:00
rohan kumar
1e44855647
Only load syntax highlighting CSS if necessary..
Pages without highlighted code blocks don't need to load syntax.css; for
those that do, simply declare "highlight: true" in the front matter to
load the stylesheet separately.
2020-11-28 18:01:53 -08:00
rohan kumar
6fba7dbc9a
Reduced some unnecessary styles 2020-11-27 16:14:24 -08:00
rohan kumar
46512c9046
Update with feedback on page size
Added the Web Bloat Size Calculator and a snippet on how people on
trains experience a connection speed drops.

Thanks, u/Snapstromegon from Reddit!
2020-11-27 10:25:03 -08:00
rohan kumar
55543cf9b2
My gemlog deserves sane date formats too!
In the name of ISO 8601, RFC 3339, and sorting by number: ramen.
2020-11-25 22:38:16 -08:00
rohan kumar
1c75fe501b
Renamed max770px.css -> narrow.css
I don't want to re-name this every time I change the pixel count
2020-11-25 22:31:28 -08:00
rohan kumar
131ad941d7
CSS: navbar tweaks (responsiveness + color)
- Dark mode: make navbar links the same color as regular links so as to
not hide the fact that they are links.
- Make navbar reflow at narrow window sizes
2020-11-25 22:19:52 -08:00
rohan kumar
25ffbd9bbb
Use a sane date format
ISO 8601 and RFC 3339 are the correct date formats.
The other date formats are incorrect.
2020-11-25 22:18:09 -08:00
rohan kumar
8e38c66243
Add pngquant to image compression section
Thanks, arnt and vbernat!
2020-11-25 21:58:37 -08:00
rohan kumar
970fa0e057
CI: Only gzip when deploying to seirdy.one
Only seirdy.one uses gzip_static
2020-11-25 21:58:08 -08:00
rohan kumar
3474c2d5f4
Better and smaller favicon
830 bytes ought to be enough for anyone.
- Better cropping
- Half the size
2020-11-25 16:38:35 -08:00
rohan kumar
1ba46835be
Clarification on HTTP/2
Thanks, reezer!
2020-11-25 16:36:40 -08:00
rohan kumar
0d11909002
Formatting 2020-11-25 00:43:39 -08:00
rohan kumar
b9abb9090c
Only index the canonical location, seirdy.one
Don't index the staging version on my tilde.
2020-11-25 00:38:31 -08:00
rohan kumar
e919c83fd5
Add a canonical URL
Since there's another version of the site on my tilde serving as a
staging area, I should specify a canonical version of the site to avoid
duplicate entries in search results.
2020-11-25 00:24:45 -08:00
rohan kumar
6cd84118ea
CI: remove nonstandard -L flag from xargs 2020-11-24 22:21:21 -08:00
rohan kumar
09d7d6c3fc
Try out gzip_static
I hope this works
2020-11-24 21:57:20 -08:00
rohan kumar
33985223fa
Layout templates: RSS link, Gemini consistency
- Link RSS feed in the navbar
- Give gemlog a similar layout with the publication date at the top and
  a link to the source code at the bottom.
2020-11-24 21:55:49 -08:00
rohan kumar
f04f293bdc
Simplify/reduce custom colors
- Make default stylesheet use browser preferred colors
- Stop using css vars for better compatibility with old browsers
2020-11-24 17:09:26 -08:00
rohan kumar
a0cbba8a63
Template accessibility fixes
- Language code in <html> tag
- Make post list more easily clickable by splitting post URLs and
  timestamps.
2020-11-24 17:08:28 -08:00
rohan kumar
1e371f7cfe
Full-text RSS feeds 2020-11-24 17:08:02 -08:00
rohan kumar
b9207d17ea
Add max line length to web best practices article
Thanks, u/_listless
2020-11-24 15:32:38 -08:00
rohan kumar
7bfd40e843
Fix bad dead on homepage 2020-11-24 14:25:52 -08:00
rohan kumar
103a860528
Link to article changelog 2020-11-24 14:24:12 -08:00
rohan kumar
d24cdfb423
Link to MDN docs on CSS @media queries 2020-11-24 14:19:20 -08:00
rohan kumar
a1f517c61a
Clarify that branding isn't evil 2020-11-24 10:58:05 -08:00
rohan kumar
2d43a0ddc4
Clarify a snippet on overriding stylesheets
We shouldn't require users to override stylesheets, but we should expect
it.
2020-11-24 10:53:22 -08:00
rohan kumar
8f47970379
More info about fingerprinting via fonts 2020-11-24 04:54:13 -08:00
rohan kumar
f1a56e9ec4
Explain why global stylesheet overrides are bad 2020-11-24 03:50:06 -08:00
rohan kumar
79b91972e7
Add more info on image optimization 2020-11-24 03:18:03 -08:00
rohan kumar
7ec5eab8eb
Clarify the controversial statement on font choice
The lobste.rs discussion at
https://lobste.rs/s/akcw1m/opinionated_list_best_practices_for
generated a lot of feedback about fonts, so I thought I'd explain a bit
more.
2020-11-24 02:43:59 -08:00
rohan kumar
2cd686a4fb
Add gzip + http2 to website best practices 2020-11-24 02:27:17 -08:00
rohan kumar
a7bfc7fd32
CSS: improve h1 and entry list spacing 2020-11-24 02:08:58 -08:00
rohan kumar
6f937ac5a8
Clarify the point of using HTML->md convertors
Thanks to some IRC users for pointing out how the rationale wasn't very
obvious
2020-11-24 01:59:22 -08:00
rohan kumar
e538b0df8e
Fix: s/white-on-black/black-on-white/ 2020-11-23 22:56:18 -08:00
rohan kumar
839e6d5737
Update website best practices with color info
Thanks to a couple IRC users for the feedback.
2020-11-23 19:00:31 -08:00
rohan kumar
01c4d1fde5
CI: don't delete some files from the Gemini dir 2020-11-23 18:55:13 -08:00
rohan kumar
e31cdd52ca
Explicitly set fb/bg colors 2020-11-23 18:19:18 -08:00
rohan kumar
dbab08560f
Fix: remove draft post status from gemlog entry 2020-11-23 17:13:48 -08:00
rohan kumar
a41c9dc56d
CI: delete extraneous files on host 2020-11-23 16:31:45 -08:00
rohan kumar
18ff772d5f
New article: best practices for minimalistic websites 2020-11-23 15:51:57 -08:00
rohan kumar
712ca3737c
Simplify styling
Comply with the upcoming article on best practices for textual websites.
2020-11-23 15:47:27 -08:00
rohan kumar
1a9b5f4dd4
Smaller favicon
Previous favicon was 7.5kb; this one is under 2kb. That should cut down
the size of most pages by half.
2020-11-20 20:23:18 -08:00
rohan kumar
a40097955c
Link to proj. hub instead of git repo on sourcehut 2020-11-19 20:35:59 -08:00
rohan kumar
910dd01346
Off-by-one error 2020-11-19 12:23:18 -08:00
rohan kumar
1ca50266e2
Gemini: Blog -> Gemlog, include Music
Since my Gemini homepage is a bit more sparse, I figured it wouldn't
hurt to add a link to my music.txt file.
2020-11-18 22:55:50 -08:00
rohan kumar
00930bcbc5
Support comments via a Sourcehut mailing list 2020-11-18 22:20:30 -08:00
rohan kumar
73591727c8
Fix date 2020-11-18 18:31:17 -08:00
rohan kumar
359f115307
CSS: make preformatted text bigger 2020-11-18 18:28:51 -08:00
rohan kumar
9fb0545ebc
New post: Resilient Git, part 1 2020-11-18 18:25:33 -08:00