{"id":13430634,"url":"https://github.com/Haojen/hexo-theme-Anisina","last_synced_at":"2025-03-16T06:30:48.691Z","repository":{"id":55468320,"uuid":"59824665","full_name":"Haojen/hexo-theme-Anisina","owner":"Haojen","description":":art: A simple responsive, support qiniu image cdn theme for hexo https://haojen.github.io/ ","archived":false,"fork":false,"pushed_at":"2021-03-17T12:22:57.000Z","size":2295,"stargazers_count":766,"open_issues_count":13,"forks_count":155,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-05-20T09:16:01.968Z","etag":null,"topics":["blog","haojen","hexo","hexo-theme"],"latest_commit_sha":null,"homepage":"","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haojen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"liberapay":"haojenma","custom":"https://paypal.me/haojenma"}},"created_at":"2016-05-27T09:57:08.000Z","updated_at":"2024-05-17T07:41:47.000Z","dependencies_parsed_at":"2022-08-15T01:00:59.625Z","dependency_job_id":null,"html_url":"https://github.com/Haojen/hexo-theme-Anisina","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/Haojen%2Fhexo-theme-Anisina","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haojen%2Fhexo-theme-Anisina/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haojen%2Fhexo-theme-Anisina/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haojen%2Fhexo-theme-Anisina/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haojen","download_url":"https://codeload.github.com/Haojen/hexo-theme-Anisina/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221656321,"owners_count":16858742,"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":["blog","haojen","hexo","hexo-theme"],"created_at":"2024-07-31T02:00:55.970Z","updated_at":"2024-10-27T09:30:27.504Z","avatar_url":"https://github.com/Haojen.png","language":"EJS","funding_links":["https://liberapay.com/haojenma","https://paypal.me/haojenma"],"categories":["Content","others"],"sub_categories":[],"readme":"# Anisina\n\n\u003ca href=\"https://haojen.github.io/2017/05/09/Anisina-%E4%B8%AD%E6%96%87%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/\"\u003e点击查看中文使用教程\u003c/a\u003e\n\n\u003e simple / grace / friendly\n\n\u003cimg src=\"./Screenshots/Anisina.png\" /\u003e\n\n\n## Update Log\n\n### Anisina V3.3 (2018-11-07) \n\n- Support Mathjax\n\n### Anisina V3.2 (2018-07-16) \n\n- Support [Valine](https://valine.js.org/) comment system\n\n### Anisina V3.1 (2017-05-9)\n\n- Add Livere disqus (in your `_config.yml` add `use_livere: true` , and config you livere uid `livere_uid: hereIsYourLivereID`, here is Livere website \u003ca href=\"https://livere.com/\"\u003ego to livere \u003c/a\u003e, and remember clear you another disqus system, like duoshuo.)\n\n### Anisina v3 (2016-09-4)\n\n- Fix Index Pages Http Security Tips\n- Add More Animation\n- Support Web Emoji , here is [use guide](http://haojen.github.io/2016/09/03/Emoji-Demo/) , is very simple.\n- Support Favicon , you can in `_config.yml` add `favicon: yourImagesPath.png`\n- Font Style Adjust\n- Post page Toc Adjust\n- Bug Fix\n\n### Anisina v2.01 （2016-08-07）\n\n- Support Double Click Navbar Scroll To Page Top\n- Support Swiftfy Search\n- Support Friends Links\n- Support Single Post Switch CDN Images ToTother Links\n- Support Safari \u0026 Chrome Color Header Bar\n- Support Preview Statistical\n- Bug Fix\n\n#### Adjust\n\n1. wechat title will auto use header images\n2. home post margin adjust\n3. home post title font style adjust\n4. avatar path use absolute url\n\n#### thanks\n\nthanks @刘晓婉 PR \nthanks @HipHopCoderS PR :) and all users\n\n##### Known issues\n\n1. in wechat web view double click navbar can't scroll top ( cause wechat have doubleclick nav title return page top function )\n\n\n### Anisina v1.02 (2016-06-02)\n- bug fix\n- adjust post title text shadow\n- change header img path , now you can use `http://somepath.png`,or use hexo default `img`path: `img/demo.png`\n- adjust post subtitle font size\n\n## Summary\n\t\n- [General](#general)\n- [Features](#features)\n- [install](#install)\n- [Quick start](#quick-start)\n- [About](#about)\n- [License](#license)\n\n## General\n\n- **Author** : Haojen Ma\n- **Version** : 2.0\n- **Compatibility** : Hexo 3 or later\n\n## Features\n\n- Fully responsive\n- Support Qiniu images CDN \n- Support Toc\n- Duoshuo\n- Disqus\n- Googe analytics\n- Baidu analytics\n- SEO\n- Immersive status bar\n- Search\n- Preview Statistical\n\n### Install\n\n1. Init\n\n\tFirst enter your hexo root folder, then execute the follwing commands\n\n\t\tgit clone https://github.com/Haojen/hexo-theme-Anisina.git themes/Anisina\n\t\t\n\n2. Modify ```_config.yml```file with your own info. look like this :\n\n\t\tthemes: Anisina\n\n\tHere theme's name must same as the theme folder name.\n\t\n3. Or you can copy my theme Anisina `_config.yml` into you hexo blog directory ,  replace default `_config.yml`\n\n4. This all , hope you like :)\n\n\n## Quick Start\n\n### General\n\nYou can easily get stared by modifying ```config.yml```\n\t\n\tSite settings\n\ttitle: Anisina Blog             # title of your website\n\tSEOTitle: Anisina Blog          # check out docs for more detail\n\tdescription: \"Cool Blog\"    \n\t\n\tSNS settings      \n\tgithub_username: haojen     # modify this account to yours\n\tweibo_username: haojen      # the footer woule be auto-updated.\n\t\n\tcdn-url: \"http://your-cdn.com/\"      # images cdn path\n\t\n\t# Qiniu imageView2 API\n\tclip-content: \"?imageView2/1/w/1400/h/400/interlace/1/q/90\"\n\tclip-avatar: \"?imageView2/2/w/300/h/300/interlace/1/q/90\"\n\tclip-post: \"?\" # you can custom post width and height\n\tclip-home-post-bg: \"?imageView2/1/w/800/h/300/interlace/1/q/70\"\n\n\t#post default images\n\tpost-default-img: post-default.jpg\n\t\n\t# friends\n\tfriends: [\n\t\t{\n\t\t\ttitle: \"your friend title\",\n\t\t\thref: \"your fiend path\"\n\t\t},\n\t\t{\n\t\t\ttitle: \"your friend title 2\",\n\t\t\thref: \"your friend path 2\"\n\t\t}\n\t] \n\t\n#### Create Tag page\n\n1. use hexo command `hexo new page \"Tags\"`\n2. then open `yourblog/source` folder , find `Tags/index.md`, set `layout: tags`\n3. after use hexo command reset hexo `hexo clean \u0026\u0026 hexo g` , all done : )\n\n#### Create Categories page\n\n1. use hexo command `hexo new page \"Categories\"`\n2. then open `yourblog/source` folder, find `Categories/index.md`, set `layout: categories`\n3. after use hexo command reset hexo `hexo clean \u0026\u0026 hexo g`, all done :)\n\n\n#### \tcdn-url\n\nSupport qiniu images cdn or you custom others, before use this, you need set you own cdn images root path paste of here. \n\n1. set your cdn-url,in your own ```_config.yml``` , set ```cdn-url``` your own path\n\t\n\t\tcdn-url: http://you-cdn.com/\n\n2. update your images to cdn library\n\n3. in post **front-matter** set your images name\n\n\t\t header-img: some-images.png\n\t\nin browser,  img src or background-url  will be look like ```http://you-cdn.com/icon-wechat.png``` or ```http://you-cdn.com/header-img```, etc.\n\t\nif you don't need cdn , the default path is hexo ```source/img```folder.\n\n#### clip-*\nqiniu imageView2 API\n\nif you wannat to use , you must be configuration cdn-url of qiniu.\nabout qiniu imageView2 API more info please [click here](http://developer.qiniu.com/code/v6/api/kodo-api/image/imageview2.html)\n\n#### Analytics\n\nGoogle Analytics and Baidu Tongji simple config:\n\n\t#Baidu Analytics**\n\tba_track_id: 4cc1f2d8f3067386cc5cdb626a202900\n\n\t#Google Analytics\n\tga_track_id: 'UA-49627206-1'            # Format: UA-xxxxxx-xx\n\tga_domain: huangxuan.me\n\nJust checkout the code offered by Google/Baidu, and copy paste here, all the rest is already done for you.\n\n#### Comment\n\nThis theme support both Disqus and Duoshuo as the third party discussion system.\n\nFirst, you need to sign up and get your own account. Repeat, DO NOT use mine! (I have set Trusted Domains) It is deathly simple to sign up and you will get the full power of management system. Please give it a try!\n\nSecond,  you can easily complete your comment configuration by just adding your short name into _config.yml:\n\n\tduoshuo_username: _your_duoshuo_short_name_\n\t# OR\n\tdisqus_username: _your_disqus_short_name_\n\t\nFurthermore, Duoshuo support Sharing. if you only wanna use Duoshuo comment without sharing, you can set duoshuo_share: false. You can use Duoshuo Sharing and Disqus Comments together also.\n\n#### Featured Tags\n\n\tfeatured-tags: true  \n\tfeatured-condition-size: 1     # A tag will be featured if the size of \tit is more than this condition value\n\n#### Mini About Me\n\n\t# Sidebar settings\n\tsidebar: true\n\tsidebar-about-description: \"your description here\"\n\tsidebar-avatar: avatar-hux.jpg     \n\nMini-About-Me module display all your SNS buttons also your avatar and the description if you set sidebar-avatar and sidebar-about-description which is very useful and common for a sidebar so it is default with your sidebar.\n\nIt is really nice-looking and well-designed. It would be hidden in a small screen seeing the sidebar would be push to bottom and there is already a footer including SNS feature which is similar.\n\n#### RSS\n\nYou can install plugin 'hexo-generator-feed' execute following command:\n\tnpm install hexo-generator-feed --save\nif you have already install it, Once you generate static page, atom.xml can auto generation.\n\n\nthen you add your configuration in _config_yml like this:\n\tplugins: \n\t\thexo-generator-feed\t#RSS订阅插件\n\tlinks: #添加链接信息\n\t\tFeed: atom.xml\n\nif you want to add label RSS in SNS,you also can append configuration like the belowing behind the 'SNS settings':\n\tRSS: true\n\n### Post\n\nThe **front-matter** of a post looks like that:\n\n\t---\n\tlayout: post\n\ttitle: \"Hola 2016\"\n\tsubtitle: \"hi, I'm haojen ma\"\n\tdate: 2016-05-26 06:00\n\tauthor: \"Haojen Ma\"\n\theader-img: \"img/post-default.jpg\"\n\tcdn: 'header-on'\n\ttags:\n\t\t- Movies\n\t\t- Life\n\t---\n\t\n#### Create a post\n\t\n\thexo new \"your-post-name\"\n\t\nthey will be create a new post in Hexo ```source/_posts``` folder\n\nif your like chinese poetry , you can try  ```poetry``` layout ,they will be cool\n\n\thexo new poetry 'your-poetry-name'\n\t\n A poetry demo\n \n![poetry-demo](./Screenshots/poetry-show.png)\n\n#### Header-img\n\npost header images.\nif you don't have set ,this will use post default header images.\n\n\t\n#### cdn (V2.0 New Feature)\n\nuse cdn tag switch single post cdn ,like this:\n\n\tcdn: 'header-off' \n\theader-img: \"http://www.imagestest.com/god.png\"\n\t\nthis will turn off cdn , and use your custom url\n\t\nwhen your share post to wechat moments , this post images will show here,\nif you don't have set ,this will use post header images(make sure you have set a default image )\n\n## About\n\n- Give is a Star if you like , fork or jest clone to use ,\nand also you can help me fix bugs and add new feature :)\n- if you have any problem or requirement , just open an issue here and i will help you.\n- thanks kaijun and hux.\n\n## License\nApache License Version 2.0\n\n\n## And my another Hexo theme\nThis it [Hexo-theme-Claudia](https://github.com/Haojen/hexo-theme-Claudia), hope you like it!\n\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHaojen%2Fhexo-theme-Anisina","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHaojen%2Fhexo-theme-Anisina","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHaojen%2Fhexo-theme-Anisina/lists"}