Commit Graph

88 Commits

Author SHA1 Message Date
hedy 18ea2bc51c
Clean up XML 2024-05-01 12:17:08 +08:00
hedy 045d292ae7
Fix all titles in XML feeds 2024-05-01 11:57:38 +08:00
hedy 2945f44671
Add meta theme-color 2024-04-27 10:36:46 +08:00
hedy 3a1b3b7cf7
Move posts date to the very top, before even the title 2024-04-20 12:35:32 +08:00
hedy 6b6aded2d7
feat: Show tags, adjust structure
- gmi: Show last mod along with post date in post meta
- both: Show simple list of tags at the end of a post
  - for web: This makes tags look like "tags" rather than "word-links",
    with removed text underline and added background color to the links.
    Small opacity/brightness change applied on hover for both dark and
    light modes.
- web: Adjust content structuring
  - hr before footnotes is removed. The footnotes is now borderless (hr
    is still visible on browsers without CSS)
  - Add upper border on footer (implemented by using bottom border on
    after content, which is now visible regardless of whether content
    exists)
  - Boldify footnotes heading - creates a visual separation in place of
    removed hr
- web: Adjust color of light text - it's now lighter and bluer to fit
  the background.
2024-04-18 17:17:01 +08:00
hedy a6c3079a16
Update gemini general page format 2024-04-15 21:40:37 +08:00
hedy 0b26a6b51b
Update gemini post format 2024-04-15 09:12:44 +08:00
hedy 59447302f0
Apply lint suggestions to <head> 2024-04-13 14:47:01 +08:00
hedy f4e6d27e56
Use relative links for posts list 2024-04-13 14:46:37 +08:00
hedy f06bc57414
Fix time element datetime attribute dates 2024-04-13 14:45:34 +08:00
hedy 3c035dc4ea
Add html-validate ignore for markdown tables 2024-04-13 14:45:07 +08:00
hedy b5c790df77
Move hero stuff out of content into index.html template 2024-04-13 14:44:43 +08:00
hedy 3ea69c95c8
Use relative links 2024-04-13 14:43:02 +08:00
hedy 0e8fec4b98
Don't show tags on post listings and merge description with date in WWW 2024-04-13 09:52:56 +08:00
hedy bb61bfd957
Better reply-via-email link and add email subscription link 2024-04-13 09:39:48 +08:00
hedy d365e1ca4c
Use UTC everywhere 2024-04-11 19:36:01 +08:00
hedy 60141b41d2
Better place to show tags in gemini 2024-04-11 18:53:53 +08:00
hedy e211f5d41f
Show tags in gemini post listing 2024-04-11 18:30:17 +08:00
hedy 858544b7d6
Use prettier, more resilient tag listing for WWW
And document requirements in the readme
2024-04-11 18:25:50 +08:00
hedy 7346846c71
Adjust post meta format and move tags to post listing
- Remove showing of tags completely on gemini. I didn't find any good
  place to put it
- List of tags are now shown in post listing with its display muted but
  known as links
- Changelog is removed as I didn't find a good place to put it
- Made the "EOF" optional through post params with self-documenting
  frontmatter adjusted in archetypes
- Explicit date format in archetypes
- Better formatting of post meta information in both WWW and gemini
2024-04-11 15:16:01 +08:00
hedy b2e1d87b21
Add webrings and place posts list in any position for index pages 2024-04-11 10:09:11 +08:00
hedy f822e1444e
Extract gmi processed content into its own partial 2024-04-11 08:51:07 +08:00
hedy 660cd3bd5b
Better post meta formatting on gemini 2024-04-10 21:14:23 +08:00
hedy db72daf150
Don't make post description italicized 2024-04-10 21:14:12 +08:00
hedy 70a557b3fd
Add hr for footer for text-based browsers 2024-04-10 21:13:53 +08:00
hedy 175279bda8
Fix update date on atom feeds 2024-04-10 21:13:34 +08:00
hedy 3de8393a3d
Better styling for footnotes 2024-04-10 21:13:10 +08:00
hedy c1e93c0abf
Add shortcode for getting the RelPermalink of a post resource 2024-04-10 21:12:35 +08:00
hedy fbda5c5624
Show descriptions in gemlog post list 2024-04-10 20:43:32 +08:00
hedy 4bf15aa4d3
Restructure hierarchy of after-content and footer to modify placing of hr 2024-04-10 15:02:22 +08:00
hedy aec1adb876
Switch modus-operandi/vivendi for syntax highlighting with adjusted background colors 2024-04-09 17:12:23 +08:00
hedy 94678da810
Misc updates on phrasing for post meta information
- Posted "on"
- Last updated "on"
- Tags:/Tag: -> Tagged
- Use configurable author email everywhere
2024-04-08 21:31:24 +08:00
hedy 2e177f873f
feat: Support gemini posts listing `posts/index.gmi` 2024-04-08 21:19:40 +08:00
hedy b90325421a
Make posts listing content be actual markdown
I needed the h2 posts heading on the home page to be rendered with the
anchor link, but also retain the h1 heading in the posts/ page, and
share the same "posts.html" partial.

