{"id":51784468,"url":"https://github.com/diraneyya/rehab-hugo","last_synced_at":"2026-07-20T16:02:53.361Z","repository":{"id":366779430,"uuid":"1276963545","full_name":"diraneyya/rehab-hugo","owner":"diraneyya","description":"English translation of the STOP-X knee \u0026 lower-limb injury-prevention manual (German Knee Society / DKG). A Hugo site rendered from a schema-validated JSON data file via a Go template, deployed to GitHub Pages.","archived":false,"fork":false,"pushed_at":"2026-06-23T08:48:46.000Z","size":5295,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-23T10:14:36.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://diraneyya.github.io/rehab-hugo/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diraneyya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-22T13:05:04.000Z","updated_at":"2026-06-23T08:48:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/diraneyya/rehab-hugo","commit_stats":null,"previous_names":["diraneyya/rehab-hugo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/diraneyya/rehab-hugo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diraneyya%2Frehab-hugo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diraneyya%2Frehab-hugo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diraneyya%2Frehab-hugo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diraneyya%2Frehab-hugo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diraneyya","download_url":"https://codeload.github.com/diraneyya/rehab-hugo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diraneyya%2Frehab-hugo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35691542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"ssl_error","status_checked_at":"2026-07-20T02:08:09.736Z","response_time":111,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-20T16:02:52.779Z","updated_at":"2026-07-20T16:02:53.344Z","avatar_url":"https://github.com/diraneyya.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Knee \u0026 Lower-Limb Injury Prevention — STOP-X (English)\n\n**📖 Open the manual here → https://diraneyya.github.io/rehab-hugo/**\n\nSave that link — it opens on any phone, no download: all the exercises, with photos\nand clear English instructions. Everything below is *how* the manual is built.\n\n## Introduction\n\nThis is the **knee \u0026 lower-limb injury-prevention manual** (the STOP-X program from\nthe German Knee Society) translated into English.\n\nIt is built the same way as the expenses sheet: a site generator (`hugo`) turns a\nJSON data file into the final pages, using a template. The difference is what comes\nout the other end — this time Hugo renders a **website (HTML)**, not a Markdown file.\n\n## FAQ\n\n_Where do the exercises come from?_\n\nFrom one JSON data file: [`data/exercises.json`](data/exercises.json). Each exercise\nis one object in the array, with its title, category, focus, equipment, photo, and\nthe `goal` / `execution` / `blocks` bullet lists.\n\n_How does HUGO know how to turn that JSON into the manual?_\n\nThe template ranges over the data and builds the page — exactly like the expenses\ntemplate did:\n\n```\n{{ range .Site.Data.exercises }} ... {{ end }}\n```\n\nThe template lives in [`layouts/index.html`](layouts/index.html), and it groups the\nexercises by `category` into the five blocks of the program.\n\n_Where is the intro text (the \"Why this matters\" part)?_\n\nThat part is written by hand in Markdown, in [`content/_index.md`](content/_index.md).\nSo the manual is part **data** (the exercises, from JSON) and part **content** (the\nintro, from Markdown) — Hugo stitches them together.\n\n_Do we edit the final HTML directly? Why?_\n\nNo. Hugo generates it automatically into the `public/` folder. You only edit the\nJSON, the Markdown, the template, or the styles — never the generated output. The\ngenerated output is the **artefact**.\n\n_Why is there no `.md.md` template like in the expenses sheet?_\n\nBecause that trick was for generating a Markdown artefact. Here the artefact is a\nnormal website, so we use Hugo's normal HTML templates (`.html`) — no `pandoc` step\nafterwards. (Remember from the expenses README: a template that generates HTML.)\n\n_What is the schema for?_\n\n[`schemas/exercises.json`](schemas/exercises.json) describes the **shape** every\nexercise must have (which fields are required, that `category` must be one of the\nfive known blocks, that `goal` and `execution` are lists, and so on). VS Code is\nwired to it in [`.vscode/settings.json`](.vscode/settings.json), so a mistake in\n`data/exercises.json` gets a red underline **as you type it** — before you ever run\n`hugo`. Same early bug-catching idea as the expenses schema, just for a slightly\nricher shape (lists, and a list of `blocks`).\n\n_How is it published?_\n\nOn every push, a **GitHub Action** ([`.github/workflows/hugo.yml`](.github/workflows/hugo.yml))\ninstalls Hugo, builds the site, and deploys it to **GitHub Pages**. So the live\nmanual updates itself whenever the data changes.\n\n## Credit \u0026 safety\n\nThe exercises and demonstration photos are from the official **STOP-X** home-training\nbooklet of the German Knee Society (Deutsche Kniegesellschaft, DKG). This is a\ntraining guide, **not** medical advice — it was written as a knee/ACL prevention\nprogram, so it is a general lower-limb foundation rather than rehab for any one\ninjury. Always agree the exercises, intensity and timing with a doctor or\nphysiotherapist before starting, and stop anything that causes sharp pain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiraneyya%2Frehab-hugo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiraneyya%2Frehab-hugo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiraneyya%2Frehab-hugo/lists"}