My site with gemlog, blog, maybe phlog.
Go to file
hedy db72daf150
Don't make post description italicized
2024-04-10 21:14:12 +08:00
archetypes Update index, add ~cafe spotlight, update CSS 2022-05-07 16:16:01 +08:00
assets Better styling for footnotes 2024-04-10 21:13:10 +08:00
bin Switch to python script for gemini cleaning 2024-04-10 20:37:18 +08:00
content New post 2024-04-10 21:09:54 +08:00
layouts Don't make post description italicized 2024-04-10 21:14:12 +08:00
static Content(index): Add a meme link 2022-05-16 21:22:02 +08:00
.gitignore Add .hugo_build.lock to gitignore 2023-01-25 11:02:29 +08:00
LICENSE Use MIT for code and CC-BY-SA for content 2021-02-22 03:46:53 +00:00
Makefile Switch to python script for gemini cleaning 2024-04-10 20:37:18 +08:00
README.md Add shortcode for getting the RelPermalink of a post resource 2024-04-10 21:12:35 +08:00
config.toml Add header anchor links and better footer 2024-04-08 15:16:54 +08:00

README.md

~hedy's site

This is my website and gemini capsule source code. Link is currently hedy.tilde.cafe on both web and gemini.

As of now, static site hosting is provided by srht.site.

It has a blog and a few pages. The blog has mostly the same post for web/gemini and the web version has an RSS feed and the gemini version has an atom feed. I also have tags, last-update, and changelog link for each post. As to comments it's currently via email, though I plan to setup CGI-based like/comment system for gemini. Webmentions are planned too, I have linked the pingback etc links in the <head> but I don't have them setup and working yet. I also want to make this a lightweight CGI-based solution.

That's about it! Nothing fancy. The CSS is pretty minimal, but not brutalist design. It has a few custom colors, a sans-serif font stack, and some styling in the footer and nav. Everything else is partially based on top of simple css and sometimes seirdy's site.

hardcoded values

In WWW, posts' resources are stored under the same directory as the post:

  • /posts/my-slug/index.html (the post itself)
  • /posts/my-slug/resource-1.png
  • /posts/my-slug/resource-2.svg

In gemini, posts' resources are stored together under a separate folder:

  • /posts/my-slug.gmi (the post itself)
  • /posts/assets/my-slug_resource-1.png
  • /posts/assets/my-slug_resource-2.png

These files might need to be changed to customize this:

  • bin/gemini-clean.py
  • layouts/shortcodes/get-resource-link.*

todo

  • let gemini version also have a post page at /posts/index.gmi
  • minify images and use WebP
  • provide atom feed for www
  • show post description in list
  • proper reply via email link

writing

bin/post

deploy

Also see gemcgi

make all deploy

twtxt

Hardcodes destination host and gemini directory.

bin/twt