moving 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +16 -13
- data/_includes/head.html +1 -1
- data/_layouts/post.html +3 -0
- data/_sass/moving/_base.scss +23 -0
- metadata +5 -8
- data/assets/.DS_Store +0 -0
- data/assets/css/agate.css +0 -108
- data/assets/css/main.scss +0 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7485241b49a49722ded7bee9e63e69e0c32f43df72d8af799db621e101bfaa23
|
|
4
|
+
data.tar.gz: 8fa478ec33629879359deafb7d0bd19578303387949880e7139267d9fb49c31b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2eb7c85e9e4c04c8ee3ca109c23eb11dda50a0423187ff839bc383281abf3f3c78970d4d92d93c9502bf87f0d8a4151e49e41791242071b683bc1f2eb3c99df
|
|
7
|
+
data.tar.gz: a5096870f91cc9d8dd4aeb49e93f4d2de572e4561b063b83d2acecc135f9bb26fc66b3988b38a9b9cb219d32d98acbd7d717a746f00ced1d78edb785de79cf04
|
data/README.md
CHANGED
|
@@ -1,35 +1,43 @@
|
|
|
1
1
|
# moving
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/rb/moving)
|
|
3
|
+
[](https://badge.fury.io/rb/moving)   
|
|
4
4
|
|
|
5
|
-
Moving is a clean and minimalist theme for [Jekyll](https://jekyllrb.com/),
|
|
5
|
+
Moving is a clean and minimalist theme for [Jekyll](https://jekyllrb.com/), focusing on pure and efficient writing. [[view demo]](https://huangyz.name/moving/)
|
|
6
6
|
|
|
7
7
|
Inspired by [Hugo](https://gohugo.io/) theme, [YinYang](https://github.com/joway/hugo-theme-yinyang).
|
|
8
8
|
|
|
9
|
-

|
|
10
10
|
|
|
11
|
+
If you enjoy this theme, you can buy me a coffee : )
|
|
12
|
+
|
|
13
|
+
[](https://www.paypal.me/huangyz0918)
|
|
11
14
|
|
|
12
15
|
## Installation
|
|
13
16
|
|
|
14
17
|
### New Blog
|
|
18
|
+
|
|
15
19
|
If you want to create a new blog using moving. You can follow these steps after setting up the [Jekyll](https://jekyllrb.com) environments:
|
|
16
20
|
|
|
17
|
-
Clone this repository:
|
|
21
|
+
Clone this repository:
|
|
22
|
+
|
|
18
23
|
```bash
|
|
19
24
|
git clone https://github.com/huangyz0918/moving.git
|
|
20
25
|
```
|
|
21
26
|
|
|
22
27
|
Move into that directory:
|
|
28
|
+
|
|
23
29
|
```bash
|
|
24
30
|
cd moving/
|
|
25
31
|
```
|
|
26
32
|
|
|
27
33
|
Install required gems using `bundle`:
|
|
34
|
+
|
|
28
35
|
```bash
|
|
29
36
|
bundle install
|
|
30
37
|
```
|
|
31
38
|
|
|
32
39
|
Run the blog in localhost
|
|
40
|
+
|
|
33
41
|
```bash
|
|
34
42
|
jekyll serve
|
|
35
43
|
```
|
|
@@ -64,22 +72,20 @@ Or install it yourself as:
|
|
|
64
72
|
|
|
65
73
|
Here is an [example](https://github.com/huangyz0918/personal-page-blog) for Github Pages.
|
|
66
74
|
|
|
67
|
-
|
|
68
75
|
## Usage
|
|
69
76
|
|
|
70
77
|
You can modify the `_config.yml` to custom your blog. An example is if you want to change the back button's text in each post, you can change the `back_to`.
|
|
71
78
|
|
|
72
79
|
```yaml
|
|
73
80
|
title: Moving # The title of the blog
|
|
74
|
-
author: Your Name # Your name
|
|
81
|
+
author: Your Name # Your name
|
|
75
82
|
email: your-email@domain.com # your email shown in the footer
|
|
76
|
-
url:
|
|
83
|
+
url: https://huangyz.name/moving/ # this is your site's root address.
|
|
77
84
|
description: > # this means to ignore newlines until "show_excerpts:"
|
|
78
85
|
A clean and minimalist theme for Jekyll.
|
|
79
|
-
favicon: "./favicon.ico" # set the favicon of the site
|
|
80
|
-
|
|
86
|
+
favicon: "./favicon.ico" # set the favicon of the site
|
|
81
87
|
show_excerpts: false # set to true to show excerpts on the homepage
|
|
82
|
-
|
|
88
|
+
|
|
83
89
|
# Moving date format
|
|
84
90
|
# refer to https://shopify.github.io/liquid/filters/date/ if you want to customize this
|
|
85
91
|
moving:
|
|
@@ -92,8 +98,6 @@ moving:
|
|
|
92
98
|
theme: moving # note, please use huangyz0918/moving if you want to publish to Github Pages.
|
|
93
99
|
```
|
|
94
100
|
|
|
95
|
-
|
|
96
|
-
|
|
97
101
|
## Contributing
|
|
98
102
|
|
|
99
103
|
Bug reports and pull requests are welcome on GitHub at [here](https://github.com/huangyz0918/moving). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
@@ -110,4 +114,3 @@ To add a custom directory to your theme-gem, please edit the regexp in `moving.g
|
|
|
110
114
|
## License
|
|
111
115
|
|
|
112
116
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
113
|
-
|
data/_includes/head.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
5
5
|
{%- seo title=false -%}
|
|
6
6
|
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css" />
|
|
7
|
-
<link rel="shortcut icon" type="image/x-icon" href="/{{ site.favicon }}" />
|
|
7
|
+
<link rel="shortcut icon" type="image/x-icon" href="/{{ site.favicon }}?" />
|
|
8
8
|
<link rel="stylesheet" href="{{ site.url }}/assets/css/agate.css" />
|
|
9
9
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/highlight.min.js"></script>
|
|
10
10
|
<script>
|
data/_layouts/post.html
CHANGED
|
@@ -8,6 +8,9 @@ layout: default
|
|
|
8
8
|
itemtype="http://schema.org/BlogPosting"
|
|
9
9
|
>
|
|
10
10
|
<head>
|
|
11
|
+
<script type="text/javascript" async
|
|
12
|
+
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
|
|
13
|
+
</script>
|
|
11
14
|
<title>{{ page.title }}</title>
|
|
12
15
|
</head>
|
|
13
16
|
<header class="post-header">
|
data/_sass/moving/_base.scss
CHANGED
|
@@ -283,3 +283,26 @@ table {
|
|
|
283
283
|
border: 1px solid $grey-color-light;
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
+
|
|
287
|
+
nav {
|
|
288
|
+
width: 100%;
|
|
289
|
+
li {
|
|
290
|
+
display: inline;
|
|
291
|
+
padding-top: 20px;
|
|
292
|
+
padding-right: 10px;
|
|
293
|
+
padding-bottom: 10px;
|
|
294
|
+
padding-left: 10px;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/* home: post list */
|
|
299
|
+
.post-list ul {
|
|
300
|
+
margin-left: 0;
|
|
301
|
+
}
|
|
302
|
+
.post-list ul li {
|
|
303
|
+
display: flex;
|
|
304
|
+
}
|
|
305
|
+
.post-meta {
|
|
306
|
+
min-width: 80px;
|
|
307
|
+
font-size: 21.6px;
|
|
308
|
+
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moving
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- huangyz0918
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 2.
|
|
61
|
+
version: 2.3.26
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 2.
|
|
68
|
+
version: 2.3.26
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: rake
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -100,9 +100,6 @@ files:
|
|
|
100
100
|
- _sass/moving.scss
|
|
101
101
|
- _sass/moving/_base.scss
|
|
102
102
|
- _sass/moving/_layout.scss
|
|
103
|
-
- assets/.DS_Store
|
|
104
|
-
- assets/css/agate.css
|
|
105
|
-
- assets/css/main.scss
|
|
106
103
|
homepage: https://github.com/huangyz0918/moving
|
|
107
104
|
licenses:
|
|
108
105
|
- MIT
|
|
@@ -122,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
122
119
|
- !ruby/object:Gem::Version
|
|
123
120
|
version: '0'
|
|
124
121
|
requirements: []
|
|
125
|
-
rubygems_version: 3.0.
|
|
122
|
+
rubygems_version: 3.0.3.1
|
|
126
123
|
signing_key:
|
|
127
124
|
specification_version: 4
|
|
128
125
|
summary: A clean and minimalist theme for Jekyll
|
data/assets/.DS_Store
DELETED
|
Binary file
|
data/assets/css/agate.css
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Agate by Taufik Nurrohman <https://github.com/tovic>
|
|
3
|
-
* ----------------------------------------------------
|
|
4
|
-
*
|
|
5
|
-
* #ade5fc
|
|
6
|
-
* #a2fca2
|
|
7
|
-
* #c6b4f0
|
|
8
|
-
* #d36363
|
|
9
|
-
* #fcc28c
|
|
10
|
-
* #fc9b9b
|
|
11
|
-
* #ffa
|
|
12
|
-
* #fff
|
|
13
|
-
* #333
|
|
14
|
-
* #62c8f3
|
|
15
|
-
* #888
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
.hljs {
|
|
20
|
-
display: block;
|
|
21
|
-
overflow-x: auto;
|
|
22
|
-
padding: 0.5em;
|
|
23
|
-
background: #333;
|
|
24
|
-
color: white;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.hljs-name,
|
|
28
|
-
.hljs-strong {
|
|
29
|
-
font-weight: bold;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.hljs-code,
|
|
33
|
-
.hljs-emphasis {
|
|
34
|
-
font-style: italic;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.hljs-tag {
|
|
38
|
-
color: #62c8f3;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.hljs-variable,
|
|
42
|
-
.hljs-template-variable,
|
|
43
|
-
.hljs-selector-id,
|
|
44
|
-
.hljs-selector-class {
|
|
45
|
-
color: #ade5fc;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.hljs-string,
|
|
49
|
-
.hljs-bullet {
|
|
50
|
-
color: #a2fca2;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.hljs-type,
|
|
54
|
-
.hljs-title,
|
|
55
|
-
.hljs-section,
|
|
56
|
-
.hljs-attribute,
|
|
57
|
-
.hljs-quote,
|
|
58
|
-
.hljs-built_in,
|
|
59
|
-
.hljs-builtin-name {
|
|
60
|
-
color: #ffa;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.hljs-number,
|
|
64
|
-
.hljs-symbol,
|
|
65
|
-
.hljs-bullet {
|
|
66
|
-
color: #d36363;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.hljs-keyword,
|
|
70
|
-
.hljs-selector-tag,
|
|
71
|
-
.hljs-literal {
|
|
72
|
-
color: #fcc28c;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.hljs-comment,
|
|
76
|
-
.hljs-deletion,
|
|
77
|
-
.hljs-code {
|
|
78
|
-
color: #888;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.hljs-regexp,
|
|
82
|
-
.hljs-link {
|
|
83
|
-
color: #c6b4f0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.hljs-meta {
|
|
87
|
-
color: #fc9b9b;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.hljs-deletion {
|
|
91
|
-
background-color: #fc9b9b;
|
|
92
|
-
color: #333;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.hljs-addition {
|
|
96
|
-
background-color: #a2fca2;
|
|
97
|
-
color: #333;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.hljs a {
|
|
101
|
-
color: inherit;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.hljs a:focus,
|
|
105
|
-
.hljs a:hover {
|
|
106
|
-
color: inherit;
|
|
107
|
-
text-decoration: underline;
|
|
108
|
-
}
|