{"id":18377864,"url":"https://github.com/nafeu/deno-md-site","last_synced_at":"2026-04-13T01:02:51.546Z","repository":{"id":99625174,"uuid":"333650827","full_name":"nafeu/deno-md-site","owner":"nafeu","description":"An example static site generator built with Deno. Made for a blog post.","archived":false,"fork":false,"pushed_at":"2021-02-01T03:51:36.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T13:13:22.647Z","etag":null,"topics":["deno","javascript","markdown","static-site-generator","typescript"],"latest_commit_sha":null,"homepage":"https://nafeu.com/deno-md-site","language":"TypeScript","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/nafeu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-28T05:01:49.000Z","updated_at":"2022-04-29T06:22:12.000Z","dependencies_parsed_at":"2023-04-06T18:14:52.884Z","dependency_job_id":null,"html_url":"https://github.com/nafeu/deno-md-site","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nafeu/deno-md-site","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fdeno-md-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fdeno-md-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fdeno-md-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fdeno-md-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nafeu","download_url":"https://codeload.github.com/nafeu/deno-md-site/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafeu%2Fdeno-md-site/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272045432,"owners_count":24864021,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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":["deno","javascript","markdown","static-site-generator","typescript"],"created_at":"2024-11-06T00:29:31.257Z","updated_at":"2026-04-13T01:02:51.510Z","avatar_url":"https://github.com/nafeu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deno Markdown Site\n\n![](https://res.cloudinary.com/dvivnklwq/image/upload/v1611809447/Screen_Shot_2021-01-27_at_11.50.27_PM_qshv0w.png)\n\nAn example static site generator built with Deno. Made for a blog post.\n\n## Usage\n\nMake sure you've templated your website as instructed below, then you can use:\n\n```\ndeno run --allow-read --unstable --allow-write https://raw.githubusercontent.com/nafeu/deno-md-site/main/main.ts example-site.md build\n```\n\nWhere you can replace `example-site.md` with your site's `.md` file and replace `build` with your specified build path.\n\n#### Local Installation (optional)\n\n```\ngit clone https://github.com/nafeu/deno-md-site.git\ncd deno-md-site\n```\n\n#### Templating Your Website\n\nCreate a markdown file:\n\n```\ntouch example-site.md\n```\n\nAnd format it like so:\n\n```markdown\n---\ntitle: [WEBSITE_TITLE]\nstyles: \u003e\n  /* Add Optional CSS Here */\nfavicon: 🦕\n---\n/home:Home\n\n# Home\n\n[Home page content]\n\n+++\n/[PAGE_PATH]:[PAGE_TITLE]\n\n# [PAGE_TITLE]\n\n[PAGE_CONTENT]\n\n+++\nlayout:footer\n\n[FOOTER_CONTENT]\n```\n\n#### Templating Rules\n- [YAML Front Matter](https://jekyllrb.com/docs/front-matter/) is used to declare a `[WEBSITE_TITLE]`, optional css styles and an optional emoji favicon\n- Triple plus signs (`+++`) are used to separate pages and layout components\n- `[PAGE_PATH]` is the url path to a page\n- `[PAGE_TITLE]` is the title of the current page\n- `[PAGE_CONTENT]` is the content of that page (written in markdown)\n\nCheck out the `example-site.md` file and `docs/` folder included in this repo for a clear example. Note that for the `docs` folder has been manually formatted the HTML so it would be easier to read, the actual build renders HTML that works but isn't as human-readable.\n\n#### Generating Your Website\n\nTarget your templated `.md` file and specify a build path like so:\n\n```\ndeno run --allow-read --unstable --allow-write main.ts example-site.md build\n```\n\nYou can then use `cd build` to see your generated website.\n\n## Development\n\nI recommend using [`denon`](https://github.com/denosaurs/denon):\n\n```bash\ndeno install --allow-read --allow-run --allow-write -f --unstable https://deno.land/x/denon/denon.ts\n```\n\nThen you can use\n\n```bash\ndenon run --allow-read --unstable --allow-write main.ts example-site.md\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafeu%2Fdeno-md-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnafeu%2Fdeno-md-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafeu%2Fdeno-md-site/lists"}