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

47 commits

Author SHA1 Message Date
Rohan Kumar
28a29078d5
Fix overly long meta descriptions 2022-10-24 12:27:19 -07:00
Rohan Kumar
64bc464aca
Update budget.json
Keep max page weight but allow greater markup limit.
2022-08-02 18:24:02 -07:00
Rohan Kumar
1a7cc7156c
Replace homepage <aside> with page description
IBM Equal Access A11y Checker caught an <aside> without a label. Figured
this was a good opportunity to instead use the site description.

While I was at it, I expanded said site description and used it
properly.
2022-07-12 23:05:37 -07:00
Rohan Kumar
0aafdaaddf
New section: "Meta"
Move all content about the site itself to a "meta" section.
2022-07-10 22:36:22 -07:00
Rohan Kumar
01622d7206
Add missing IndieAuth endpoint 2022-07-08 14:38:56 -07:00
Rohan Kumar
70b8a5e9cb
re-org the About section, add breadcrumbs
Create an "about" section.

Add breadcrumbs to show relationships between pages with full page
titles.
2022-07-07 17:44:34 -07:00
Rohan Kumar
f9c497fac0
Rename "posts" section to "articles"
No liinks changed; just the content displayed. The "posts" section is
now "artilces" to distinguish it from my "notes" section.
2022-06-19 20:15:56 -07:00
Rohan Kumar
e453714d42
Atom: directly include un-escaped XHTML 2022-05-31 20:35:14 -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
c3f418e87b
Minify RSS/Atom, since those are kinda hug 2022-05-28 13:53:24 -07:00
Rohan Kumar
6c35495511
Remove RSS feed from main menu
Posts and Notes feeds are linked by their respective pages.
2022-05-27 17:59:44 -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
d409a1ba58
Add "notes"
Short-form posts for microblogging. TODO: implement POSSE.
2022-05-24 16:37:26 -07:00
Rohan Kumar
a96b77793b
More CSS containment, adopt shortcodes
- Adopt more shortcodes in older posts.
- Contain figures, excluding images. Slightly decreases paint times.
- Fix spacing issues for nested articles.
- Always enable vertical scrollbar, since pretty much all pages are
  taller than the viewport. Eliminates a layout shift.
- Moar microdata
- Set fixed updated dates for some posts so they don't get new
  date-updated values until I actually change the content significantly
2022-05-11 23:32:35 -07:00
Rohan Kumar
5f1b73362c
CSS: adjust to meet recommended tap-target size
Adjust margins/paddings to actually meet the 48px recommended
tap-target size.

Also get rid of the unstyled-list class. Now my stylesheet only uses a
single class; everything else is actually-semantic-markup.
2022-05-04 17:54:33 -07:00
Rohan Kumar
6079273811
Fix canonical URL redirects 2022-04-29 08:59:14 -07:00
Rohan Kumar
543bbbc502
Fix some url redirects 2022-04-29 08:54:36 -07:00
Rohan Kumar
c26a6d6cc8
Re-introduce conservative minificaiton
- Don't auto-minify HTML but minify other resources, inc. the RSS feed
- Manually optimize whitespace a little to balance readability and
  compressed size
2022-04-26 17:15:42 -07:00
Rohan Kumar
aefc6e4e26
Include h3 in TOC 2022-04-22 21:45:51 -07:00
Rohan Kumar
37b9063186
Semantics: TOC and post-list <ol>
Order is significant for the ToC and post list so make them ordered.

I opted to make post-lists a reversed list, so I don't end up having
every post change its number every time I post.
2022-04-04 19:13:07 -07:00
Rohan Kumar
fd576c9175
Prepare a TOC template 2022-03-26 12:32:22 -07:00
Rohan Kumar
eac8ef1713
Preserve whitespace
Hugo 0.94 made whitespace removal the default. Probably best to keep it
for source readability.
2022-03-10 23:15:42 -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
b66a782aa1
Support indieweb avatars 2022-02-22 21:48:10 -08:00
Rohan Kumar
85287c68c1
Hugo config: no server headers
I'd rather use an actual web server to test this.
2022-02-20 15:58:11 -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
1f5142524b
Add open graph profile metadata 2022-02-15 21:42:24 -08:00
Rohan Kumar
0c048abd35
Chore: fix rsync, config.toml 2021-06-26 19:36:37 -07:00
Rohan Kumar
dc60da124a
Allow data: URI images in Hugo devserver CSP 2021-06-11 15:08:09 -07:00
Rohan Kumar
a3607cfbd0
Copyright year 2021-04-29 12:15:04 -07:00
Rohan Kumar
2818993f3b
Disable tags
I don't really use them yet
2021-03-17 13:05:52 -07:00
Rohan Kumar
ba9e86d3f0
Add resume 2021-01-27 16:12:24 -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
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
b24326d1c1
Devserver: fix CSP to allow livereload script 2021-01-02 17:24:27 -08:00
Rohan Kumar
16d07c5f05
Devserver: fix CSP to allow images from seirdy.one 2020-12-26 20:44:05 -08:00
Rohan Kumar
ed13aeb13f
Save Hugo version in bottom of <head>
I previously removed this from <head> because the first piece of
metadata should be setting the charset to utf-8. This commit adds it
back, but to the bottom of <head>.
2020-12-23 21:48:27 -08:00
Rohan Kumar
51a6d4edde
CI: test with lighthouse, webhint in staging 2020-12-23 17:04:28 -08:00
Rohan Kumar
758460f258
Add date last updated (gitinfo)
Add the date last updated to articles, if articles have been updated
since initial publication. Incldue a link to the article changelog.
2020-12-21 16:39:23 -08:00
Rohan Kumar
b9e4be50f5
Metadata: description + cache-bust manifest icons
- Add a cache-busting fingerprint to all the icons in the webmanifest
- Add a <meta> and open graph tag for a description.
- Include a 512px icon in the manifest
2020-12-19 17:50:55 -08:00
rohan kumar
fccac18100
Default description: "Seirdy's Home" 2020-12-11 12:01:37 -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
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
a40097955c
Link to proj. hub instead of git repo on sourcehut 2020-11-19 20:35:59 -08:00
rohan kumar
e614497a36
Fix: fix relative links on different domains 2020-11-18 17:06:55 -08:00
rohan kumar
9740ccc38d
Navigation links: remove redirects, fix posts link 2020-11-05 15:49:04 -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