Skip to content

Commit 80ce2ed

Browse files
committed
Site updated: 2020-09-28 19:37:18
1 parent c4aecec commit 80ce2ed

38 files changed

+3441
-1
lines changed

2020/09/28/hello-world/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515

1616
<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">
17+
<link rel="stylesheet" href="/lib/pace/pace-theme-minimal.min.css">
18+
<script src="/lib/pace/pace.min.js"></script>
1719

1820
<script id="hexo-configurations">
1921
var NexT = window.NexT || {};

archives/2020/09/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515

1616
<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">
17+
<link rel="stylesheet" href="/lib/pace/pace-theme-minimal.min.css">
18+
<script src="/lib/pace/pace.min.js"></script>
1719

1820
<script id="hexo-configurations">
1921
var NexT = window.NexT || {};

archives/2020/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515

1616
<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">
17+
<link rel="stylesheet" href="/lib/pace/pace-theme-minimal.min.css">
18+
<script src="/lib/pace/pace.min.js"></script>
1719

1820
<script id="hexo-configurations">
1921
var NexT = window.NexT || {};

archives/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515

1616
<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">
17+
<link rel="stylesheet" href="/lib/pace/pace-theme-minimal.min.css">
18+
<script src="/lib/pace/pace.min.js"></script>
1719

1820
<script id="hexo-configurations">
1921
var NexT = window.NexT || {};

css/main.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ pre .javascript .function {
11751175
}
11761176
.links-of-author a::before,
11771177
.links-of-author span.exturl::before {
1178-
background: #ffc8ff;
1178+
background: #fff7ff;
11791179
border-radius: 50%;
11801180
content: ' ';
11811181
display: inline-block;

index.html

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515

1616
<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">
17+
<link rel="stylesheet" href="/lib/pace/pace-theme-minimal.min.css">
18+
<script src="/lib/pace/pace.min.js"></script>
1719

1820
<script id="hexo-configurations">
1921
var NexT = window.NexT || {};

lib/pace/LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 «NexT»
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

lib/pace/README.html

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<h1 align="center"><a href="https://github.com/HubSpot/pace">Progress bar</a> for <a href="https://github.com/theme-next">NexT</a></h1>
2+
3+
<h1 align="center">Installation</h1>
4+
5+
<h2>If you want to use the CDN instead of clone this repo, please jump to the Step 3.</h2>
6+
7+
<h2 align="center">Step 1 &rarr; Go to NexT dir</h2>
8+
9+
<p>Change dir to <strong>NexT</strong> directory. There must be <code>layout</code>, <code>source</code>, <code>languages</code> and other directories:</p>
10+
<pre><code class="sh">$ cd themes/next
11+
$ ls
12+
_config.yml crowdin.yml docs gulpfile.js languages layout LICENSE.md package.json README.md scripts source</code></pre>
13+
<h2 align="center">Step 2 &rarr; Get module</h2>
14+
15+
<p>Install module to <code>source/lib</code> directory:</p>
16+
<pre><code class="sh">$ git clone https://github.com/theme-next/theme-next-pace source/lib/pace</code></pre>
17+
<h2 align="center">Step 3 &rarr; Set it up</h2>
18+
19+
<p>Enable module in <strong>NexT</strong> <code>_config.yml</code> file and select your theme:</p>
20+
<pre><code class="yml">pace:
21+
enable: true
22+
# Themes list:
23+
# big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple
24+
# corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal
25+
theme: minimal</code></pre>
26+
<p><strong>And, if you wants to use the CDN, then need to set:</strong> (you also need to find your corresponding theme css link in <a href="https://www.jsdelivr.com/package/npm/pace-js?path=themes">jsdelivr</a>)</p>
27+
<pre><code class="yml">vendors:
28+
...
29+
pace: //cdn.jsdelivr.net/npm/pace-js@1/pace.min.js
30+
pace_css: //cdn.jsdelivr.net/npm/pace-js@1/themes/blue/pace-theme-minimal.css</code></pre>
31+
<h1 align="center">Update</h1>
32+
33+
<pre><code class="sh">$ cd themes/next/source/lib/pace
34+
$ git pull</code></pre>

lib/pace/pace-theme-barber-shop.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pace/pace-theme-big-counter.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pace/pace-theme-bounce.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pace/pace-theme-center-atom.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pace/pace-theme-center-circle.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pace/pace-theme-center-radar.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pace/pace-theme-center-simple.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pace/pace-theme-corner-indicator.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/pace/pace-theme-fill-left.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)