db72daf150 | ||
---|---|---|
archetypes | ||
assets | ||
bin | ||
content | ||
layouts | ||
static | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
config.toml |
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