{"id":13694405,"url":"https://github.com/tcrowe/generator-hexo-theme","last_synced_at":"2025-10-01T06:31:46.678Z","repository":{"id":16966741,"uuid":"19729246","full_name":"tcrowe/generator-hexo-theme","owner":"tcrowe","description":"Generate a hexo theme: ejs, pug, swig, nunjucks | Moved to  https://tcrowe.commons.host/contact","archived":true,"fork":false,"pushed_at":"2019-12-20T21:48:34.000Z","size":109,"stargazers_count":126,"open_issues_count":0,"forks_count":14,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-14T17:13:49.226Z","etag":null,"topics":["ejs","hexo","hexo-theme","jade","nunjucks","swig","theme","yeoman"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":false,"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/tcrowe.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":"2014-05-13T07:05:44.000Z","updated_at":"2024-11-05T18:51:51.000Z","dependencies_parsed_at":"2022-09-13T08:00:37.527Z","dependency_job_id":null,"html_url":"https://github.com/tcrowe/generator-hexo-theme","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/tcrowe%2Fgenerator-hexo-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcrowe%2Fgenerator-hexo-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcrowe%2Fgenerator-hexo-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcrowe%2Fgenerator-hexo-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcrowe","download_url":"https://codeload.github.com/tcrowe/generator-hexo-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234837022,"owners_count":18894518,"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":["ejs","hexo","hexo-theme","jade","nunjucks","swig","theme","yeoman"],"created_at":"2024-08-02T17:01:31.187Z","updated_at":"2025-10-01T06:31:41.410Z","avatar_url":"https://github.com/tcrowe.png","language":"HTML","funding_links":[],"categories":["HTML","Themes"],"sub_categories":["External Resources"],"readme":"\n# generator-hexo-theme\n\nGenerate a hexo theme\n\nTemplate choices:\n+ ejs\n+ nunjucks\n+ pug\n+ swig\n\nStyle choices:\n+ stylus\n+ sass\n+ scss\n+ less\n+ css\n\nOther:\n+ hexo scripts directory\n+ .editorconfig file\n+ package.json\n\n## Install\n\n```sh\nnpm install --global yo\nnpm install --global generator-hexo-theme\n```\n\n## Use\n\nIf you don't have a site yet create one with `hexo init` [hexo-cli](https://github.com/hexojs/hexo-cli).\n\n```sh\nmkdir my-site\ncd my-site\nhexo init\n```\n\nNavigate to the directory you want to place the theme project in (most likely `themes/`).\n\n```sh\n# from the site root\ncd themes\n\n# make a new theme directory\nmkdir my-theme\ncd my-theme\n\n# generate\nyo hexo-theme\n```\n\n1. Check `_config.yml` in your **main blog directory**\n  * Set `theme` property to your theme name, activating this theme\n2. Check `_config.yml` in your **theme directory**\n  * Change menu items if needed\n  * Change stylesheet and scripts list if needed\n3. Navigate back to your **main blog directory**\n4. `hexo server --debug`\n\n## Hexo renderers\n\nIt might be necessary to goto the blog root and install a specific renderer for the template language you have chosen. Swig is built into Hexo at the current version.\n```sh\n# templates\nnpm install hexo-renderer-ejs\nnpm install hexo-renderer-njks\nnpm install hexo-render-pug\n\n# styles\nnpm install hexo-renderer-stylus\nnpm install hexo-renderer-less\nnpm install hexo-renderer-sass\n```\n\n## Thank you\n\n+ [moosoul](https://github.com/moosoul)\n+ [jonashao](https://github.com/jonashao)\n\n## Resources -- What is all this for?\n\n+ hexo static site generator [hexo.io](https://hexo.io)\n+ Yeoman scaffolding tool [yeoman.io](https://yeoman.io)\n+ EditorConfig [editorconfig.org](http://editorconfig.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcrowe%2Fgenerator-hexo-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcrowe%2Fgenerator-hexo-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcrowe%2Fgenerator-hexo-theme/lists"}