cvless 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -8
- data/_includes/archive.html +1 -1
- data/_includes/contact.html +4 -4
- data/_includes/head.html +9 -9
- data/_includes/header.html +1 -1
- data/_includes/pagination.html +2 -2
- data/_includes/particles-404.html +1 -1
- data/_includes/particles-home.html +2 -2
- data/_includes/postlist.html +1 -1
- data/_includes/svg/x.svg +1 -0
- data/_layouts/default.html +5 -5
- data/assets/js/main.js +1 -1
- metadata +4 -3
- /data/assets/{json → js}/particles.json +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e61ee9a2e43eac4cb4d5403c76a42da9a8c5ac776021e03a21e851a240c6ae7
|
4
|
+
data.tar.gz: 6c4880484f60182d985dcf3567b41d00430c85bfcde0ca301ff588c3f605ff75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd2f64b18e0c0b5ae1ab4ca8b9a29812c2eb49b2643384f1f52c15b0801d4ac47436a47f26d072b0de762ae2f2f7ec513441496b50c80d41d23b776d8b442d47
|
7
|
+
data.tar.gz: 9236025b031b65daff1c6dee8b0a5269057c4d4d5046205d10009c6971d9942455c875a92c9aec142323a28743fc4be6f11e850e244b962be68f3e0bf25a795a
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ The main aesthetic feature of the theme is the use of [particles.js](https://vin
|
|
6
6
|
|
7
7
|
Light and dark modes are available. The theme initializes based on system preferences and stores the user's preference for the duration of the session.
|
8
8
|
|
9
|
-
See the [demo](https://
|
9
|
+
See the [demo](https://piazzai.github.io/cvless) to get a better sense of what the theme looks like.
|
10
10
|
|
11
11
|
![](https://github.com/piazzai/cvless/blob/master/screenshot.png)
|
12
12
|
|
@@ -37,7 +37,7 @@ And this line to `_config.yml`:
|
|
37
37
|
theme: cvless
|
38
38
|
```
|
39
39
|
|
40
|
-
The easiest way to set up a new website in this way is to clone the contents of the `demo` folder. This provides a working set of files to get you started.
|
40
|
+
The easiest way to set up a new website in this way is to clone the contents of the `demo` folder. This provides a working set of files to get you started. You can remove what you will not use, such as the contents of the `_posts` folder.
|
41
41
|
|
42
42
|
After you are done creating the basic files, run bundler:
|
43
43
|
|
@@ -51,15 +51,13 @@ To customize hidden files, you can create new files with the same names and path
|
|
51
51
|
|
52
52
|
## Usage
|
53
53
|
|
54
|
-
|
54
|
+
Basic configuration occurs in `_config.yml`. This contains site variables such as title, tagline, url, and repository address, as well as the author's name and email address for inclusion in blog posts. You can specify the path to an avatar for inclusion in the home (optional).
|
55
55
|
|
56
|
-
|
56
|
+
More advanced configuration requires altering some files that are not included in the `demo` template and are hidden in the original theme. There are three files you might want to customize. First, you could change icon links in `_includes/particles-home.html` and add/remove icons as needed. You may add icons that are not included in the theme by default. For more information on how to do this, see [this post](https://piazzai.github.io/cvless/2022/08/01/on-the-use-of-icons/).
|
57
57
|
|
58
|
-
|
58
|
+
Second, you might want to edit the style variables specified in `_sass/_variables.scss`. These allow you to customize the theme's color scheme and typefaces. There are many resources on the web to learn the principles of good web design. I personally recommend Matthew Butterick's [Practical Typography](https://practicaltypography.com/websites.html).
|
59
59
|
|
60
|
-
|
61
|
-
|
62
|
-
In addition to these files, you can customize favicons in the `assets` folder. For that, [favicon.io](https://favicon.io/) is an excellent tool. You can also change the particles.js configurations in `assets/json`. The [library homepage](https://vincentgarreau.com/particles.js/) features an interactive tool from which you can export a new configuration.
|
60
|
+
In addition to these files, you can customize favicons in the `assets` folder. For that, [favicon.io](https://favicon.io/) is an excellent tool. You can also change the particles.js configurations in `assets/js/particles.json`. The [library homepage](https://vincentgarreau.com/particles.js/) features an interactive tool from which you can export a new configuration.
|
63
61
|
|
64
62
|
## Local development
|
65
63
|
|
data/_includes/archive.html
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
<h2>{{ yearMonth.name }}</h2>
|
6
6
|
<ul>
|
7
7
|
{% for post in yearMonth.items %}
|
8
|
-
<li><a href="{{ post.url }}">{{ post.title }}.</a> <span class="lead">{{ post.lead }}</span></li>
|
8
|
+
<li><a href="{{ post.url | prepend: site.url }}">{{ post.title }}.</a> <span class="lead">{{ post.lead }}</span></li>
|
9
9
|
{% endfor %}
|
10
10
|
</ul>
|
11
11
|
{% endfor %}
|
data/_includes/contact.html
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
<li>University of Jekyll</li>
|
5
5
|
<li>Department of Themes</li>
|
6
6
|
<li>123 Main St, Anytown, USA</li>
|
7
|
-
<li><span class="li-icon">{% include svg/pin-alt.svg %}</span><span>
|
8
|
-
<li><span class="li-icon">{% include svg/phone.svg %}</span><span
|
9
|
-
<li><span class="li-icon">{% include svg/mail.svg %}</span><a href="mailto:
|
10
|
-
<li><span class="li-icon">{% include svg/internet.svg %}</span><a href="
|
7
|
+
<li><span class="li-icon">{% include svg/pin-alt.svg %}</span><span>{{ site.address }}</span></li>
|
8
|
+
<li><span class="li-icon">{% include svg/phone.svg %}</span><span>{{ site.phone }}</span></li>
|
9
|
+
<li><span class="li-icon">{% include svg/mail.svg %}</span><a href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
|
10
|
+
<li><span class="li-icon">{% include svg/internet.svg %}</span><a href="{{ site.url }}">{{ site.url }}</a></li>
|
11
11
|
</ul>
|
12
12
|
</div>
|
data/_includes/head.html
CHANGED
@@ -10,15 +10,15 @@
|
|
10
10
|
{% endif %}
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="{{ '/assets/css/bootstrap.min.css' |
|
14
|
-
<link rel="stylesheet" href="{{ '/assets/css/open-color.min.css' |
|
15
|
-
<link rel="stylesheet" href="{{ '/assets/css/syntax.css' |
|
16
|
-
<link rel="stylesheet" href="{{ '/assets/css/styles.min.css' |
|
17
|
-
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/apple-touch-icon.png' |
|
18
|
-
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/favicon-32x32.png' |
|
19
|
-
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon-16x16.png' |
|
20
|
-
<link rel="manifest" href="{{ '/assets/site.webmanifest' |
|
21
|
-
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ 'atom.xml' |
|
13
|
+
<link rel="stylesheet" href="{{ '/assets/css/bootstrap.min.css' | prepend: site.url }}">
|
14
|
+
<link rel="stylesheet" href="{{ '/assets/css/open-color.min.css' | prepend: site.url }}">
|
15
|
+
<link rel="stylesheet" href="{{ '/assets/css/syntax.css' | prepend: site.url }}">
|
16
|
+
<link rel="stylesheet" href="{{ '/assets/css/styles.min.css' | prepend: site.url }}">
|
17
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/apple-touch-icon.png' | prepend: site.url }}">
|
18
|
+
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/favicon-32x32.png' | prepend: site.url }}">
|
19
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon-16x16.png' | prepend: site.url }}">
|
20
|
+
<link rel="manifest" href="{{ '/assets/site.webmanifest' | prepend: site.url }}">
|
21
|
+
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ '/atom.xml' | prepend: site.url }}">
|
22
22
|
|
23
23
|
{% seo title=false %}
|
24
24
|
</head>
|
data/_includes/header.html
CHANGED
data/_includes/pagination.html
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
<div class="pagination">
|
2
2
|
{% if paginator.next_page %}
|
3
|
-
<a class="pagination-item older" href="{{ paginator.next_page_path |
|
3
|
+
<a class="pagination-item older" href="{{ paginator.next_page_path | prepend: site.url }}">{% include svg/nav-arrow-left.svg %} Older</a>
|
4
4
|
{% else %}
|
5
5
|
<span class="pagination-item older">{% include svg/nav-arrow-left.svg %} Older</span>
|
6
6
|
{% endif %}
|
7
7
|
{% if paginator.previous_page %}
|
8
|
-
<a class="pagination-item newer" href="{{ paginator.previous_page_path | prepend:
|
8
|
+
<a class="pagination-item newer" href="{{ paginator.previous_page_path | prepend: site.url }}">Newer {% include svg/nav-arrow-right.svg %}</a>
|
9
9
|
{% else %}
|
10
10
|
<span class="pagination-item newer">Newer {% include svg/nav-arrow-right.svg %}</span>
|
11
11
|
{% endif %}
|
@@ -2,6 +2,6 @@
|
|
2
2
|
<div class="jumbotron text-center">
|
3
3
|
<h1 class="particles-title">404</h1>
|
4
4
|
<h1 class="particles-subtitle">Page not found</h1>
|
5
|
-
<a class="particles-icon" href="
|
5
|
+
<a class="particles-icon" href="{{ site.url }}">{% include svg/arrow-left-circled.svg %}</a>
|
6
6
|
</div>
|
7
7
|
</div>
|
@@ -9,8 +9,8 @@
|
|
9
9
|
{% if site.social.facebook %}
|
10
10
|
<a class="particles-icon" href="https://www.facebook.com/{{ site.social.facebook }}">{% include svg/facebook.svg %}</a>
|
11
11
|
{% endif %}
|
12
|
-
{% if site.social.
|
13
|
-
<a class="particles-icon" href="https://twitter.com/{{ site.social.
|
12
|
+
{% if site.social.x %}
|
13
|
+
<a class="particles-icon" href="https://twitter.com/{{ site.social.x }}">{% include svg/x.svg %}</a>
|
14
14
|
{% endif %}
|
15
15
|
{% if site.social.instagram %}
|
16
16
|
<a class="particles-icon" href="https://www.instagram.com/{{ site.social.instagram }}">{% include svg/instagram.svg %}</a>
|
data/_includes/postlist.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<div>
|
2
2
|
{% for post in paginator.posts %}
|
3
|
-
<h1><a href="{{ post.url |
|
3
|
+
<h1><a href="{{ post.url | prepend: site.url }}">{{ post.title }}</a></h1>
|
4
4
|
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date: "%B %e, %Y" }}</time>
|
5
5
|
<p class="lead">{{ post.lead }}</p>
|
6
6
|
{{ post.content }}
|
data/_includes/svg/x.svg
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" stroke-width="1.5" fill="none" xmlns="http://www.w3.org/2000/svg" color="#000000"><path d="M16.8198 20.7684L3.75317 3.96836C3.44664 3.57425 3.72749 3 4.22678 3H6.70655C6.8917 3 7.06649 3.08548 7.18016 3.23164L20.2468 20.0316C20.5534 20.4258 20.2725 21 19.7732 21H17.2935C17.1083 21 16.9335 20.9145 16.8198 20.7684Z" stroke="#000000" stroke-width="1.5"></path><path d="M20 3L4 21" stroke="#000000" stroke-width="1.5" stroke-linecap="round"></path></svg>
|
data/_layouts/default.html
CHANGED
@@ -15,14 +15,14 @@
|
|
15
15
|
</div>
|
16
16
|
</div>
|
17
17
|
</div>
|
18
|
-
<script src="{{ '/assets/js/bootstrap.min.js' |
|
18
|
+
<script src="{{ '/assets/js/bootstrap.min.js' | prepend: site.url }}"></script>
|
19
19
|
{% if page.title != "404" %}
|
20
|
-
<script src="{{ '/assets/js/darkmode.js' |
|
20
|
+
<script src="{{ '/assets/js/darkmode.js' | prepend: site.url }}"></script>
|
21
21
|
{% endif %}
|
22
22
|
{% if page.title == "Home" or page.title == "404" %}
|
23
|
-
<script src="
|
24
|
-
<script src="
|
23
|
+
<script src="assets/js/particles.min.js"></script>
|
24
|
+
<script src="assets/js/main.js"></script>
|
25
25
|
{% endif %}
|
26
26
|
</body>
|
27
27
|
|
28
|
-
</html>
|
28
|
+
</html>
|
data/assets/js/main.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
document.addEventListener(
|
2
2
|
"DOMContentLoaded",
|
3
3
|
(event) => {
|
4
|
-
particlesJS.load("particles-js", "
|
4
|
+
particlesJS.load("particles-js", "assets/js/particles.json", function () {
|
5
5
|
console.log("particles.js loaded - callback");
|
6
6
|
});
|
7
7
|
},
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cvless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piazzai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -150,6 +150,7 @@ files:
|
|
150
150
|
- _includes/svg/stackoverflow.svg
|
151
151
|
- _includes/svg/twitter.svg
|
152
152
|
- _includes/svg/user-circle-alt.svg
|
153
|
+
- _includes/svg/x.svg
|
153
154
|
- _includes/toggler.html
|
154
155
|
- _layouts/cv.html
|
155
156
|
- _layouts/default.html
|
@@ -193,8 +194,8 @@ files:
|
|
193
194
|
- assets/js/bootstrap.min.js
|
194
195
|
- assets/js/darkmode.js
|
195
196
|
- assets/js/main.js
|
197
|
+
- assets/js/particles.json
|
196
198
|
- assets/js/particles.min.js
|
197
|
-
- assets/json/particles.json
|
198
199
|
homepage: https://github.com/piazzai/cvless
|
199
200
|
licenses:
|
200
201
|
- MIT
|
File without changes
|