{"id":18328361,"url":"https://github.com/thorstenhans/hugo-spin","last_synced_at":"2025-04-09T16:54:42.477Z","repository":{"id":233140264,"uuid":"685506832","full_name":"ThorstenHans/hugo-spin","owner":"ThorstenHans","description":"Template repository for building Hugo sites and serve them with Fermyon Spin","archived":false,"fork":false,"pushed_at":"2023-08-31T11:44:53.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T10:17:32.189Z","etag":null,"topics":["fermyon-cloud","fermyon-spin","hugo","spin"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/ThorstenHans.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}},"created_at":"2023-08-31T11:44:02.000Z","updated_at":"2024-08-12T11:27:32.000Z","dependencies_parsed_at":"2024-04-14T04:43:59.391Z","dependency_job_id":"fbd5aba6-9f61-4413-af37-ac03a143ce42","html_url":"https://github.com/ThorstenHans/hugo-spin","commit_stats":null,"previous_names":["thorstenhans/hugo-spin"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fhugo-spin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fhugo-spin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fhugo-spin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThorstenHans%2Fhugo-spin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThorstenHans","download_url":"https://codeload.github.com/ThorstenHans/hugo-spin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248074174,"owners_count":21043479,"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":["fermyon-cloud","fermyon-spin","hugo","spin"],"created_at":"2024-11-05T19:13:54.124Z","updated_at":"2025-04-09T16:54:42.445Z","avatar_url":"https://github.com/ThorstenHans.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hugo \u0026 Fermyon Spin template\n\nYou can use this template repository to serve your Hugo site through Fermyon Spin.\n\n## Required Software\n\nTo use this template the following software must be installed on your system\n\n- [hugo](https://gohugo.io)\n- [spin](https://www.fermyon.com/spin)\n\n## Repository structure\n\nThe Hugo site lives in the root of this repository. The hugo site has been generated using `hugo new site .` You can alter the site configuration in [`config.toml`](./config.toml). The Spin application for serving the Hugo site is located in the [`app`](./app/) folder.\n\nThe spin application is configured to work seamlessly with the default build settings of Hugo. (You can build your Hugo site locally using the `hugo` command from the root directory.)\n\nFor demonstration purposes, this repository has configured the [etch](https://themes.gohugo.io/themes/etch/) theme as git submodule. You can remove the submodule and pick a different theme if you want to.\n\n\u003e You can either clone the repo (including the theme) using `git clone git@github.com:ThorstenHans/hugo-spin.git --recursive ` or download the submodule after cloning using `git submodule update --init --recursive`\n\n## Makefile\n\nFind the [`Makefile`](./Makefile), which provides essential commands for day-to-day tasks such as running the site locally or deploying the latest version to [Fermyon Cloud](https://cloud.fermyon.com/)\n\n- Use `make start` to build and start your site locally with `spin`\n- Use `make deploy` to deploy your application to Fermyon Cloud\n\n## Deploying to Fermyon cloud\n\nAs mentioned, you can deploy your Hugo site to Fermyon Cloud using the `make deploy` command. When deploying for the first time, Fermyon Cloud will automatically assign a FQDN. You can locate the FQDN directly in the output provided by `make deploy` (or consult [https://cloud.fermyon.com](https://cloud.fermyon.com)).\n\nThe `deploy` target of the (see [`Makefile`](./Makefile)) will explicitly set `baseURL` to `/`, to make this work with the `baseURL` specified in [`config.toml`](./config.toml). For recurring deployments to Fermyon Cloud, you should consider providing the final FQDN in `config.toml` and replacing `hugo -b \"/\"` with `hugo` in the `Makefile`.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorstenhans%2Fhugo-spin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorstenhans%2Fhugo-spin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorstenhans%2Fhugo-spin/lists"}