{"id":16131518,"url":"https://github.com/thislight/hexo-theme-buck","last_synced_at":"2025-04-06T14:33:45.882Z","repository":{"id":217134709,"uuid":"743118241","full_name":"thislight/hexo-theme-buck","owner":"thislight","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-03T07:04:34.000Z","size":1716,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T20:38:03.742Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thislight.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":"2024-01-14T11:45:55.000Z","updated_at":"2024-10-03T07:04:37.000Z","dependencies_parsed_at":"2024-01-14T19:55:45.252Z","dependency_job_id":"4cfc9193-2add-4a34-b097-ef7d11933dda","html_url":"https://github.com/thislight/hexo-theme-buck","commit_stats":null,"previous_names":["thislight/hexo-theme-buck"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fhexo-theme-buck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fhexo-theme-buck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fhexo-theme-buck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fhexo-theme-buck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thislight","download_url":"https://codeload.github.com/thislight/hexo-theme-buck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247496238,"owners_count":20948191,"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-10-09T22:25:30.119Z","updated_at":"2025-04-06T14:33:45.859Z","avatar_url":"https://github.com/thislight.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buck - A Hexo Theme\n\nBuck is a hexo theme designed under Material Design 1 Guidelines.\n\n## Getting started\n\nYou need to build the theme resource before using this theme in hexo. Navgative to this theme root:\n1. `pnpm i` Install all dependencies.\n2. `pnpm build` Build the resource.\n\n## Note about tables\n\nTables in buck is responsive with special treatment: they need an additional element with `table-responsive` css class wraps them. Like:\n\n```html\n\u003cdiv class=\"table-responsive\"\u003e\n  \u003ctable\u003e...\u003c/table\u003e\n\u003c/div\u003e\n```\n\nThis preprocessing already comes with buck if you use those renderers:\n\n- `hexo-renderer-marked`: modify the table rendering in a `marked:renderer` hook.\n\nIf the files are not preprocessed with certain steps. The script comes with buck will try it again on the user agent.\n\n### Confirm if the tables are preprocessed\n\nOpen any article with any table, find the table element in your user agent's \"Developer tools\".\n\nCheck if it has a parent with css class `table-responsive`:\n\n- No: the file is not preprocessed, and the script is failed to modify it on the user agent.\n- Yes: Contine\n\nCheck if the parent have attribute `data-buck-backed=\"true\"`:\n\n- No: the file is not preprocessed\n- Yes: the file is preprocessed\n\n```html\n\u003cdiv class=\"table-responsive\" data-buck-baked=\"true\"\u003e\n  \u003ctable\u003e...\u003c/table\u003e\n\u003c/div\u003e\n```\n\n## Development\n\nESBuild manages the resource of this theme. In the root:\n\n- The `config.ts` is the esbuild config.\n- `build.ts` is the build script, `watch.ts` is the incremental build script.\n\nUse `pnpm dev` to start incremental building. For deployment, please remove `source` before build the resource.\n\n## Roadmap\n\n- Tags for articles\n- Fullscreen pictures \u0026 Gallery layout\n- Categories\n- Video player\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthislight%2Fhexo-theme-buck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthislight%2Fhexo-theme-buck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthislight%2Fhexo-theme-buck/lists"}