{"id":26364772,"url":"https://github.com/lightandlight/lightandlight.github.io","last_synced_at":"2025-03-16T19:28:19.477Z","repository":{"id":26449377,"uuid":"29900459","full_name":"LightAndLight/lightandlight.github.io","owner":"LightAndLight","description":"My personal GitHub Pages site","archived":false,"fork":false,"pushed_at":"2025-02-23T00:31:52.000Z","size":3621,"stargazers_count":3,"open_issues_count":3,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-23T01:25:58.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://blog.ielliott.io","language":"Haskell","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/LightAndLight.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-01-27T06:17:29.000Z","updated_at":"2025-01-18T03:00:57.000Z","dependencies_parsed_at":"2024-01-17T11:37:42.544Z","dependency_job_id":"5c0168e3-4c54-4185-9aea-f8c10643d6a9","html_url":"https://github.com/LightAndLight/lightandlight.github.io","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/LightAndLight%2Flightandlight.github.io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightAndLight%2Flightandlight.github.io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightAndLight%2Flightandlight.github.io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightAndLight%2Flightandlight.github.io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LightAndLight","download_url":"https://codeload.github.com/LightAndLight/lightandlight.github.io/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243919133,"owners_count":20368836,"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":"2025-03-16T19:28:18.494Z","updated_at":"2025-03-16T19:28:19.464Z","avatar_url":"https://github.com/LightAndLight.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `lightandlight.github.io`\n\n\u003chttps://blog.ielliott.io\u003e\n\nMy personal GitHub Pages site.\n\n## Publishing\n\nThe actual site is served from [`docs/` on the `published`\nbranch](https://github.com/LightAndLight/lightandlight.github.io/tree/published/docs).\n\nTo publish the currently checked out branch, run `nix develop -c ./publish`. The\n[`publish`](./publish) script syncs the relevant branches and generates the site, committing it to\n`published` and pushing to GitHub. After pushing, you can see the status of the site deployment\n[here](https://github.com/LightAndLight/lightandlight.github.io/actions). It takes about a minute\nafter pushing for the changes to show up on the blog.\n\n## Features\n\n* [Post front-matter](#post-front-matter)\n* [Tag pages](#tag-pages)\n* [Math support](#math-support)\n* [Table of contents generation](#table-of-contents-generation)\n* [Asciinema](#asciinema)\n\n### Post front-matter\n\n| Field | Required? | Type | Comments |\n|---|---|---|---|\n| `title` | yes | string | Used in the HTML `\u003ctitle\u003e`, and displayed as the post's heading. |\n| `permalink` | yes | string | The post's absolute path on the site. |\n| `date` | no | string (format: YYYY-mm-dd) | The published date. Appears under the post's heading. If omitted, the post's filepath must begin with the published date. |\n| `excerpt` | no | string (format: HTML) | A summary of the post. Displayed on the post index. When omitted, the post's first paragraph is used. |\n| `tags` | no | list of string | Shown for each post on the post index, and at the bottom of a post's page. See also: [Tag pages](#tag-pages). |\n| `math` | no | bool | Enable [Math support](#math-support) |\n| `chinese` | no | bool | Use a better font for Chinese characters |\n| `asciinema` | no | bool | Enable [Asciinema](#asciinema) |\n| `feed_id` | no | string | Used for feed compatibility. A post's feed ID is based on its `permalink`, so if you change the permalink then feed readers will think you wrote a new post. If you change a `permalink`, set the post's `feed_id` to whatever it was when it was originally published. |\n\n### Tag pages\n\nEvery tag named in a `tags` [front-matter](#post-front-matter) field gets its own tags page at `/tag/{tagName}`.\nEach tags page lists all the posts with that tag. \n\n### Math support\n\nWhen the [post front-matter](#post-front-matter) has `math: true`, the following is enabled for a post's page:\n\n* Better MathML font ([Libertinus Math](https://github.com/alerque/libertinus))\n* MathML-specific CSS\n* MathJax-based polyfill when MathML isn't supported\n\n### Table of contents generation\n\nIf the placeholder element `\u003cdiv id=\"toc\"\u003e\u003c!-- generated --\u003e\u003c/div\u003e` is detected in a post, then the element's content will be set to the post's table of contents.\n\n#### Customisation\n\nBy default, the table of contents includes all headings and subheadings beginning at header level 2 (header level 1 is the post's title).\nThis can be overridden using [header attributes](https://pandoc.org/MANUAL.html#extension-header_attributes).\n\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eAttribute\u003c/th\u003e\n\u003cth\u003eType\u003c/th\u003e\n\u003cth\u003eEffect\u003c/th\u003e\n\u003cth\u003eExample\u003c/th\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n`toc:omit_children`\n\n\u003c/td\u003e\n\u003ctd\u003ebool\u003c/td\u003e\n\u003ctd\u003eOmit all of this heading's subheadings from the table of contents\u003c/td\u003e\n\u003ctd\u003e\n\n```\n## A heading {toc:omit_children=true}\n\nThe above heading is included in the TOC, but its subheadings are not.\n\n### A subheading\n\nThe above heading is omitted.\n\n### Another subheading\n\nSo is the above.\n\n## A different heading\n\n### A different subheading\n\nThe above subheading is included, because its parent hasn't set `toc:omit_children`.\n```\n\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n### Asciinema\n\nWhen the [post front-matter](#post-front-matter) has `asciinema: true`,\n[Asciinema](https://asciinema.org) casts can be embedded using the `\u003cx-asciinema-cast\u003e` element.\n\nExample:\n\n```html\n\u003cx-asciinema-cast data-src=\"/path/to/cast\"\u003e\u003c/x-asciinema-cast\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightandlight%2Flightandlight.github.io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightandlight%2Flightandlight.github.io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightandlight%2Flightandlight.github.io/lists"}