{"id":13431082,"url":"https://github.com/iTimeTraveler/hexo-theme-hipaper","last_synced_at":"2025-03-16T06:32:13.335Z","repository":{"id":41466000,"uuid":"74432479","full_name":"iTimeTraveler/hexo-theme-hipaper","owner":"iTimeTraveler","description":"A fashional newspaper theme for Hexo.","archived":false,"fork":false,"pushed_at":"2022-08-24T07:49:11.000Z","size":17261,"stargazers_count":247,"open_issues_count":44,"forks_count":75,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-20T09:18:40.105Z","etag":null,"topics":["hexo","hexo-theme"],"latest_commit_sha":null,"homepage":"https://itimetraveler.github.io/hexo-theme-hipaper/","language":"Stylus","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/iTimeTraveler.png","metadata":{"files":{"readme":"README.cn.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":"2016-11-22T03:57:12.000Z","updated_at":"2024-05-20T09:18:40.106Z","dependencies_parsed_at":"2022-08-13T01:10:09.792Z","dependency_job_id":null,"html_url":"https://github.com/iTimeTraveler/hexo-theme-hipaper","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/iTimeTraveler%2Fhexo-theme-hipaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTimeTraveler%2Fhexo-theme-hipaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTimeTraveler%2Fhexo-theme-hipaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iTimeTraveler%2Fhexo-theme-hipaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iTimeTraveler","download_url":"https://codeload.github.com/iTimeTraveler/hexo-theme-hipaper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221656503,"owners_count":16858784,"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-theme"],"created_at":"2024-07-31T02:01:00.366Z","updated_at":"2025-03-16T06:32:13.320Z","avatar_url":"https://github.com/iTimeTraveler.png","language":"Stylus","funding_links":[],"categories":["Content"],"sub_categories":[],"readme":"# Hipaper\n\n[![Gitter](https://camo.githubusercontent.com/079d8764b5eebffbb7158fb375df0959029ab2c3/68747470733a2f2f6261646765732e6769747465722e696d2f6865786f2d7468656d652d696e6469676f2f4c6f6262792e737667)](https://gitter.im/hexo-theme-hiker/Lobby?utm_source=share-link\u0026utm_medium=link\u0026utm_campaign=share-link)             [![Build Status](https://travis-ci.org/iTimeTraveler/hexo-theme-hipaper.svg?branch=master)](https://travis-ci.org/iTimeTraveler/hexo-theme-hipaper)\t\t[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/iTimeTraveler/hexo-theme-hipaper/blob/master/LICENSE)\n\n\n**A fashional newspaper, blog theme for Hexo**. [**☞ 点击预览**](https://itimetraveler.github.io/hexo-theme-hipaper/)  |  [**Hipaper问题交流**](https://gitter.im/hexo-theme-hiker/Lobby?utm_source=share-link\u0026utm_medium=link\u0026utm_campaign=share-link)\n\n\n![](https://raw.githubusercontent.com/iTimeTraveler/iTimeTraveler.github.io/master/gallery/hipaper-demo-screen.png)\n\n![](https://raw.githubusercontent.com/iTimeTraveler/hexo-theme-hipaper/master/source/preview/mobile-preview.png)\n\n![](https://raw.githubusercontent.com/iTimeTraveler/hexo-theme-hipaper/master/source/preview/hipaper-preview.png)\n\n\n\u003c!--more--\u003e\n\n## 安装步骤\n\n 1. 从Github上获取源码\n\n ```shell\n $ git clone https://github.com/iTimeTraveler/hexo-theme-hipaper.git themes/hipaper\n ```\n 2. 启用主题\n\n 把Hexo主目录下 `_config.yml` 文件中的`theme`字段改为 `hipaper`，如下：\n ```\n # Extensions\n ## Plugins: http://hexo.io/plugins/\n ## Themes: http://hexo.io/themes/\n theme: hipaper\n ```\n 3. 更新到最新\n\n ```shell\n $ cd themes/hipaper\n $ git pull\n ```\n\n\n\n## 特性\n\n\n### 支持图片Logo\n\n就像下面这样：\n\n![](https://raw.githubusercontent.com/iTimeTraveler/hexo-theme-hipaper/master/source/preview/logo-preview.jpg)\n\n只用在hipaper/_config.yml中设置 `avatar`字段的`eanble`为true，然后设置图片的`url`就好了。\n\n```yml\n# Put your avatar.jpg into `hexo-site/themes/hipaper/source/` directory.\n# url is target link (E.g. `url: https://hexo.io/logo.svg` or `url: css/images/mylogo.jpg`)\navatar: \n  enable: true\n  width: 124\n  height: 124\n  bottom: 10\n  url: https://hexo.io/logo.svg\n```\n\n\n\n### 代码高亮\n\nHipaper 使用 [Tomorrow Theme](https://github.com/chriskempson/tomorrow-theme) 作为代码主题. 共有以下六种选项: `default`, `normal`, `night`, `night blue`, `night bright`, `night eighties`\n\n![code `default` theme Preview](https://raw.githubusercontent.com/iTimeTraveler/hexo-theme-hipaper/master/source/preview/code-theme-default.png)\n\n默认高亮配色如上图， 另外的五种配色如下.\n\n![code themes](https://raw.githubusercontent.com/iTimeTraveler/hexo-theme-hipaper/master/source/preview/code-theme.jpg?raw=true)\n\n您可以在本主题的 hipaper/_config.yml 文件中更改 `highlight_theme` 字段.\n\n```yml\n# Code Highlight theme\n# Available value:\n#    default | normal | night | night eighties | night blue | night bright\n# https://github.com/chriskempson/tomorrow-theme\nhighlight_theme: default\n```\n\n\n\n### 侧边栏\n\n主题_config.yml文件中的 `sidebar` 字段可以设置为 `left`或`right`，用来控制侧边栏显示在页面左侧还是右侧。\nHipaper 拥有以下7种侧边栏组件:\n\n- search （搜索框）\n- social （社交网站链接）\n- recent_posts （最新文章）\n- category （分类）\n- tag （标签）\n- tagcloud （标签云）\n- archive （归档栏）\n\n以上组件在主题中均已默认启用.您可以在 `widget` 字段中设置显示哪些以及顺序。\n\n\n### 站内搜索\n\nHipaper 使用 `Insight Search` 来帮助大家使用站内搜索.\n\n![](https://raw.githubusercontent.com/iTimeTraveler/hexo-theme-hipaper/master/source/preview/search-preview.png)\n\n```yml\n# Search\nsearch:\n    insight: true # you need to install `hexo-generator-json-content` before using Insight Search\n    swiftype: # enter swiftype install key here\n    baidu: false # you need to disable other search engines to use Baidu search, options: true, false\n```\n\n\u003e ！！注意: 使用搜索工具之前您必须使用 `hexo-generator-json-content` 来安装，在Hexo根目录下执行命令如下：\n\n```bash\n$ npm install -S hexo-generator-json-content\n```\n\n\n### Fancybox\n\nHipaper 使用 [Fancybox] 来提供文章图片预览.\n\n```\n![img caption](img url)\n\n{% fancybox img_url [img_thumbnail] [img_caption] %}\n```\n\n### 评论功能\n\nHipaper 已完全支持原生的多说、 Disqus评论功能. 您可以在 `hipaper/_config.yml` 文件中更改以下字段:\n\n```yml\n# comment ShortName, you can choose only ONE to display.\nduoshuo_shortname: iTimeTraveler\ndisqus_shortname:\n```\n\n\n\n## 支持的浏览器\n\n![](https://raw.githubusercontent.com/iTimeTraveler/hexo-theme-hipaper/master/source/preview/browser-support.png?raw=true)\n\n\n\n## 贡献\n\n\u003e 本主题源于Wordpress作者 ATHEMES, 原生主题点击查看 [FASHIONISTA for Wordpress](http://athemes.com/theme/fashionista/).\n\n大家有各种问题和改进建议的，直接提issue或者评论，或者pull request都行。我会尽量抽时间和大家交流。刚接触Hexo不久，疏忽不足之处，还望大家海涵！\n\n\n## License\n\nHipaper is under the MIT license. See the [LICENSE](https://github.com/iTimeTraveler/hexo-theme-hipaper/blob/master/LICENSE) file for details.\n\n\n[Hexo]: https://hexo.io/\n[Fancybox]: http://fancyapps.com/fancybox/\n[Font Awesome]: http://fontawesome.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FiTimeTraveler%2Fhexo-theme-hipaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FiTimeTraveler%2Fhexo-theme-hipaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FiTimeTraveler%2Fhexo-theme-hipaper/lists"}