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

54 commits

Author SHA1 Message Date
Rohan Kumar
8807d4a0c7
Disable WebSub
It didn't work :(
2023-12-01 00:19:32 -08:00
Rohan Kumar
bf7423e44a
Add websub and other feed metadata 2023-11-29 13:37:17 -08:00
Rohan Kumar
76a18c2541
Include more generator information.
- Add generator info to Atom feed.
- Add generator version and commit hash to meta page, along with a link
  to the last CI job if available.
- Use $JOB_URL to detect CI since that variable can be re-used to fetch
  the URL to the latest CI logs.
2023-11-27 19:38:56 -08:00
Rohan Kumar
03a1c18191
More feed metadata 2023-11-27 09:35:01 -08:00
Rohan Kumar
33b3c5211a
Move resume to "about"
Define a redirect alias too.

This also entails special xhtmlize behavior as redirects in Hugo don't
use trailing slashes.
2023-11-26 14:28:41 -08:00
Rohan Kumar
30ce292b57
Continue transitioning from real name to handle
- Switch meta author and open-graph author to Seirdy
- Update Gemini copyright footer name (and year)

Also sneakily smarten punctuation in the site title, don't tell anyone
2023-11-14 23:22:10 -08:00
Rohan Kumar
f9b2338b30
Sell out
gib 🥺
2023-10-28 12:25:17 -07:00
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