Files
andros 17eb09cb99 View-blog button on vfile-hosted profiles
When the feed URL has the shape /<nick>/social.org we expose a
"View blog" button under "View social.org" / "Share RSS" pointing
at <previewServiceURL>/blog/<nick>. The preview service renders the
feed as an HTML blog for vfile-style hosts.

Detection is path-based, so the button appears for the user's own
profile when uploadMethod == vfile and also for any followed profile
served from a vfile host (the URL pattern is observable). For raw
Git or arbitrary HTTP hosts the path doesn't end in social.org with
exactly one nick segment in front, so the button stays hidden.

Layout: the three header buttons (View social.org, Share RSS, View
blog) wrap to a second row when blog applies, so the row stays
readable on smaller phones.
2026-04-26 08:20:15 +02:00
..