forked from snowdreams1006/hexo-plugin-readmore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
253 lines (175 loc) · 14.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.9.0">
<meta charset="utf-8">
<title>readmore 插件官方文档</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="hexo-plugin-readmore 插件官方文档">
<meta name="keywords" content="hexo-plugin-readmore,gitbook-plugin-readmore,gitbook-plugin-openwrite,readmore,openwrite">
<meta property="og:type" content="website">
<meta property="og:title" content="readmore 插件官方文档">
<meta property="og:url" content="https://snowdreams1006.github.io/hexo-plugin-readmore/index.html">
<meta property="og:site_name" content="readmore 插件官方文档">
<meta property="og:description" content="hexo-plugin-readmore 插件官方文档">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="readmore 插件官方文档">
<meta name="twitter:description" content="hexo-plugin-readmore 插件官方文档">
<link rel="alternate" href="/hexo-plugin-readmore/atom.xml" title="readmore 插件官方文档" type="application/atom+xml">
<link rel="icon" href="/favicon.png">
<link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/hexo-plugin-readmore/css/style.css">
</head>
</html>
<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/hexo-plugin-readmore/" id="logo">readmore 插件官方文档</a>
</h1>
<h2 id="subtitle-wrap">
<a href="/hexo-plugin-readmore/" id="subtitle">快速整合 OpenWrite 平台提供的 readmore 公众号导流工具</a>
</h2>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"></a>
<a class="main-nav-link" href="/hexo-plugin-readmore/">Home</a>
<a class="main-nav-link" href="/hexo-plugin-readmore/archives">Archives</a>
</nav>
<nav id="sub-nav">
<a id="nav-rss-link" class="nav-icon" href="/hexo-plugin-readmore/atom.xml" title="RSS Feed"></a>
<a id="nav-search-btn" class="nav-icon" title="搜索"></a>
</nav>
<div id="search-form-wrap">
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="https://snowdreams1006.github.io/hexo-plugin-readmore"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-README" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/hexo-plugin-readmore/2019/10/11/README/" class="article-date">
<time datetime="2019-10-11T03:47:52.000Z" itemprop="datePublished">2019-10-11</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/hexo-plugin-readmore/2019/10/11/README/">首页</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<div id="vip-container"><h1 id="欢迎访问-hexo-plugin-readmore-官网-👋"><a href="#欢迎访问-hexo-plugin-readmore-官网-👋" class="headerlink" title="欢迎访问 hexo-plugin-readmore 官网 👋"></a>欢迎访问 hexo-plugin-readmore 官网 👋</h1><p><a href="https://www.npmjs.com/package/hexo-plugin-readmore" target="_blank" rel="noopener"><img src="https://img.shields.io/npm/v/hexo-plugin-readmore.svg" alt="npm:version"></a><br><a href="https://www.npmjs.com/package/hexo-plugin-readmore" target="_blank" rel="noopener"><img src="https://img.shields.io/npm/dt/hexo-plugin-readmore.svg" alt="npm:download"></a><br><a href="https://github.com/snowdreams1006/hexo-plugin-readmore#readme" target="_blank" rel="noopener"><img src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" alt="github:documentation"></a><br><a href="https://github.com/snowdreams1006/hexo-plugin-readmore/graphs/commit-activity" target="_blank" rel="noopener"><img src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" alt="github:maintenance"></a><br><a href="https://github.com/snowdreams1006/hexo-plugin-readmore/blob/master/LICENSE" target="_blank" rel="noopener"><img src="https://img.shields.io/npm/l/hexo-plugin-readmore.svg" alt="npm:license"></a><br><a href="https://github.com/snowdreams1006" target="_blank" rel="noopener"><img src="https://img.shields.io/badge/github-snowdreams1006-brightgreen.svg" alt="github:snodreams1006"></a><br><a href="https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg"><img src="https://img.shields.io/badge/%E5%BE%AE%E4%BF%A1%E5%85%AC%E4%BC%97%E5%8F%B7-%E9%9B%AA%E4%B9%8B%E6%A2%A6%E6%8A%80%E6%9C%AF%E9%A9%BF%E7%AB%99-brightgreen.svg" alt="微信公众号:雪之梦技术驿站-brightgreen.svg"></a></p>
<blockquote>
<p>Hexo 整合 OpenWrite 平台的 readmore 插件,实现博客的每一篇文章自动增加阅读更多效果,关注公众号后方可解锁全站文章,从而实现博客流量导流到微信公众号粉丝目的.</p>
</blockquote>
<h3 id="🏠-主页"><a href="#🏠-主页" class="headerlink" title="🏠 主页"></a>🏠 <a href="https://github.com/snowdreams1006/hexo-plugin-readmore#readme" target="_blank" rel="noopener">主页</a></h3><ul>
<li>Github : <a href="https://snowdreams1006.github.io/hexo-plugin-readmore/">https://snowdreams1006.github.io/hexo-plugin-readmore/</a></li>
<li>Gitee : <a href="https://snowdreams1006.gitee.io/hexo-plugin-readmore/" target="_blank" rel="noopener">https://snowdreams1006.gitee.io/hexo-plugin-readmore/</a></li>
<li>Gitlab : <a href="https://snowdreams1006.gitlab.io/hexo-plugin-readmore/" target="_blank" rel="noopener">https://snowdreams1006.gitlab.io/hexo-plugin-readmore/</a></li>
</ul>
<h2 id="效果"><a href="#效果" class="headerlink" title="效果"></a>效果</h2><p><img src="https://raw.githubusercontent.com/snowdreams1006/hexo-plugin-readmore/master/readmore-use-preview.png" alt="readmore-use-preview.png"></p>
<h2 id="用法"><a href="#用法" class="headerlink" title="用法"></a>用法</h2><h3 id="Step-1-更新-config-yml-配置文件"><a href="#Step-1-更新-config-yml-配置文件" class="headerlink" title="Step #1 - 更新 _config.yml 配置文件"></a>Step #1 - 更新 <code>_config.yml</code> 配置文件</h3><p>在 <code>_config.yml</code> 配置文件中,配置 <code>readmore</code> 插件相关信息,详情见 <a href="https://openwrite.cn/openwrite/openwrite-readmore/" target="_blank" rel="noopener">OpenWrite 微信公众号增长神器 “ReadMore” 简介</a>.</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">plugins:</span></span><br><span class="line"> <span class="attr">readmore:</span></span><br><span class="line"> <span class="attr">blogId:</span> <span class="string">填写已申请的博客</span> <span class="string">id</span></span><br><span class="line"> <span class="attr">name:</span> <span class="string">填写已申请的博客名称</span></span><br><span class="line"> <span class="attr">qrcode:</span> <span class="string">填写已申请的公众号二维码链接</span></span><br><span class="line"> <span class="attr">keyword:</span> <span class="string">填写已申请的公众号回复关键字</span></span><br></pre></td></tr></table></figure>
<blockquote>
<p>注意: 前往 <a href="https://openwrite.cn/" target="_blank" rel="noopener">OpenWrite</a> 后台申请开通 <code>readmore</code> 功能后,<strong>一定要替换成自己的相关配置</strong>!</p>
</blockquote>
<p>其中,配置参数含义如下: </p>
<ul>
<li><code>blogId</code> : [必选]OpenWrite 后台申请的博客唯一标识,例如:15702-1569305559839-744</li>
<li><code>name</code> : [必选]OpenWrite 后台申请的博客名称,例如:雪之梦技术驿站</li>
<li><code>qrcode</code> : [必选]OpenWrite 后台申请的微信公众号二维码,例如:<a href="https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg">https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg</a></li>
<li><code>keyword</code> : [必选]OpenWrite 后台申请的微信公众号后台回复关键字,例如:vip</li>
</ul>
<h3 id="Step-2-运行-hexo-相关命令"><a href="#Step-2-运行-hexo-相关命令" class="headerlink" title="Step #2 - 运行 hexo 相关命令"></a>Step #2 - 运行 hexo 相关命令</h3><ul>
<li>运行 <code>npm install</code> 命令安装到本地项目</li>
</ul>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ npm install hexo-plugin-readmore --save</span><br></pre></td></tr></table></figure>
<ul>
<li>运行 <code>hexo generate</code> 命令构建本地项目或者 <code>hexo server</code> 启动本地服务.</li>
</ul>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>
<p>或者</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>
<h2 id="示例"><a href="#示例" class="headerlink" title="示例"></a>示例</h2><p>不仅 <a href="https://github.com/snowdreams1006/hexo-plugin-readmore" target="_blank" rel="noopener">hexo-plugin-readmore</a> <strong>官方文档</strong>已整合 <code>readmore</code> 版权保护插件,此外还提供了示例项目,详情参考 <code>example</code> 目录.</p>
<ul>
<li><a href="https://github.com/snowdreams1006/hexo-plugin-readmore/tree/master/docs" target="_blank" rel="noopener">官方文档</a></li>
<li><a href="https://github.com/snowdreams1006/hexo-plugin-readmore/tree/master/example" target="_blank" rel="noopener">官方示例</a></li>
</ul>
<h2 id="作者"><a href="#作者" class="headerlink" title="作者"></a>作者</h2><p>👤 <strong>snowdreams1006</strong></p>
<ul>
<li>Github: <a href="https://github.com/snowdreams1006" target="_blank" rel="noopener">@snowdreams1006</a></li>
<li>Email: <a href="mailto:[email protected]" target="_blank" rel="noopener">[email protected]</a></li>
</ul>
<h2 id="🤝-贡献"><a href="#🤝-贡献" class="headerlink" title="🤝 贡献"></a>🤝 贡献</h2><p>如果你想贡献自己的一份力量,欢迎提交 <a href="https://github.com/snowdreams1006/hexo-plugin-readmore/issues" target="_blank" rel="noopener"><code>Issues</code></a> 或者 <code>Pull Request</code> 请求!</p>
<h2 id="支持"><a href="#支持" class="headerlink" title="支持"></a>支持</h2><p>如果本项目对你有所帮助,欢迎 ⭐️ <a href="https://github.com/snowdreams1006/hexo-plugin-readmore" target="_blank" rel="noopener">hexo-plugin-readmore</a> 项目,感谢你的支持与认可!</p>
<h2 id="📝-版权"><a href="#📝-版权" class="headerlink" title="📝 版权"></a>📝 版权</h2><p>Copyright © 2019 <a href="https://github.com/snowdreams1006" target="_blank" rel="noopener">snowdreams1006</a>.</p>
<p>This project is <a href="https://github.com/snowdreams1006/hexo-plugin-readmore/blob/master/LICENSE" target="_blank" rel="noopener">MIT</a> licensed.</p>
</div>
<script src="https://my.openwrite.cn/js/readmore.js" type="text/javascript"></script>
<script>
var isMobile = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
if (!isMobile) {
var btw = new BTWPlugin();
btw.init({
"id": "vip-container",
"blogId": "15702-1569305559839-744",
"name": "雪之梦技术驿站",
"qrcode": "https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg",
"keyword": "vip"
});
}
</script>
</div>
<footer class="article-footer">
<a data-url="https://snowdreams1006.github.io/hexo-plugin-readmore/2019/10/11/README/" data-id="ck2wpcx9o0000vqea10t40gxh" class="article-share-link">Share</a>
</footer>
</div>
</article>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">归档</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/hexo-plugin-readmore/archives/2019/10/">十月 2019</a></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">最新文章</h3>
<div class="widget">
<ul>
<li>
<a href="/hexo-plugin-readmore/2019/10/11/README/">首页</a>
</li>
</ul>
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2019 snowdreams1006<br>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/hexo-plugin-readmore/" class="mobile-nav-link">Home</a>
<a href="/hexo-plugin-readmore/archives" class="mobile-nav-link">Archives</a>
</nav>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<link rel="stylesheet" href="/hexo-plugin-readmore/fancybox/jquery.fancybox.css">
<script src="/hexo-plugin-readmore/fancybox/jquery.fancybox.pack.js"></script>
<script src="/hexo-plugin-readmore/js/script.js"></script>
</div>
</body>
</html>