{"id":13430746,"url":"https://github.com/sabrinaluo/hexo-theme-replica","last_synced_at":"2025-03-16T06:31:10.007Z","repository":{"id":82441383,"uuid":"48120060","full_name":"sabrinaluo/hexo-theme-replica","owner":"sabrinaluo","description":":octocat:Github style replication for hexo theme","archived":false,"fork":false,"pushed_at":"2020-10-28T13:19:19.000Z","size":80,"stargazers_count":535,"open_issues_count":5,"forks_count":64,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-20T09:17:13.100Z","etag":null,"topics":["github-style","hexo","hexo-theme","hexo-theme-github"],"latest_commit_sha":null,"homepage":"https://sabrinaluo.github.io/tech","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sabrinaluo.png","metadata":{"files":{"readme":"README.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-12-16T15:55:11.000Z","updated_at":"2024-05-18T16:07:06.000Z","dependencies_parsed_at":"2023-06-15T17:30:20.049Z","dependency_job_id":null,"html_url":"https://github.com/sabrinaluo/hexo-theme-replica","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabrinaluo%2Fhexo-theme-replica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabrinaluo%2Fhexo-theme-replica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabrinaluo%2Fhexo-theme-replica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sabrinaluo%2Fhexo-theme-replica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sabrinaluo","download_url":"https://codeload.github.com/sabrinaluo/hexo-theme-replica/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221656363,"owners_count":16858754,"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":["github-style","hexo","hexo-theme","hexo-theme-github"],"created_at":"2024-07-31T02:00:57.350Z","updated_at":"2024-10-27T09:30:43.664Z","avatar_url":"https://github.com/sabrinaluo.png","language":"HTML","funding_links":[],"categories":["Content"],"sub_categories":[],"readme":"# Replica [![LICENSE MIT](https://img.shields.io/badge/LICENSE-MIT-blue.svg)](https://opensource.org/licenses/MIT)\nGithub style replication for hexo theme. \n\n*If you are using Gatsby, kindly check https://github.com/sabrinaluo/gatsby-theme-replica*\n\nBecause we love octocat! :two_hearts:\n[Click here to view the demo site](//sabrinaluo.github.io/tech)\n\nIssues \u0026 Contributions are welcome! :stuck_out_tongue:\n\n## Version\n#### v1.0  \nGithub UI before 2017, which uses the grey navbar\n\n#### v2.0 (~~in progress~~) lack of maintenance\nGithub UI in 2017, which uses the black navbar\n\n## Setup\n#### Install\n```\ngit clone git@github.com:sabrinaluo/hexo-theme-replica.git themes/replica\n```\nor\n```\ngit clone https://github.com/sabrinaluo/hexo-theme-replica.git themes/replica\n```\n\n#### Configure\nSet `theme: replica` in `_config.yml` (the one in your root folder)\n\n**PLEASE NOTE** \nModifying `blog_root/themes/replica/_config.yml` directly is **NOT** recommended.  \nIt's suggested to configure your site through `blog_root/_config.yml` **(root folder).**\n\nHere is a sample of `blog_root/_config.yml`\n\u003cdetails\u003e\n\u003csummary\u003eCLICK ME\u003c/summary\u003e\n\u003cp\u003e\n\n``` yml\n# Hexo Configuration\n## Docs: http://hexo.io/docs/configuration.html\n## Source: https://github.com/hexojs/hexo/\n\n# Site\ntitle: My Blog\ndescription: My Blog Description\nauthor: HiiTea\nlanguage: zh-CN\ntimezone: Asia/Shanghai\nfavicon: https://assets-cdn.github.com/favicon.ico\n\n# URL\n## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'\nurl: http://sabrinaluo.com/tech\nroot: /tech/\npermalink: :year/:month/:day/:title/\npermalink_defaults:\n\n# Directory\nsource_dir: source\npublic_dir: public\ntag_dir: tags\narchive_dir: archives\ncategory_dir: categories\ncode_dir: downloads/code\ni18n_dir: :lang\nskip_render:\n\n# Writing\nnew_post_name: :year:month:day-:title.md # File name of new posts\ndefault_layout: post\ntitlecase: false # Transform title into titlecase\nexternal_link: true # Open external links in new tab\nfilename_case: 0\nrender_drafts: false\npost_asset_folder: false\nrelative_link: false\nfuture: true\nhighlight:\n  enable: true\n  line_number: true\n  auto_detect: false\n  tab_replace:\n\n# Category \u0026 Tag\ndefault_category: uncategorized\ncategory_map:\ntag_map:\n\n# Date / Time format\n## Hexo uses Moment.js to parse and display date\n## You can customize the date format as defined in\n## http://momentjs.com/docs/#/displaying/format/\ndate_format: YYYY-MM-DD\ntime_format: HH:mm:ss\n\n# Pagination\n## Set per_page to 0 to disable pagination\nper_page: 0\npagination_dir: page\n\n# Extensions\n## Plugins: http://hexo.io/plugins/\n## Themes: http://hexo.io/themes/\ntheme: replica\n\n# Google Analytics\nga: # GA code UA-XXXXXXXX-X\n\n#marked setting for markdown\nmarked:\n  gfm: true\n  pedantic: false\n  sanitize: false\n  tables: true\n  breaks: true\n  smartLists: true\n  smartypants: true\n\ngcs: # GOOGLE CUSTOM SEARCH\nbaidutongji: # BAIDU TONGJI CODE\ndisqus: # DISQUS ID\n\nlocation: Hong Kong\nemail: xx@example.com\n\navatar: https://avatars2.githubusercontent.com/u/5300359?v=4\u0026s=460\nsocial:\n  github: https://github.com/sabrinaluo\n  weibo: http://weibo.com/206663121\n  linkedin:\n\n# flagcounter\nflagcounter_href: # https://info.flagcounter.com/xxxx\nflagcounter_img_src: # https://s01.flagcounter.com/xxxx\n```\n\n#### Update\n``` bash\ncd themes/replica\ngit pull\n```\n\nIn case you want the old version with grey navbar\n``` bash\ncd themes/replica\ngit checkout 1.0 # AKA `git checkout -b 1.0 origin/1.0`\n```\n\u003c/p\u003e\n\u003c/details\u003e\n\n## Available Widgets\n~~多说~~ (Duoshuo stopped the service since June, 2017)  \n百度统计  \nDisqus  \nGoogle Analytics  \nGoogle Custom Search Engine[^1]\n\n## FAQ\n#### Q: How can I use category and tag?\nA: Create below files under `source` folder:\n\n`blog_root/source/categories/index.md`:\n\n```\n---\ntitle: categories\ndate: 2016-01-21 18:46:15\n---\n```\n\n`blog_root/source/tags/index.md`:\n\n```\n---\ntitle: tags\ndate: 2016-01-21 18:45:55\n---\n```\n\n## License\nThe MIT License[^2]\n\nCopyright (c) 2015-2019 Hiitea \u003cluohaojing@gmail.com\u003e\n\n[^1]: https://cse.google.com/\n[^2]: https://opensource.org/licenses/MIT\n\n## Buy me coffee :yum:\nBTC: 19U6USzi7WaFmY3DTkgn67EzYpTqZPNwRG  \n![image](https://user-images.githubusercontent.com/5300359/30433338-cb7a9e48-9996-11e7-8e17-55f582b56e48.png)\n\n[![Coffee Fund](https://user-images.githubusercontent.com/5300359/53497706-baf13a00-3adf-11e9-8223-5aa1c63b8779.png)](https://user-images.githubusercontent.com/5300359/53497706-baf13a00-3adf-11e9-8223-5aa1c63b8779.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabrinaluo%2Fhexo-theme-replica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsabrinaluo%2Fhexo-theme-replica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsabrinaluo%2Fhexo-theme-replica/lists"}