moving 0.3.3 → 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 +17 -14
- data/_includes/head.html +1 -1
- data/_includes/social.html +9 -0
- data/_layouts/post.html +3 -0
- data/_sass/moving/_base.scss +27 -0
- metadata +5 -5
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,42 +1,50 @@
|
|
|
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
|
```
|
|
36
44
|
|
|
37
45
|
Once you successfully run the moving blog, you can modify the theme and add posts by yourself, have fun!
|
|
38
46
|
|
|
39
|
-
### Add Moving to Existing Blog
|
|
47
|
+
### Add Moving to an Existing Blog
|
|
40
48
|
|
|
41
49
|
Add this line to your Jekyll site's `Gemfile`:
|
|
42
50
|
|
|
@@ -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/_includes/social.html
CHANGED
|
@@ -123,6 +123,15 @@
|
|
|
123
123
|
>[Microdotblog]</a
|
|
124
124
|
>
|
|
125
125
|
</li>
|
|
126
|
+
{%- endif -%} {%- if social.reddit -%}
|
|
127
|
+
<li>
|
|
128
|
+
<a
|
|
129
|
+
class="black-link"
|
|
130
|
+
href="https://reddit.com/user/{{ social.reddit | cgi_escape | escape }}"
|
|
131
|
+
>
|
|
132
|
+
[Reddit]
|
|
133
|
+
</a>
|
|
134
|
+
</li>
|
|
126
135
|
{%- endif -%} {%- if social.rss -%}
|
|
127
136
|
<li>
|
|
128
137
|
<a class="black-link" href="{{ 'feed.xml' | relative_url }}">[RSS]</a>
|
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
|
@@ -170,6 +170,10 @@ blockquote {
|
|
|
170
170
|
@include relative-font-size(1);
|
|
171
171
|
letter-spacing: -1px;
|
|
172
172
|
|
|
173
|
+
@media (max-width: 600px) {
|
|
174
|
+
@include relative-font-size(0.8);
|
|
175
|
+
}
|
|
176
|
+
|
|
173
177
|
> :last-child {
|
|
174
178
|
margin-bottom: 0;
|
|
175
179
|
}
|
|
@@ -279,3 +283,26 @@ table {
|
|
|
279
283
|
border: 1px solid $grey-color-light;
|
|
280
284
|
}
|
|
281
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
|
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
119
119
|
- !ruby/object:Gem::Version
|
|
120
120
|
version: '0'
|
|
121
121
|
requirements: []
|
|
122
|
-
rubygems_version: 3.0.
|
|
122
|
+
rubygems_version: 3.0.3.1
|
|
123
123
|
signing_key:
|
|
124
124
|
specification_version: 4
|
|
125
125
|
summary: A clean and minimalist theme for Jekyll
|