{"id":13431357,"url":"https://github.com/xzhih/hexo-theme-casper","last_synced_at":"2025-04-06T12:32:15.726Z","repository":{"id":58761349,"uuid":"110878221","full_name":"xzhih/hexo-theme-casper","owner":"xzhih","description":"New casper theme ported to hexo. ","archived":false,"fork":false,"pushed_at":"2020-04-30T09:57:46.000Z","size":1438,"stargazers_count":144,"open_issues_count":9,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-20T09:19:26.535Z","etag":null,"topics":["casper-port","hexo","hexo-theme-casper","highlight","valine-comment"],"latest_commit_sha":null,"homepage":"https://zhih.me","language":"JavaScript","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/xzhih.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-15T19:40:31.000Z","updated_at":"2024-05-14T13:50:15.000Z","dependencies_parsed_at":"2022-09-08T04:00:47.161Z","dependency_job_id":null,"html_url":"https://github.com/xzhih/hexo-theme-casper","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/xzhih%2Fhexo-theme-casper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzhih%2Fhexo-theme-casper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzhih%2Fhexo-theme-casper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzhih%2Fhexo-theme-casper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xzhih","download_url":"https://codeload.github.com/xzhih/hexo-theme-casper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247484462,"owners_count":20946388,"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":["casper-port","hexo","hexo-theme-casper","highlight","valine-comment"],"created_at":"2024-07-31T02:01:02.472Z","updated_at":"2025-04-06T12:32:15.158Z","avatar_url":"https://github.com/xzhih.png","language":"JavaScript","funding_links":[],"categories":["Content"],"sub_categories":[],"readme":"hexo-theme-casper\n===\n\nA new [Ghost's Casper theme](https://github.com/TryGhost/Casper) port to [Hexo](https://hexo.io).\n\nDEMO [here](https://xzhih.github.io/hexo-theme-casper/)\n\nMy Blog [zhih.me](https://zhih.me/)\n\nThis is a simple and beautiful hexo theme.\n\nWhen I was searching `beautiful hexo themes`, I saw the old version of Casper port to Hexo, but the latest not. So I decided that I would port it.\n\n[中文版安装说明](https://zhih.me/hexo-casper-usage/)\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [Features](#features)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Copyright \u0026 License](#copyright--license)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n![hexo-theme-casper.jpg](https://i.loli.net/2018/11/05/5be0665656ea9.jpg)\n\n## Features\n\n- Posts cover image\n- Posts feature image\n- Customized navigation menu \n- Customized favicon, logo, header image, author image\n- Social links ( now support FB, TT、github、bilibili、YouTube、weibo) \n- 3 widgets ( I think no need more )\n- Tag, Category, TOC \n- Pagination\n- Syntax Highlighting \n- Responsive Web Design\n- Lazy load\n- Local search\n- Valine comment\n- Chrome Nav Color\n- Baidu Push Google Analytics\n- Service Worker\n- MacOS、IOS and Android dark mode (Safari、Chrome)\n\n## Installation\n\n**Install**\n\n```\ngit clone https://github.com/xzhih/hexo-theme-casper.git themes/hexo-casper\n```\n\n**Enable**\n\nModify `theme` in `_config.yml` to `hexo-casper` .\n\n**Update**\n\nYou'd better backup old file first.\n\n```\ncd themes/casper \ngit pull\n```\n\n**Front-matter**\n\nAdd to `scaffolds/post.md`, \n\n```\ncover_img:     # show in home page, the post card header\nfeature_img:   # show in post page, content header\ndescription: \nkeywords: \n```\n\n**Valine comment**\n\n[https://valine.js.org](https://valine.js.org)\n\n**PS: Add about page**\n\n```\nhexo new page about\n```\n\n## Configuration\n\nEdit `themes/hexo-casper/_config.yml` and set up what you want to show\n\n```yaml\n# Config\nrss:            # link\nfavicon: https://i.loli.net/2017/11/26/5a19c0b50432e.png\nblog_logo: \nheader_image: https://i.loli.net/2017/11/26/5a19c56faa29f.jpg\nbio: This is a demo\npost_toc: true\n\n# Keywords\nkeywords: hexo, casper, ghost, theme\n\n# Menu\nmenu:\n  ABOUT: /about\n  ARCHIVES: /archives\n  # you can add here\n\n# author\nauthor_image:   # link\nauthor_bio: \nauthor_location: \n\n# Social Links\nsocial:\n  weibo: https://weibo.com/xzhih\n  github: https://github.com/xzhih\n  twitter: https://twitter.com\n  facebook: https://facebook\n  telegram: \n  bilibili: \n  youtube: \n  # You only can use that I have added, I will keep adding\n\n# Footer Links\nfooter_text: \n  # title: link\n  # 粤ICP备xxxxxxx号-x: http://www.miitbeian.gov.cn\n  # 粤公网安备xxxxxxx号: http://www.beian.gov.cn\n\n# Widget\nwidgets:\n  recent_posts: true\n  category: true\n  tagcloud: true\n  # This is a simple theme, I think 3 is enough.\n\n# Gallery\n# https://github.com/dimsemenov/PhotoSwipe\nphotoswipe: true\n\n# LazyLoad\n# home page has enabled, this value is to post page\n# https://github.com/dinbror/blazy\nlazyload: true\n\n# Local Search\nlocal_search: true\n\n# Comment\n# https://valine.js.org\ncomment: false\nvaline:\n  notify: false # mail notifier , https://github.com/xCss/Valine/wiki \n  verify: false # Verification code\n  appId: # your leancloud application appid\n  appKey: # your leancloud application appkey\n  placeholder: Just go go # comment box placeholder\n  pageSize: 10 # pagination size\n  avatar: mm # gravatar style\n  visitor: true # page view record\n\n# PWA\n# you need create a manifest.json file in hexo's source folder\nmanifest: false\nservice_workers: false\n\nnavColor: '3c484e'\n\n# Baidu Push\nbaidu: false\n\n# Google Analytics\ngoogleAnalytics: false\nGA_TRACKING_ID: UA-XXXXXXXXXX-1\n\n```\n\n### Local Search\n\nhttps://github.com/wzpan/hexo-generator-search \n\nhttps://github.com/SuperKieran/hexo-generator-search-zip\n\n## [Copyright \u0026 License](https://github.com/TryGhost/Casper/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxzhih%2Fhexo-theme-casper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxzhih%2Fhexo-theme-casper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxzhih%2Fhexo-theme-casper/lists"}