{"id":21721178,"url":"https://github.com/danielearwicker/zapata","last_synced_at":"2026-04-13T23:03:15.315Z","repository":{"id":42306451,"uuid":"228193060","full_name":"danielearwicker/zapata","owner":"danielearwicker","description":"Extremely minimal static site generator: handlebars + markdown + frontmatter","archived":false,"fork":false,"pushed_at":"2022-07-07T14:59:13.000Z","size":311,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T18:43:16.047Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"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/danielearwicker.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}},"created_at":"2019-12-15T13:57:37.000Z","updated_at":"2019-12-15T19:50:47.000Z","dependencies_parsed_at":"2022-09-14T16:51:59.134Z","dependency_job_id":null,"html_url":"https://github.com/danielearwicker/zapata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielearwicker%2Fzapata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielearwicker%2Fzapata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielearwicker%2Fzapata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielearwicker%2Fzapata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielearwicker","download_url":"https://codeload.github.com/danielearwicker/zapata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244693708,"owners_count":20494497,"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-11-26T02:14:33.182Z","updated_at":"2026-04-13T23:03:10.272Z","avatar_url":"https://github.com/danielearwicker.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zapata\n\nExtremely minimal static site generator: handlebars + markdown + frontmatter\n\n# Installation\n\n```\nnpm install -g zapata\n```\n\n# Usage\n\nTo create yourself a simple starting point, create a new directory, change to it and then run `zapata create`:\n\n```\nmkdir mysite\n\ncd mysite\n\nzapata create\n```\n\nYou write posts (articles, pages) as markdown `.md` files in the `posts` directory. A single `template.html` file (in Handlebars format) is used to convert each post into an HTML page.\n\nTo generate the site as plain HTML:\n\n```\nzapata generate\n```\n\nThis creates (or replaces) a sub-directory called `generated`. Everything is copied into `generated` (apart from the raw `template.html` and `posts`), so you can include images and `.css` resources and other pages required by your template.\n\nPosts are converted to `.html` files at the root level.\n\nThe generated `index.html` file is just a redirector that switches to the latest post.\n\n# Structure of a post\n\nA post must start with a frontmatter section, which is a YAML object inside `---` lines:\n\n```\n---\ntitle: The introductory page of this site\nposted: 2019-12-14\nauthor: Octavia Optimism\n---\n```\n\nThe `title` and `posted` properties are mandatory. Posts are sorted by the `posted` data (most recent first).\n\nAny other properties you define are exposed to the template as an object called `data`.\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielearwicker%2Fzapata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielearwicker%2Fzapata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielearwicker%2Fzapata/lists"}