Package Exports
- hexo-steam-games
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hexo-steam-games) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hexo-steam-games

介绍
为Hexo添加Steam游戏库页面
安装
$ npm install hexo-steam-games --save配置
将下面的配置写入站点的配置文件 _config.yml 里(不是主题的配置文件).
steam:
enable: true
steamId: '*****' #steam 64位Id
title: Steam游戏库
quote: '+1+1+1+1+1'
tab: recent
length: 1000
proxy:
host:
port:- enable: 是否启用
- steamId: steam 64位Id(需要放在引号里面,不然会有BUG), 需要将steam库设置为公开!
- title: 该页面的标题
- quote: 写在页面开头的一段话,支持html语法
- tab:
all或recent,all: 所有游戏,recent: 最近游玩的游戏 - length: 要显示游戏的数量,游戏太多的话可以限制一下
- proxy: 如果无法访问steam社区的话请使用代理
- host: 代理ip或域名
- port: 代理端口
使用
- 前往你的 Hexo 博客的根目录
- 输入
hexo new page steamgames - 你会找到
source/steamgames/index.md这个文件 - 修改这个文件,添加
type: "steamgames":
---
title: steamgames
date: 2018-01-05 00:00:00
type: "steamgames"
---示例
