moonwalk 0.0.4 → 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 +41 -32
- data/_config.yml +7 -2
- data/_includes/date_and_social_share.html +16 -2
- data/_sass/moonwalk.scss +1 -0
- metadata +20 -6
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
@@ -1,10 +1,11 @@
|
|
1
|
-
|
1
|
+
## moonwalk - a fast and minimalistic blog theme with clean dark mode
|
2
2
|
|
3
|
-
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/
|
3
|
+
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/moonwalk.png" />
|
4
4
|
|
5
|
-
<h3 align="center"
|
6
|
-
|
7
|
-
<
|
5
|
+
<h3 align="center">
|
6
|
+
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/logo.png" width="24"/>
|
7
|
+
<a href="https://abhinavs.github.io/moonwalk/">TRY THE DEMO</a>
|
8
|
+
</h3>
|
8
9
|
|
9
10
|
## Features
|
10
11
|
* Light & dark mode with theme switcher
|
@@ -12,47 +13,38 @@
|
|
12
13
|
* Landing page with navbar, footer, portfolio
|
13
14
|
* Fast (very minimal CSS) - 100/100 on performance, accessibility, best practices and SEO, please see [Lighthouse Report](https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/lighthouse-report.png) for more details
|
14
15
|
* Responsive and mobile friendly
|
15
|
-
* SEO optimized (uses [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag))
|
16
|
+
* SEO optimized (uses [Jekyll Soopr SEO Tag](https://github.com/jekyll/jekyll-soopr-seo-tag))
|
16
17
|
* RSS feed (uses [Jekyll Feed](https://github.com/jekyll/jekyll-feed))
|
17
18
|
* Easy to extend
|
18
19
|
* Fully compatible with [GitHub Pages](https://pages.github.com/) (see [GitHub Pages installation](#github-pages-installation))
|
20
|
+
* Auto-generated share images for social media (using [Soopr](https://www.soopr.co))
|
21
|
+
* Share & like buttons (using [Soopr](https://www.soopr.co))
|
19
22
|
|
20
23
|
|
21
24
|
#### Lighthouse
|
22
25
|
|
23
26
|
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/lighthouse-report.png" />
|
24
27
|
|
25
|
-
## Installation
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
Then, to style your blog with this theme, add this line to your Jekyll site's `Gemfile`:
|
32
|
-
|
33
|
-
```ruby
|
34
|
-
gem "moonwalk"
|
35
|
-
```
|
36
|
-
|
37
|
-
And add this line to your Jekyll site's `_config.yml`:
|
28
|
+
## Quick Installation
|
29
|
+
1. [Fork this repository](https://github.com/abhinavs/moonwalk/fork).
|
30
|
+
2. `cd moonwalk`
|
31
|
+
3. `bin/bootstrap`
|
32
|
+
4. [Optional] Sign up on Soopr, and add your `publish_token` in `_config.yml` file.
|
38
33
|
|
39
|
-
|
40
|
-
theme: moonwalk
|
41
|
-
```
|
42
|
-
|
43
|
-
And then execute:
|
44
|
-
|
45
|
-
$ bundle
|
46
|
-
|
47
|
-
Or install it yourself as:
|
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)
|
48
35
|
|
49
|
-
|
36
|
+
## Starting Server
|
37
|
+
`bin/start` - development server will start at http://127.0.0.1:4000
|
50
38
|
|
51
|
-
|
39
|
+
## Deployment
|
40
|
+
Moonwalk can be easily deployed on all the cloud providers (AWS etc.), and on static website hosting services like Netlify & Vercel. You can also use this button to do one click deploy
|
41
|
+
<br />
|
42
|
+
<br />
|
43
|
+
[![Deploy with Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/abhinavs/moonwalk)
|
52
44
|
|
53
|
-
If you want to use
|
45
|
+
If you want to use Moonwalk as a gem or use Github Pages, please see [this page](https://github.com/abhinavs/moonwalk/blob/master/github_pages.md)
|
54
46
|
|
55
|
-
##
|
47
|
+
## Customizing
|
56
48
|
|
57
49
|
You can edit `_config.yml` file to customize your blog. You can change things such as the name of the blog, the author, the appearance of the theme (light, dark or auto), how dates are formatted, etc. Customizable fields should be straightforward to understand. Still, `_config.yml` contains some comments to help you understand what each field does.
|
58
50
|
|
@@ -119,6 +111,9 @@ html {
|
|
119
111
|
};
|
120
112
|
}
|
121
113
|
```
|
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.
|
115
|
+
|
116
|
+
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/twitter_card.png" />
|
122
117
|
|
123
118
|
## Contributing
|
124
119
|
|
@@ -140,3 +135,17 @@ This theme's original base is [no style please!](https://github.com/riggraz/no-s
|
|
140
135
|
|
141
136
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
142
137
|
|
138
|
+
## Other Projects
|
139
|
+
If you like Moonwalk, do check out my other projects
|
140
|
+
* [cookie](https://github.com/abhinavs/cookie) - a free landing website boilerplate using Jekyll and Tailwind CSS
|
141
|
+
* [scoop](https://github.com/abhinavs/scoop) - a Sinatra boilerplate project using Corneal, ActiveRecord, Capistrano, Puma & Nginx
|
142
|
+
* [soopr](https://www.soopr.co) - a tool that supports you in content marketing
|
143
|
+
* [apicagent](https://www.apicagent.com) - a FREE API that extracts device details from user-agent string
|
144
|
+
* [pincodr](https://pincodr.apiclabs.com) - a FREE API for Indian pincodes
|
145
|
+
* [humangous](https://www.humangous.co) - create public and private 'working with you' guides
|
146
|
+
* [blockr](https://www.abhinav.co/blockr) - a CLI tool to help you easily block and unblock websites
|
147
|
+
* [microrequests](https://www.abhinav.co/microrequests) - a Python library to help you consume microservice efficiently
|
148
|
+
|
149
|
+
✨⚡You can read more about me on my [blog](https://www.abhinav.co/about/) or follow me on Twitter - [@abhinav](https://twitter.com/abhinav)
|
150
|
+
|
151
|
+
✨⚡If you like my work, you can [buy me a coffee](https://buymeacoffee.com/abhinavs)
|
data/_config.yml
CHANGED
@@ -4,10 +4,14 @@ 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
|
|
11
|
+
twitter:
|
12
|
+
username: abhinav # update or delete this
|
13
|
+
card: summary_large_image
|
14
|
+
|
11
15
|
#theme: moonwalk # if you are using GitHub Pages, change it to remote_theme: abhinavs/moonwalk
|
12
16
|
remote_theme: abhinavs/moonwalk
|
13
17
|
|
@@ -25,6 +29,7 @@ theme_config:
|
|
25
29
|
show_blog: true # show blog posts added in _posts
|
26
30
|
show_old_projects: true # show old projects as cards, add in _data/home.yml
|
27
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
|
28
33
|
# options for "home" page
|
29
34
|
home:
|
30
35
|
title_projects: Portfolio
|
@@ -42,4 +47,4 @@ sass:
|
|
42
47
|
|
43
48
|
plugins:
|
44
49
|
- jekyll-feed
|
45
|
-
- jekyll-seo-tag
|
50
|
+
- jekyll-soopr-seo-tag
|
@@ -1,11 +1,25 @@
|
|
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 %}
|
5
8
|
</p>
|
6
9
|
|
7
10
|
<div class="soopr-btn"
|
8
|
-
data-twitter="
|
9
|
-
data-facebook="abhinavs"
|
11
|
+
data-twitter="SooprCo"
|
10
12
|
>
|
11
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.
|
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
|
@@ -39,19 +39,19 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.15.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: jekyll-seo-tag
|
42
|
+
name: jekyll-soopr-seo-tag
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.7.
|
47
|
+
version: 2.7.3
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.7.
|
54
|
+
version: 2.7.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rouge
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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
|
@@ -112,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
126
|
- !ruby/object:Gem::Version
|
113
127
|
version: '0'
|
114
128
|
requirements: []
|
115
|
-
rubygems_version: 3.
|
129
|
+
rubygems_version: 3.2.15
|
116
130
|
signing_key:
|
117
131
|
specification_version: 4
|
118
132
|
summary: A fast and minimalist Jekyll theme with clean dark mode.
|