moonwalk 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/_config.yml +2 -1
- data/_includes/date_and_social_share.html +15 -0
- data/_sass/moonwalk.scss +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2967d34ac4d69b0a22ed559b8332cccebe5c2cdd371ce09fa4566bdb384caac1
|
4
|
+
data.tar.gz: 63d7e752098c997ee32d0c25e6c2eb3103c19a689edade42b524a462d86030fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75da973db880f5071dd744bd4da7490c5ce319428e31bc38b9375f037dcf636e9bc2a326128df29f7ba0bfe1045c42cd31445a5a563548e69360a4b26cf63e40
|
7
|
+
data.tar.gz: 408605ab11b60c50086241c69c291d7d66e55d08ef524a7cfce49473df0406c468e2ee31ac494d29abbb045edc8840dbbe40c8042783e05f419a19cfbc526113
|
data/README.md
CHANGED
@@ -17,8 +17,8 @@
|
|
17
17
|
* RSS feed (uses [Jekyll Feed](https://github.com/jekyll/jekyll-feed))
|
18
18
|
* Easy to extend
|
19
19
|
* Fully compatible with [GitHub Pages](https://pages.github.com/) (see [GitHub Pages installation](#github-pages-installation))
|
20
|
-
* Auto-generated social media
|
21
|
-
* Share & like buttons (using Soopr)
|
20
|
+
* Auto-generated share images for social media (using [Soopr](https://www.soopr.co))
|
21
|
+
* Share & like buttons (using [Soopr](https://www.soopr.co))
|
22
22
|
|
23
23
|
|
24
24
|
#### Lighthouse
|
@@ -31,6 +31,8 @@
|
|
31
31
|
3. `bin/bootstrap`
|
32
32
|
4. [Optional] Sign up on Soopr, and add your `publish_token` in `_config.yml` file.
|
33
33
|
|
34
|
+
If you are installing Moonwalk on Windows, please note that you might have to use Ruby 3.0.x instead of Ruby 3.1.x - you can see Windows specific installation instructions [here](https://github.com/abhinavs/moonwalk/blob/master/moonwalk_on_windows.md)
|
35
|
+
|
34
36
|
## Starting Server
|
35
37
|
`bin/start` - development server will start at http://127.0.0.1:4000
|
36
38
|
|
@@ -109,7 +111,7 @@ html {
|
|
109
111
|
};
|
110
112
|
}
|
111
113
|
```
|
112
|
-
3.
|
114
|
+
3. Sign up for free on [Soopr](https://www.soopr.co) and add your `publish_token` in `_config.yml` file - with this, each page gets short URL, like button and auto generated share image for social media.
|
113
115
|
|
114
116
|
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/twitter_card.png" />
|
115
117
|
|
data/_config.yml
CHANGED
@@ -4,7 +4,7 @@ url: https://www.abhinavsaxena.com/moonwalk # root address of the site
|
|
4
4
|
description: > # description of the site (multiple lines allowed)
|
5
5
|
Moonwalk is a fast and elegant Jekyll theme with a clean dark mode. It comes with horizontal list (for navbar and footer), card list (for portfolio), and a generic vertical list. It is very easy to modify in case you want to build over it - please see _layouts/home.html to do that.
|
6
6
|
|
7
|
-
permalink: /:slug
|
7
|
+
permalink: /:slug
|
8
8
|
|
9
9
|
favicon: "./logo.png" # relative path to site's favicon
|
10
10
|
|
@@ -29,6 +29,7 @@ theme_config:
|
|
29
29
|
show_blog: true # show blog posts added in _posts
|
30
30
|
show_old_projects: true # show old projects as cards, add in _data/home.yml
|
31
31
|
show_misc_list: false # show generic vertical list for misc details, add _data/home.yml
|
32
|
+
show_reading_time: true # show number of words and reading time in the blog posts
|
32
33
|
# options for "home" page
|
33
34
|
home:
|
34
35
|
title_projects: Portfolio
|
@@ -1,4 +1,7 @@
|
|
1
1
|
<p class="post-date text-bold text-upcase">
|
2
|
+
{% if page.author %}
|
3
|
+
<span class="text-bold">{{ page.author }}</span> /
|
4
|
+
{% endif %}
|
2
5
|
{% if page.date %}
|
3
6
|
<span>{{ page.date | date: "%B %Y"}}</span>
|
4
7
|
{% endif %}
|
@@ -8,3 +11,15 @@
|
|
8
11
|
data-twitter="SooprCo"
|
9
12
|
>
|
10
13
|
</div>
|
14
|
+
|
15
|
+
{% if site.theme_config.show_reading_time == true %}
|
16
|
+
<p class="post-date text-bold">
|
17
|
+
{% capture words %}
|
18
|
+
{{ content | number_of_words | minus: 180 }}
|
19
|
+
{% endcapture %}
|
20
|
+
{% unless words contains '-' %}
|
21
|
+
{{ words | append: ' Words, ' }}
|
22
|
+
{{ words | plus: 180 | divided_by: 180 | append: ' Minutes' }}
|
23
|
+
{% endunless %}
|
24
|
+
</p>
|
25
|
+
{% endif %}
|
data/_sass/moonwalk.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moonwalk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abhinav Saxena
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 3.23.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webrick
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.7'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.7'
|
69
83
|
description:
|
70
84
|
email:
|
71
85
|
- abhinav061@gmail.com
|