No description
  • HTML 53.1%
  • Sass 30.6%
  • Python 11.5%
  • CSS 2.3%
  • Makefile 2.3%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
butterrobot 3d92244cea
All checks were successful
Build and deploy / build-and-deploy (push) Successful in 2m21s
FMG-8: link stlview.js to the Codeberg source in the guide (#4)
A reader emailed after getting stuck at step 3 of "Adding STL 3D Previews to Forgejo": the only link to the full `stlview.js` was in the intro paragraph, and the code block in that step is an explanatory excerpt rather than the whole file, so it was unclear what the file should contain.

- Step 2 (footer template): the `stlview.js` mention now links to the Codeberg source.
- Step 3: links the Codeberg source, tells the reader to copy that file into `custom/public/assets/stlview.js`, and says the snippets below are partial.
- After the asset file tree: a short note on where each file comes from (Codeberg for `stlview.js`, the three.js r160 release for the bundled modules).

Content-only change; no template or config changes. Both external links verified to return 200. Hugo is not installed in this environment, so the site build was not run locally — the PR build covers it.

Closes FMG-8

Reviewed-on: #4
Reviewed-by: Felipe M <me@fmartingr.com>
2026-09-09 21:38:25 +02:00
.github/workflows FMG-7: migrate deploy pipeline from Woodpecker to Forgejo Actions (#3) 2026-09-09 19:04:35 +02:00
archetypes refactor: moved to hugo 2024-06-19 23:57:48 +02:00
assets refactor: moved to hugo 2024-06-19 23:57:48 +02:00
content FMG-8: link stlview.js to the Codeberg source in the guide (#4) 2026-09-09 21:38:25 +02:00
layouts/partials refactor: moved to hugo 2024-06-19 23:57:48 +02:00
resources/_gen/assets/sass removed gen files 2024-08-08 21:37:26 +02:00
themes/fmartingr chore(deps): update Hugo module dependencies and Go version 2026-07-21 17:42:50 +02:00
.gitignore Add inline code styling, now page, and misc updates 2026-03-15 19:01:22 +01:00
.hugo_build.lock refactor: moved to hugo 2024-06-19 23:57:48 +02:00
go.mod chore(deps): update Hugo module dependencies and Go version 2026-07-21 17:42:50 +02:00
go.sum chore(deps): update Hugo module dependencies and Go version 2026-07-21 17:42:50 +02:00
hugo.toml added projects section 2025-04-03 18:53:50 +02:00
lektor2hugo.py refactor: moved to hugo 2024-06-19 23:57:48 +02:00
Makefile fix: makefile new-post title 2025-04-21 20:14:21 +02:00
README.md FMG-7: migrate deploy pipeline from Woodpecker to Forgejo Actions (#3) 2026-09-09 19:04:35 +02:00

fmartingr.com

Source code for my personal site hosted at fmartingr.com

Development

make server     # local preview, including drafts and future-dated posts
make new-post   # scaffold a post under content/blog/YYYY/MM/DD/

The theme transpiles Sass, so a Hugo extended build is required.

Deployment

.github/workflows/deploy.yml builds the site and rsyncs public/ to the web host over SSH.

The build runs on every pull request against master, so a broken site is caught before merge. The deploy step is skipped there and only runs for pushes to master, the daily schedule (so posts dated in the future get published once their date arrives), and manual dispatches.

The deploy rsyncs with --delete, so anything under SSH_PATH that the build does not produce is removed from the server.

It needs the following Actions secrets:

Secret Description
SSH_HOST Hostname of the web server
SSH_USER SSH login user
SSH_PATH Remote directory the site is copied into
SSH_PRIVATE_KEY Private key contents for SSH_USER