{"id":23651507,"url":"https://github.com/athanclark/webpage","last_synced_at":"2026-03-05T08:32:41.854Z","repository":{"id":24386722,"uuid":"27786576","full_name":"athanclark/webpage","owner":"athanclark","description":"A generic scaffold for a web page, for lucid.","archived":false,"fork":false,"pushed_at":"2019-01-26T07:59:27.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T22:53:48.739Z","etag":null,"topics":["haskell","html","webpage","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ADVANTECH-Corp/WISE-1520-EI-PaaS","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/athanclark.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":"2014-12-09T20:54:17.000Z","updated_at":"2019-01-26T07:59:29.000Z","dependencies_parsed_at":"2022-08-22T23:40:10.597Z","dependency_job_id":null,"html_url":"https://github.com/athanclark/webpage","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/athanclark/webpage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fwebpage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fwebpage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fwebpage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fwebpage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/athanclark","download_url":"https://codeload.github.com/athanclark/webpage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athanclark%2Fwebpage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30115941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T08:19:04.902Z","status":"ssl_error","status_checked_at":"2026-03-05T08:17:37.148Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["haskell","html","webpage","wordpress"],"created_at":"2024-12-28T16:38:08.031Z","updated_at":"2026-03-05T08:32:41.828Z","avatar_url":"https://github.com/athanclark.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpage\n\nThis is a general web page scaffold written in Haskell for the\n[Lucid](https://github.com/chrisdone/lucid) Html DSL.\n\n## Usage\n\nIt's pretty straigt forward:\n\n```haskell\nλ\u003e renderText $ template def \"some content\"\n\n\"\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\u003chead\u003e\u003ctitle\u003e\u003c/title\u003e\u003clink href rel=\"icon\"\u003e\u003c/head\u003e\u003cbody\u003esome content\u003c/body\u003e\u003c/html\u003e\"\n```\n\noverload the particular areas with record syntax, or do whatever:\n\n```haskell\nλ\u003e let page = def {pageTitle = \"foo\", bodyScripts = script_ [src_ \"jquery.js\"] \"\"}\n\nλ\u003e template page \"some content\"\n\n\"\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\u003chead\u003e\u003ctitle\u003efoo\u003c/title\u003e\u003clink href rel=\\\"icon\\\"\u003e\u003c/head\u003e\u003cbody\u003esome content\u003cscript src=\\\"jquery.js\\\"\u003e\u003c/script\u003e\u003c/body\u003e\u003c/html\u003e\"\n```\n\n\u003e **Note**: When using the [Hastache](http://hackage.haskell.org/package/hastache)\n\u003e implementation, the content inside a `WebPage` data type will be in the same\n\u003e scope as the rest of the template - you can access the things your final\n\u003e content will see from `metaVars`, for instance (unless you do multiple\n\u003e renderings).\n\n\u003e **Another Note**: We don't provide an instance for the beloved\n[Hamlet](http://hackage.haskell.org/package/shakespeare)\n\u003e because under the hood, it's just Blaze-Html -\n\u003e`$(runQ $ shamletFile \"foo.hamlet\")` gives us an `Html`.\n\n## Contributing\n\nFork, Pull-Request, repeat.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathanclark%2Fwebpage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fathanclark%2Fwebpage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathanclark%2Fwebpage/lists"}