{"id":17222749,"url":"https://github.com/marksteve/parseltongue","last_synced_at":"2025-07-29T15:11:20.392Z","repository":{"id":50139551,"uuid":"6277167","full_name":"marksteve/parseltongue","owner":"marksteve","description":"Render HTML pages using Markdown and Jinja","archived":false,"fork":false,"pushed_at":"2021-06-02T21:45:07.000Z","size":29,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T16:21:46.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"marksteve.com/parseltongue","language":"Python","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/marksteve.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}},"created_at":"2012-10-18T11:08:22.000Z","updated_at":"2014-03-28T22:35:16.000Z","dependencies_parsed_at":"2022-08-30T04:52:58.771Z","dependency_job_id":null,"html_url":"https://github.com/marksteve/parseltongue","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/marksteve/parseltongue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marksteve%2Fparseltongue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marksteve%2Fparseltongue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marksteve%2Fparseltongue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marksteve%2Fparseltongue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marksteve","download_url":"https://codeload.github.com/marksteve/parseltongue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marksteve%2Fparseltongue/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267706436,"owners_count":24131131,"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-07-29T02:00:12.549Z","response_time":2574,"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":[],"created_at":"2024-10-15T04:06:15.521Z","updated_at":"2025-07-29T15:11:20.318Z","avatar_url":"https://github.com/marksteve.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parseltongue\n\nRender static pages using Markdown, JSON and Jinja2\n\n\n## Try it\n\n```bash\ngit clone https://github.com/marksteve/parseltongue.git\ncd parseltongue\npython setup.py install\ngit checkout gh-pages\nparseltongue\npython -m SimpleHTTPServer\n```\n\n\n## How it works\n\nParseltongue traverses the source directory (`_src` by default) for markdown\nfiles. Each markdown file is rendered as a page.\n\n### Templates\n\nA template is loaded from the templates directory (`_templates` by default) for\neach page. If a template of the same name (minus the extension) isn't found,\nthe template for the parent is loaded. (e.g. For `_src/blog/post.md`, if\n`_templates/blog/post.html` is missing then `_templates/blog.html` will be\nused.)\n\n### Context\n\nEach page has its own context. This context is retrieved from JSON files of the\nsame name. (e.g. `_src/page.md` uses `_src/page.json` for context) Level\ncontext (`index.json`) is updated while traversing the source directory. So if\nyou set a level context value from the source directory root, that value\nwill be included to the context of all other pages. Index pages (`index.md`)\nalso get the page listing (`pages`) for its level in its context. Context\nvalues are passed as arguments on render. They can also be accessed through\nthe `context` property of the `Page`.\n\n## Warning\n\nThis project is still very rough. If you find something wrong or want to add\nstuff, feel free to post an issue or a pull request.\n\n\n## TODO\n\n* Configuration\n\n## License\n\nhttp://marksteve.mit-license.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarksteve%2Fparseltongue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarksteve%2Fparseltongue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarksteve%2Fparseltongue/lists"}