{"id":16288288,"url":"https://github.com/jbouter/moonstone-ink.nl","last_synced_at":"2025-06-11T23:03:55.033Z","repository":{"id":45488936,"uuid":"331106195","full_name":"jbouter/moonstone-ink.nl","owner":"jbouter","description":"moonstone-ink.nl in hugo","archived":false,"fork":false,"pushed_at":"2023-05-22T22:00:09.000Z","size":96556,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T14:45:04.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbouter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-01-19T20:50:58.000Z","updated_at":"2021-12-10T22:46:25.000Z","dependencies_parsed_at":"2024-11-05T13:55:51.350Z","dependency_job_id":null,"html_url":"https://github.com/jbouter/moonstone-ink.nl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jbouter/moonstone-ink.nl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbouter%2Fmoonstone-ink.nl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbouter%2Fmoonstone-ink.nl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbouter%2Fmoonstone-ink.nl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbouter%2Fmoonstone-ink.nl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbouter","download_url":"https://codeload.github.com/jbouter/moonstone-ink.nl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbouter%2Fmoonstone-ink.nl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259360794,"owners_count":22845817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-10T19:47:51.011Z","updated_at":"2025-06-11T23:03:55.012Z","avatar_url":"https://github.com/jbouter.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# moonstone-ink.nl\n\nWebsite for [Moonstone Ink](https://moonstone-ink.nl), using the very fast and flexible static site generator called Hugo\n\n## Licenses\n\nAll code is licensed under GPLv3.\n\nAll photographs and artworks are licensed under the [Creative Commons attribution NonCommercial (CC BY-NC)](https://creativecommons.org/licenses/by-nc/4.0/):\n\n*This license lets others remix, adapt, and build upon your work non-commercially, and although their new works must also acknowledge you and be non-commercial, they don’t have to license their derivative works on the same terms.*\n\n## Getting Started\n\nStart by cloning the repository:\n\n```bash\ngit clone git@github.com:jbouter/moonstone-ink.nl.git\ncd moonstone-ink.nl\n```\n\n### Initial set-up\n\nThis is only required for first setting up the repository.\n\nSteps are based off of the [official documentation](https://gohugo.io/hosting-and-deployment/hosting-on-github/#preparations-for-gh-pages-branch)\n\nAdd the public directory to your gitignore\n\n```bash\necho \"public\" \u003e\u003e .gitignore\n```\n\nSet up `gh-pages` as an empty orphan branch\n\n```bash\ngit checkout --orphan gh-pages\ngit reset --hard\ngit commit --allow-empty -m \"Initializing gh-pages branch\"\ngit push upstream gh-pages\ngit checkout main\n```\n\n\n### Working with this setup\n\nThere's no need to set this up manually, as there's a GitHub workflow configured.\n\nCheck out the `gh-pages` branch into the `public` folder using git's [worktree feature](https://git-scm.com/docs/git-worktree). Essentially, the worktree allows you to have multiple branches on the same local repoistory to be checked out in different directories:\n\n```bash\ngit worktree add -B gh-pages public origin/gh-pages\n```\n\nRegenerate the site using the `hugo` command and commit the generated files on the `gh-pages` branch:\n\n```bash\nhugo\ncd public\ngit add --all\ngit commit -sm \"Publishing to gh-pages\"\n```\n\nIf the changes on the local `gh-pages` branch look alright, push them to the remote repo:\n\n```bash\ngit push origin gh-pages\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbouter%2Fmoonstone-ink.nl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbouter%2Fmoonstone-ink.nl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbouter%2Fmoonstone-ink.nl/lists"}