{"id":17230008,"url":"https://github.com/jiangtj/hexo-extend-theme","last_synced_at":"2025-04-14T01:42:22.758Z","repository":{"id":57121243,"uuid":"177597940","full_name":"jiangtj/hexo-extend-theme","owner":"jiangtj","description":":candy: very very  simple plugin, only replace theme file to a custom file.","archived":false,"fork":false,"pushed_at":"2020-08-13T09:03:31.000Z","size":32,"stargazers_count":14,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T15:52:33.948Z","etag":null,"topics":["hexo","hexo-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiangtj.png","metadata":{"files":{"readme":"README-ZH.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":"2019-03-25T14:02:30.000Z","updated_at":"2025-03-09T06:13:41.000Z","dependencies_parsed_at":"2022-08-24T07:40:35.543Z","dependency_job_id":null,"html_url":"https://github.com/jiangtj/hexo-extend-theme","commit_stats":null,"previous_names":["jiangtj/hexo-theme-plus"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiangtj%2Fhexo-extend-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiangtj%2Fhexo-extend-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiangtj%2Fhexo-extend-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiangtj%2Fhexo-extend-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiangtj","download_url":"https://codeload.github.com/jiangtj/hexo-extend-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809044,"owners_count":21164895,"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":["hexo","hexo-plugin"],"created_at":"2024-10-15T04:52:10.822Z","updated_at":"2025-04-14T01:42:22.736Z","avatar_url":"https://github.com/jiangtj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hexo Theme Plus\n\n[![README](https://img.shields.io/badge/README-ENGLISH-blue.svg?style=popout-square)](README.md)\n[![npm](https://img.shields.io/npm/v/@jiangtj/hexo-extend-theme.svg?style=popout-square)](https://www.npmjs.com/package/@jiangtj/hexo-extend-theme)\n\n这是个很简单的插件.唯一的工作是替换掉在`layout`文件夹下的主题文件.\n\n## 如何使用?\n\n```bash\nyarn add @jiangtj/hexo-extend-theme\n```\n\n在自定义路径(默认`custom/theme`)的文件将替换掉在`layout`文件夹下相同路径的主题文件.你可以设定一个其它路径:\n```yml\ntheme_plus:\n  custom_path: custom/theme # disabled: set 'false'\n```\n\n在hexo的`_config.yml`中,你可以特别的指定一个文件替换:\n```yml \ntheme_plus:\n  views:\n    path: 'layout.ejs'\n    file: 'custom/layout.ejs'\n# or\ntheme_plus:\n  views:\n    - path: 'index.ejs'\n      file: 'custom/index.ejs'\n    - path: 'layout.ejs'\n      file: 'custom/layout.ejs'\n```\n\n## 需要注意点\n\n- 替换文件中如果存在文件路径，可能会导致渲染出错\n- 无法监听文件修改，如果修改自定义文件，需重新运行`hexo s`才能查看变化\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiangtj%2Fhexo-extend-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiangtj%2Fhexo-extend-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiangtj%2Fhexo-extend-theme/lists"}