- Put the posts listing "pre" content into content/posts/_index.md as
  markdown
- Use a partial for the heading render hook, which allows it to be used
  in the "posts.html" partial
- Retain behaviour to either have h1 "posts" for the posts page or h2
  "posts" for the homepage, _and_ pass this HTML h1/h2 into the anchor
  heading render hook (actually the partial)
- Render posts/_index.md content for both the homepage listing and the
  posts listing.
2024-04-08 17:15:01 +08:00
hedy 52457f350b
Add header anchor links and better footer 2024-04-08 15:16:54 +08:00
hedy 7654d0f53e
Reuse pfp partials 2024-04-08 15:16:32 +08:00
hedy 88e71594ab
Major update (too lazy to write the detailed commit message, sorry) 2024-04-07 20:18:33 +08:00
hedy ec1faf8488
Update posts partial 2023-08-27 20:01:06 +08:00
hedy 72d4d2b30c
Update posts 2023-08-27 19:33:35 +08:00
hedy 3902e670b2
Update index pages and footer for comments contact 2023-08-27 14:12:25 +08:00
hedy 7219cfcd69
Fix favicon 2023-06-25 17:33:13 +08:00
hedy 1de58ee2a0
oops 2023-06-25 17:18:41 +08:00
hedy c39a5e1298
oops 2023-06-25 17:17:15 +08:00
hedy 03368065a4
Fix nav icon sizing 2023-06-25 17:15:49 +08:00
hedy 79f4afd3ab
CSS (link, nav, font) and index pfp updates 2023-06-25 15:31:39 +08:00
hedy 1001404e44
Add <hr>s between sections, modify styles 2023-01-25 10:59:49 +08:00
hedy 5fb340aa03
Add a perfectly appropriate alt text to icon image
Yes 100% suitable :P

It describes what the image is to those who can't see the image
perfectly well.

It magically makes the image show up in terminal browsers, as if your
terminal browser can render small images to the very pixel.

Bonus, for terminal/text-based browsers the "image" can even adapt to
your custom font! How cool is that?

Look, people, unique per-user images without cookies, without
javascript, without sessions, without CSS.

It was a very pleasant commit-message-writing experience...

Until realization hit. Why TF did you have the stupid image in the first
image when it can just be a block of text (<code>)? Oops! Let's not
celebrate my site's accessibility features too early, *cough* *cough*.

---
PS: Anyways after like almost two(?) years my site finally has a
favicon, lol, see previous commits.
2022-05-16 20:53:08 +08:00
hedy 06198fdc7d
Nav, CSS, Content(index): Add favicon, better homepage and nav title
Basically all the changes involving my profile pics

- Favicon: 32x32 2-colors version
  - Both SVG and PNG provided

- Nav home link: Now having the icon next to the name
  - Configurable in config.toml (see its comment)
  - For homepage: the home link is Site.title
  - For other pages: icon next to name

- Index page h1: No more big ugly pfp, now inline
  - Using shortcodes with corresponding partials ln'ed to them

- CSS for the nav thing
  - Right now when user hovers on the home link, the portion has a
    background color. I tried to not select it but apparently failed.

    Desired behaviour: it should only have the hover effect if the home
    link does not have the image (which is the case for all pages other
    than index page, as described in second list item above).

    Current behaviour: A useless CSS selector change that did not alter
    the site's behaviour in any way whatsoever. Don't mind me, I'm
    horrible at comitting things for this repo - I tend to like to make
    a lot of changes in one go and commit using `git apply -p`. I also
    litter a lot of comments in the CSS, which apparently increases the
    size of the inline <style> in every. single. HTML file generated.
    Literally.

    Most likely switching back to external stylesheet in the future to
    save some bytes in my overall website size.

- (Most likely the worst CSS addition I've every made): A blinking
  lower-block for the h1 on index page. Seriously? CSS Animations on a
  supposedly "simple" site like this??? Hopefully I would know better
  and remove it soon.
  - It's only animated for like 5 seconds. After that it is hidden
  - For text-based browsers it willbe static and forever there. This may
    be a problem because it looks like my name has a trailing
    underscore 🤦
  - It just looks wrong. I didn't have the typewriter animation for the
    h1 text though, so ugh.
2022-05-16 20:16:48 +08:00
hedy 2c7818fb76
HTML: tabs to spaces; also better titles for tag views 2022-05-15 18:27:35 +08:00
hedy 629ba7431a
README, Feeds, Post(meta): Redesign post list, add atom feed 2022-05-15 18:26:12 +08:00