{"id":26123226,"url":"https://github.com/gethinode/mod-compatibility","last_synced_at":"2025-04-13T14:20:51.157Z","repository":{"id":274447771,"uuid":"922932811","full_name":"gethinode/mod-compatibility","owner":"gethinode","description":"A Hugo module to add backwards compability with Hugo \u003c0.141.0 to your Hinode site","archived":false,"fork":false,"pushed_at":"2025-03-10T09:50:35.000Z","size":200,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-27T05:22:56.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gethinode.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":"2025-01-27T10:57:07.000Z","updated_at":"2025-03-10T09:49:30.000Z","dependencies_parsed_at":"2025-01-27T12:11:29.200Z","dependency_job_id":"5fead78c-f211-4008-8b69-76a2cda8817f","html_url":"https://github.com/gethinode/mod-compatibility","commit_stats":null,"previous_names":["gethinode/mod-compatibility"],"tags_count":1,"template":false,"template_full_name":"gethinode/mod-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gethinode%2Fmod-compatibility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gethinode%2Fmod-compatibility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gethinode%2Fmod-compatibility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gethinode%2Fmod-compatibility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gethinode","download_url":"https://codeload.github.com/gethinode/mod-compatibility/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248725091,"owners_count":21151626,"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":"2025-03-10T15:46:01.673Z","updated_at":"2025-04-13T14:20:51.129Z","avatar_url":"https://github.com/gethinode.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hinode Module - Compatibility\n\n\u003c!-- Tagline --\u003e\n\u003cp align=\"center\"\u003e\n    \u003cb\u003eA Hugo module to add backwards compability with Hugo \u0026lt;0.141.0 to your Hinode site\u003c/b\u003e\n    \u003cbr /\u003e\n\u003c/p\u003e\n\n\u003c!-- Badges --\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://gohugo.io\" alt=\"Hugo website\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/generator-hugo-brightgreen\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://gethinode.com\" alt=\"Hinode theme\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/theme-hinode-blue\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/gethinode/mod-compatibility/commits/main\" alt=\"Last commit\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/last-commit/gethinode/mod-compatibility.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/gethinode/mod-compatibility/issues\" alt=\"Issues\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/issues/gethinode/mod-compatibility.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/gethinode/mod-compatibility/pulls\" alt=\"Pulls\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/issues-pr-raw/gethinode/mod-compatibility.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/gethinode/mod-compatibility/blob/main/LICENSE\" alt=\"License\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/gethinode/mod-compatibility\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\n![Logo](https://raw.githubusercontent.com/gethinode/hinode/main/static/img/logo.png)\n\n\u003e [!CAUTION]\n\u003e Use this module only when using Hinode [v0.28.2](https://github.com/gethinode/hinode/releases/tag/v0.28.2) or later in combination with Hugo \u003c[v0.141.0](https://github.com/gohugoio/hugo/releases/tag/v0.141.0).\n\nHinode is a clean blog theme for [Hugo][hugo], an open-source static site generator. Hinode is available as a [template][repository_template], and a [main theme][repository]. Hugo [v0.141.0](https://github.com/gohugoio/hugo/releases/tag/v0.141.0) introduced a new [try](https://gohugo.io/functions/go-template/try/) mechanism to improve error handling. This is a breaking change with older Hugo versions.\n\nThis module includes several partials and render hooks to improve compatibility with Hinode sites that are still using an older Hugo version. Specifically, this module was introduced to ensure Hinode is compatible with CloudCannon's [Bookshop](https://github.com/CloudCannon/bookshop) component framework. The [embedded Hugo renderer](https://github.com/CloudCannon/bookshop/releases/tag/v3.11.0) still uses Hugo v0.136.1 under the hood.\n\n## Contributing\n\nThis module uses [semantic-release][semantic-release] to automate the release of new versions. The package uses `husky` and `commitlint` to ensure commit messages adhere to the [Conventional Commits][conventionalcommits] specification. You can run `npx git-cz` from the terminal to help prepare the commit message.\n\n## Configuration\n\nMount this module last in the site's module configuration to replace Hinode's partials and render hooks that are incompatible with Hugo \u0026lt;v0.141.0. The following module configuration is an example (define the configuration in e.g. `hugo.toml`).\n\n```toml\n[module]\n  [module.hugoVersion]\n    extended = true\n    min = \"0.120.0\"\n    max = \"0.140.2\"\n  [[module.imports]]\n    path = \"github.com/gethinode/hinode\"\n  [[module.imports]]\n    path = \"github.com/gethinode/mod-compatibility\"\n```\n\n\u003c!-- MARKDOWN LINKS --\u003e\n[hugo]: https://gohugo.io\n[hinode_docs]: https://gethinode.com\n[repository]: https://github.com/gethinode/hinode.git\n[repository_template]: https://github.com/gethinode/template.git\n[conventionalcommits]: https://www.conventionalcommits.org\n[husky]: https://typicode.github.io/husky/\n[semantic-release]: https://semantic-release.gitbook.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgethinode%2Fmod-compatibility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgethinode%2Fmod-compatibility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgethinode%2Fmod-compatibility/lists"}