{"id":13552257,"url":"https://github.com/tcrowe/slush-hexo-theme","last_synced_at":"2025-09-29T08:31:18.302Z","repository":{"id":57363494,"uuid":"110528206","full_name":"tcrowe/slush-hexo-theme","owner":"tcrowe","description":"⚠️ Need slush dev to help fix for newest node and slush version | Moved to  https://tcrowe.commons.host/contact","archived":true,"fork":false,"pushed_at":"2018-10-20T03:35:49.000Z","size":110,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-22T12:31:33.175Z","etag":null,"topics":["ejs","hexo","hexo-theme","nunjucks","pug","slush","slushgenerator","swig"],"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":"2017-11-13T09:35:33.000Z","updated_at":"2023-10-26T14:07:52.000Z","dependencies_parsed_at":"2022-09-15T21:31:33.619Z","dependency_job_id":null,"html_url":"https://github.com/tcrowe/slush-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%2Fslush-hexo-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcrowe%2Fslush-hexo-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcrowe%2Fslush-hexo-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcrowe%2Fslush-hexo-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcrowe","download_url":"https://codeload.github.com/tcrowe/slush-hexo-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219874011,"owners_count":16554535,"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","nunjucks","pug","slush","slushgenerator","swig"],"created_at":"2024-08-01T12:02:01.221Z","updated_at":"2025-09-29T08:31:17.916Z","avatar_url":"https://github.com/tcrowe.png","language":"HTML","funding_links":[],"categories":["HTML","others"],"sub_categories":[],"readme":"\n# slush-hexo-theme\n\nGenerate a [hexo](https://hexo.io) theme\n\n[Yeoman version available too](https://github.com/tcrowe/generator-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\n+ bower: .bowerrc, bower.json\n+ npm: package.json\n+ .gitignore\n+ .editorconfig\n\n---\n\n## Install globally\n\n```sh\nnpm install --global slush\nnpm install --global slush-hexo-theme\n```\n\n---\n\n## How to use it\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\nslush hexo-theme\n```\n\n**It will not automatically overwrite an existing file. Overwrites are confirmed with the user.**\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 to your main blog directory\n4. `hexo server --debug`\n\n## Hexo renderers\n\nIt might be necessary to goto the blog directory and install a specific renderer for the template language you have chosen. Swig are built into Hexo.\n\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---\n\n## Help!\n\n+ hexo gitter chat https://gitter.im/hexojs/hexo\n+ [post an issue](https://github.com/tcrowe/slush-hexo-theme/issues)\n\n---\n\n## Contribute\n\nIt's a community project. Want to help?\n\n+ Fix a [bug](https://github.com/tcrowe/slush-hexo-theme/issues)\n+ GitHub star ⭐\n+ `npm star slush-hexo-theme`\n+ Do we need to implement any helpers? https://hexo.io/docs/helpers.html\n\nKnow another template language hexo users need?\n\n1. Fork\n2. Copy an existing template directory\n3. Port it to the new language\n4. Test\n5. Create pull request\n\n---\n\n### Development\n\n```sh\n# test the development build\n# it's faster than prd script\nnpm run dev\n\n# build before publishing\n# prd = production build\nnpm run prd\n\n# clean up the test site\nnpm run clean\n```\n\n`npm run prd` does everything needed:\n\n+ clean\n+ link\n+ test\n\nIf you want to add a template language please copy one and port it so it keeps roughly the same structure.\n\n---\n\n## Thank you contributors\n\n+ [moosoul](https://github.com/moosoul)\n+ [jonashao](https://github.com/jonashao)\n\n## Resources\n\n+ Theme docs https://hexo.io/docs/themes.html\n+ Submit your theme https://github.com/hexojs/hexo-theme-unit-test\n+ Slush docs http://slushjs.github.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcrowe%2Fslush-hexo-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcrowe%2Fslush-hexo-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcrowe%2Fslush-hexo-theme/lists"}