moonwalk 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -12
- data/_config.yml +3 -1
- data/_includes/date_and_social_share.html +23 -2
- data/_includes/head.html +12 -1
- data/_sass/list.scss +1 -1
- data/_sass/moonwalk.scss +26 -10
- data/assets/images/favicon/android-chrome-192x192.png +0 -0
- data/assets/images/favicon/android-chrome-256x256.png +0 -0
- data/assets/images/favicon/apple-touch-icon.png +0 -0
- data/assets/images/favicon/browserconfig.xml +9 -0
- data/assets/images/favicon/favicon-16x16.png +0 -0
- data/assets/images/favicon/favicon-32x32.png +0 -0
- data/assets/images/favicon/favicon.ico +0 -0
- data/assets/images/favicon/mstile-150x150.png +0 -0
- data/assets/images/favicon/safari-pinned-tab.svg +19 -0
- data/assets/images/favicon/site.webmanifest +19 -0
- metadata +26 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 520b901c78a0b63580aee60986eeb6c91049ffb9aa9c43470acf62c205fabc0a
|
4
|
+
data.tar.gz: 4857ad038f6bafe1c3add5fa466c6f9d0fda0cd6e392bd5dc13cf551338d453b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1d8b3960ac369b1e7b0bc2e1609b92470c6651d141356cf4c0607b0c715a7e294c6177c2fa6e9f77b96f5293b361dde3a0dc4da33ac9411b3bf1fddcff9737e
|
7
|
+
data.tar.gz: 839a03e3bfa0754116addeb4ae1b98d5b6b679f89a11438e691ac77aa586803f411b58b42955b43aecfda6b3a32ee974291ea5f100097601bb8ecc0cca3c18bb
|
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
|
|
@@ -88,28 +90,31 @@ The `home.yml` file accepts the following fields:
|
|
88
90
|
```css
|
89
91
|
html {
|
90
92
|
--bg: #fff;
|
91
|
-
--bg-secondary: #
|
92
|
-
--headings: #
|
93
|
-
--text: #
|
94
|
-
--
|
93
|
+
--bg-secondary: #f3f4f6;
|
94
|
+
--headings: #1e293b;
|
95
|
+
--text: #374151;
|
96
|
+
--text-secondary: #6b7280;
|
97
|
+
--links: #6366f1;
|
95
98
|
--highlight: #ffecb2; // light yellow
|
99
|
+
--code-text: #9d174d;
|
96
100
|
}
|
97
101
|
```
|
98
102
|
- for dark mode customize these css variables
|
99
103
|
```css
|
100
104
|
@mixin dark-appearance {
|
101
105
|
html, body {
|
102
|
-
--
|
106
|
+
--headings: #74c0fc;
|
107
|
+
--links: #91a7ff;
|
108
|
+
--highlight: #41c7c7;
|
109
|
+
--bg: #1f242a;
|
103
110
|
--bg-secondary: #323945;
|
104
|
-
--headings: #3D9970;
|
105
111
|
--text: #adb5bd;
|
106
|
-
--
|
107
|
-
--
|
108
|
-
--highlight: #ffd43b;
|
112
|
+
--text-secondary: #9ca3af;
|
113
|
+
--code-text: #91a7ff;
|
109
114
|
};
|
110
115
|
}
|
111
116
|
```
|
112
|
-
3.
|
117
|
+
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
118
|
|
114
119
|
<img src="https://raw.githubusercontent.com/abhinavs/moonwalk/master/_screenshots/twitter_card.png" />
|
115
120
|
|
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,8 @@ 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
|
33
|
+
show_tags: true # show tags in a blog posts
|
32
34
|
# options for "home" page
|
33
35
|
home:
|
34
36
|
title_projects: Portfolio
|
@@ -1,10 +1,31 @@
|
|
1
|
-
<p class="post-date text-bold
|
1
|
+
<p class="post-date text-bold">
|
2
|
+
{% if page.author %}
|
3
|
+
<span class="text-upcase">{{ page.author }}</span> /
|
4
|
+
{% endif %}
|
2
5
|
{% if page.date %}
|
3
|
-
<span>{{ page.date | date: "%B %Y"}}</span>
|
6
|
+
<span class="text-upcase">{{ page.date | date: "%B %Y"}}</span>
|
4
7
|
{% endif %}
|
8
|
+
|
9
|
+
{% if site.theme_config.show_reading_time == true %}
|
10
|
+
{% capture words %}
|
11
|
+
{{ content | number_of_words | minus: 180 }}
|
12
|
+
{% endcapture %}
|
13
|
+
{% unless words contains '-' %}
|
14
|
+
{{ words | strip | prepend: '(' | append: ' Words, ' }}
|
15
|
+
{{ words | plus: 180 | divided_by: 180 | append: ' Minutes)' }}
|
16
|
+
{% endunless %}
|
17
|
+
{% endif %}
|
5
18
|
</p>
|
6
19
|
|
7
20
|
<div class="soopr-btn"
|
8
21
|
data-twitter="SooprCo"
|
9
22
|
>
|
10
23
|
</div>
|
24
|
+
|
25
|
+
{% if site.theme_config.show_tags == true %}
|
26
|
+
<div class="">
|
27
|
+
{% for tag in page.tags %}
|
28
|
+
<span class="tag">{{ tag }}</span>
|
29
|
+
{% endfor %}
|
30
|
+
</div>
|
31
|
+
{% endif %}
|
data/_includes/head.html
CHANGED
@@ -14,7 +14,18 @@
|
|
14
14
|
{% seo title=false %}
|
15
15
|
{% feed_meta %}
|
16
16
|
|
17
|
-
|
17
|
+
<!-- Favicon -->
|
18
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/favicon/apple-touch-icon.png">
|
19
|
+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon/favicon-32x32.png">
|
20
|
+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicon/favicon-16x16.png">
|
21
|
+
<link rel="manifest" href="/assets/images/favicon/site.webmanifest">
|
22
|
+
<link rel="mask-icon" href="/assets/images/favicon/safari-pinned-tab.svg" color="#5bbad5">
|
23
|
+
<link rel="shortcut icon" href="/assets/images/favicon/favicon.ico">
|
24
|
+
<meta name="msapplication-TileColor" content="#00aba9">
|
25
|
+
<meta name="msapplication-config" content="/assets/images/favicon/browserconfig.xml">
|
26
|
+
<meta name="theme-color" content="#ffffff">
|
27
|
+
<!-- Favicon -->
|
28
|
+
|
18
29
|
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
|
19
30
|
{% if site.theme_config.appearance_toggle %}
|
20
31
|
{% include toggle_theme_js.html %}
|
data/_sass/list.scss
CHANGED
data/_sass/moonwalk.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
|
2
2
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
|
3
3
|
|
4
4
|
html { height: 100%; }
|
@@ -11,7 +11,7 @@ body {
|
|
11
11
|
min-height: 100%;
|
12
12
|
}
|
13
13
|
pre, code {
|
14
|
-
font-family: "
|
14
|
+
font-family: "Roboto Mono", "Courier New", monospace;
|
15
15
|
font-size: 0.9rem;
|
16
16
|
}
|
17
17
|
|
@@ -65,10 +65,11 @@ img {
|
|
65
65
|
}
|
66
66
|
html {
|
67
67
|
--bg: #FFF;
|
68
|
-
--bg-secondary: #
|
69
|
-
--headings: #
|
70
|
-
--text: #
|
71
|
-
--
|
68
|
+
--bg-secondary: #f3f4f6;
|
69
|
+
--headings: #1e293b;
|
70
|
+
--text: #374151;
|
71
|
+
--text-secondary: #6b7280;
|
72
|
+
--links: #6366f1;
|
72
73
|
--highlight: #FFECB2; // light yellow
|
73
74
|
--code-text: #9D174D;
|
74
75
|
--share-text: #999;
|
@@ -82,6 +83,7 @@ html {
|
|
82
83
|
--bg: #1f242A;
|
83
84
|
--bg-secondary: #323945;
|
84
85
|
--text: #adb5bd;
|
86
|
+
--text-secondary: #9CA3AF;
|
85
87
|
--code-text: #91A7FF;
|
86
88
|
--share-text: #C4C4C4;
|
87
89
|
};
|
@@ -155,12 +157,13 @@ mark {
|
|
155
157
|
}
|
156
158
|
|
157
159
|
.post-date {
|
158
|
-
color: var(--secondary
|
159
|
-
|
160
|
-
font-size: 0.
|
160
|
+
color: var(--text-secondary);
|
161
|
+
margin-top: 1rem;
|
162
|
+
font-size: 0.7em;
|
163
|
+
font-family: "Roboto Mono", "Courier New", monospace;
|
161
164
|
}
|
162
165
|
.home-date {
|
163
|
-
font-family: monospace;
|
166
|
+
font-family: "Roboto Mono", "Courier New", monospace;
|
164
167
|
}
|
165
168
|
.post-list-item a {
|
166
169
|
text-decoration: none;
|
@@ -170,6 +173,7 @@ mark {
|
|
170
173
|
}
|
171
174
|
.text-upcase {
|
172
175
|
text-transform: uppercase;
|
176
|
+
letter-spacing: 1px;
|
173
177
|
}
|
174
178
|
p code, li code {
|
175
179
|
background-color: var(--bg-secondary);
|
@@ -197,3 +201,15 @@ p code, li code {
|
|
197
201
|
color: var(--links);
|
198
202
|
}
|
199
203
|
}
|
204
|
+
.tag {
|
205
|
+
font-family: "Roboto Mono", "Courier New", monospace;
|
206
|
+
color: var(--text-secondary);
|
207
|
+
padding: 0.4em 1em;
|
208
|
+
margin-right: 0.5em;
|
209
|
+
border-radius: 1em;
|
210
|
+
background-color: var(--bg-secondary);
|
211
|
+
font-size: 0.7em;
|
212
|
+
font-weight: bold;
|
213
|
+
text-transform: lowercase;
|
214
|
+
//border: 1px solid var(--text-secondary);
|
215
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
3
|
+
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
4
|
+
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="300.000000pt" height="300.000000pt" viewBox="0 0 300.000000 300.000000"
|
6
|
+
preserveAspectRatio="xMidYMid meet">
|
7
|
+
<metadata>
|
8
|
+
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
9
|
+
</metadata>
|
10
|
+
<g transform="translate(0.000000,300.000000) scale(0.100000,-0.100000)"
|
11
|
+
fill="#000000" stroke="none">
|
12
|
+
<path d="M1350 2994 c-14 -2 -68 -12 -120 -20 -135 -23 -283 -74 -419 -144
|
13
|
+
-401 -208 -683 -581 -783 -1037 -29 -135 -32 -412 -4 -558 114 -611 565 -1072
|
14
|
+
1183 -1207 135 -29 412 -32 558 -4 609 114 1074 568 1206 1178 29 136 36 355
|
15
|
+
15 494 -52 353 -188 624 -432 867 -211 208 -462 344 -756 408 -90 19 -384 35
|
16
|
+
-448 23z m296 -355 c507 -70 913 -476 983 -983 78 -560 -277 -1105 -820 -1260
|
17
|
+
-90 -26 -213 -46 -280 -46 l-39 0 0 1150 0 1150 39 0 c22 0 74 -5 117 -11z"/>
|
18
|
+
</g>
|
19
|
+
</svg>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"name": "Moonwalk",
|
3
|
+
"short_name": "Moonwalk",
|
4
|
+
"icons": [
|
5
|
+
{
|
6
|
+
"src": "/assets/images/favicon/android-chrome-192x192.png",
|
7
|
+
"sizes": "192x192",
|
8
|
+
"type": "image/png"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"src": "/assets/images/favicon/android-chrome-256x256.png",
|
12
|
+
"sizes": "256x256",
|
13
|
+
"type": "image/png"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"theme_color": "#ffffff",
|
17
|
+
"background_color": "#ffffff",
|
18
|
+
"display": "standalone"
|
19
|
+
}
|
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.3
|
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-11-01 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
|
@@ -93,6 +107,16 @@ files:
|
|
93
107
|
- _sass/moonwalk.scss
|
94
108
|
- _sass/syntax.scss
|
95
109
|
- assets/css/main.scss
|
110
|
+
- assets/images/favicon/android-chrome-192x192.png
|
111
|
+
- assets/images/favicon/android-chrome-256x256.png
|
112
|
+
- assets/images/favicon/apple-touch-icon.png
|
113
|
+
- assets/images/favicon/browserconfig.xml
|
114
|
+
- assets/images/favicon/favicon-16x16.png
|
115
|
+
- assets/images/favicon/favicon-32x32.png
|
116
|
+
- assets/images/favicon/favicon.ico
|
117
|
+
- assets/images/favicon/mstile-150x150.png
|
118
|
+
- assets/images/favicon/safari-pinned-tab.svg
|
119
|
+
- assets/images/favicon/site.webmanifest
|
96
120
|
homepage: https://github.com/abhinavs/moonwalk
|
97
121
|
licenses:
|
98
122
|
- MIT
|