{"id":35242910,"url":"https://github.com/inputusername/zola-hook","last_synced_at":"2026-04-06T07:01:43.322Z","repository":{"id":39647214,"uuid":"391186451","full_name":"InputUsername/zola-hook","owner":"InputUsername","description":"A clean and simple personal site/blog theme for the Zola static site generator","archived":false,"fork":false,"pushed_at":"2025-08-27T19:59:10.000Z","size":304,"stargazers_count":47,"open_issues_count":2,"forks_count":22,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T04:37:58.031Z","etag":null,"topics":["zola","zola-theme"],"latest_commit_sha":null,"homepage":"https://inputusername.github.io/zola-hook/","language":"HTML","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/InputUsername.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,"zenodo":null}},"created_at":"2021-07-30T20:58:20.000Z","updated_at":"2025-08-27T19:57:28.000Z","dependencies_parsed_at":"2025-01-27T10:23:58.878Z","dependency_job_id":"7f5cf666-0083-481b-9e8e-989f0e326ad0","html_url":"https://github.com/InputUsername/zola-hook","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/InputUsername/zola-hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InputUsername%2Fzola-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InputUsername%2Fzola-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InputUsername%2Fzola-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InputUsername%2Fzola-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InputUsername","download_url":"https://codeload.github.com/InputUsername/zola-hook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InputUsername%2Fzola-hook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["zola","zola-theme"],"created_at":"2025-12-30T05:24:32.317Z","updated_at":"2026-04-06T07:01:43.317Z","avatar_url":"https://github.com/InputUsername.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hook\n\nA clean and simple personal site/blog theme for [Zola](https://getzola.org).\n\n[Demo](https://inputusername.github.io/zola-hook/)\n\n## Setup\n\nClone this repo into your `themes` folder:\n```sh\ncd themes\ngit clone https://github.com/InputUsername/zola-hook.git hook\n```\n\nThen, enable it in your `config.toml`:\n```toml\ntheme = \"hook\"\n```\n\n## Features\n\nThe following templates are built-in:\n- `index.html` - the homepage;\n- `page.html` - pages and posts (extends `index.html`);\n- `section.html` - archive of pages in a section, mostly for a blog (extends `page.html`);\n- `404.html` - 404 page (extends `page.html`).\n\nTemplates have the following Tera blocks:\n- `title` - to override the default `\u003ctitle\u003e` (`config.title`);\n- `description` - to override the `\u003cmeta name=\"description\"\u003e`'s content (`config.description`);\n- `extra_head` - to override styles and anything else in `\u003chead\u003e`;\n- `header` - to change the header (best to put this in a `\u003cheader\u003e`);\n- `content` - to change the content (best to put this in a `\u003cmain\u003e`).\n\nYou can set a section or page description using `description` in your front matter.\nBy default, the `description` in `config.toml` is used.\n\nYou can define links to include in the header on the homepage in `config.toml`:\n```toml\n[extra]\n\nlinks = [\n    { title = \"Link display text\", href = \"http://example.com\" },\n    # ...\n]\n```\n\nPages in the root section can define `extra.in_header = true` to be included in the header links on the homepage.\n\nThe content in the root `_index.md` is included in the homepage if present.\n\nBelow that is a list of the 20 most recent posts. For this, the `blog/_index.md` section is expected to exist\n(will error if it doesn't exist). There is also a link to an archive of all blog posts by year.\n\nHook supports light/dark mode based on the user's preference. There is also a manual toggle button\n(requires JavaScript).\n\n## Screenshots\n\n### Homepage\n\n![Homepage](screenshot.png)\n\n### Blog post\n![Blog post](screenshot2.png)\n\n### Blog archive\n![Blog archive](screenshot3.png)\n\n### Dark mode\n![Dark mode](screenshot4.png)\n\n## License\n\nMIT license, see [`LICENSE`](https://github.com/InputUsername/zola-hook/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finputusername%2Fzola-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finputusername%2Fzola-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finputusername%2Fzola-hook/lists"}