no-style-please 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77665c7cee2e37ed6c8641d546b0e8ed714c6ac41d19bd2a818278b4a69d2d0d
4
- data.tar.gz: 0b8f170f115c247ad441317fc896cbea11ead97b185cc018f799885f7ef08ee5
3
+ metadata.gz: 34d2d19137717912c84ec6462198b055a7e0db84dec008406cf483638f131a76
4
+ data.tar.gz: e43cafef7e154c39f03c8be7bbcd4cc5c35fe94b692e02cdc164d06aa9231666
5
5
  SHA512:
6
- metadata.gz: 79c00ccddcd88a65cbed3421610166236bbbf9c0fbc7cc5576323cf13318ae76d06ab8c0de76d3e4811bf5d701849d9b813ecb2c55710c70cfcb5eb06bad0711
7
- data.tar.gz: f00adf65f23aa9dd1a25936f6c17098285d5d18c2735e17f85fe9b241bb79f254d08909219731eb7e1486ac96a7062da690d33a53b870f63dd6ce8ada4708766
6
+ metadata.gz: 00d244cb38ef8b392fa0d09f7f71ccde2ae19e09614584b2904826494adf77299a21c225060efe51e1a63251e515d3afb56bbac808e8be1dd4e5e1aa99be9d7f
7
+ data.tar.gz: 4aa8c508a7900baeded9798a5641b5890426deff0b70bc8a0da83f61638ed699c10457f779b2b7b3fdc173aa00294aaf235ab153af65ece031833514b03c9e2c
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # no style, please!
2
2
 
3
- A (nearly) no-css minimalist [Jekyll](https://jekyllrb.com/) theme, inspired by [elly's site](http://tilde.town/~elly/).
3
+ A (nearly) no-css minimalist [Jekyll](https://jekyllrb.com/) theme. Inspired by [elly's site](http://tilde.town/~elly/), expressly created for [my personal blog](https://riggraz.dev/).
4
+
5
+ [Try the demo out!](https://riggraz.dev/no-style-please/)
6
+
7
+ <img src="./screenshots/composition.png" />
4
8
 
5
9
  ## Installation
6
10
 
@@ -38,6 +42,20 @@ You can edit `_config.yml` file to customize your blog. You can change things su
38
42
 
39
43
  For further customization (e.g. layout, CSS) see the [official Jekyll's documentation](https://jekyllrb.com/docs/themes/#overriding-theme-defaults) on customizing gem-based themes.
40
44
 
45
+ ### Customize the menu
46
+
47
+ In order to add/edit/delete entries from the main menu, you have to edit the `menu.yml` file inside `_data` folder. Through that file you can define the structure of the menu. Take a look at the default configuration to get an idea of how it works and read on for a more comprehensive explanation.
48
+
49
+ The `menu.yml` file accepts the following fields:
50
+
51
+ - `entries` define a new unordered list that will contain menu entries
52
+ - each entry is marked by a `-` at the beginning of the line
53
+ - each entry has the following attributes:
54
+ - `title`, which defines the text to render for that menu entry
55
+ - `url`, which can either be a URL or `false`. If it is `false`, the entry will be rendered as plain text; otherwise the entry will be rendered as a link pointing to the specified URL. Note that the URL can either be relative or absolute.
56
+ - `post_list`, which can be `true` or `false`. If it is true, the entry will have all posts in the site as subentries. This is used to render your post list.
57
+ - `entries`, yes, you can have entries inside entries. In this way you can create nested sublists!
58
+
41
59
  ## Contributing
42
60
 
43
61
  Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. 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.
@@ -1,7 +1,7 @@
1
1
  title: no style, please! # name of the site
2
2
  author: Riccardo Graziosi # name of site's author
3
3
  email: riccardo.graziosi97@gmail.com # email of site's author
4
- url: http://github.com/riggraz/no-style-please # root address of the site
4
+ url: https://riggraz.dev/no-style-please # root address of the site
5
5
  description: > # description of the site (multiple lines allowed)
6
6
  A (nearly) no-css minimalist Jekyll theme.
7
7
 
@@ -15,6 +15,9 @@ theme_config:
15
15
  date_format: "%Y-%m-%d" # customize how date is formatted
16
16
  show_description: false # show blog description in home page
17
17
 
18
+ sass:
19
+ style: :compressed
20
+
18
21
  plugins:
19
22
  - jekyll-feed
20
23
  - jekyll-seo-tag
@@ -3,12 +3,16 @@
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1" />
5
5
 
6
+ <title>
7
+ {% if page.title %}
8
+ {{ page.title }}
9
+ {% else %}
10
+ {{ site.title }}
11
+ {% endif %}
12
+ </title>
13
+
14
+ {% seo title=false %}
6
15
  {% feed_meta %}
7
- {% seo %}
8
-
9
- {% if site.goat_counter and jekyll.environment == "production" %}
10
- {% include goat_counter.html %}
11
- {% endif %}
12
16
 
13
17
  <link rel="shortcut icon" type="image/x-icon" href="/{{ site.favicon }}" />
14
18
  <link rel="stylesheet" href="{{ site.url }}/assets/css/main.css" />
@@ -2,7 +2,7 @@
2
2
  <ul>
3
3
  {% for post in site.posts %}
4
4
  <li>
5
- {{ post.date | date: site.theme_config.date_format }} <a href="{{ post.url }}">{{ post.title | downcase }}</a>
5
+ {{ post.date | date: site.theme_config.date_format }} <a href="{{ post.url | relative_url }}">{{ post.title | downcase }}</a>
6
6
  </li>
7
7
  {% endfor %}
8
8
  </ul>
@@ -7,5 +7,9 @@
7
7
  {{ content }}
8
8
  </div>
9
9
  </main>
10
+
11
+ {% if site.goat_counter and jekyll.environment == "production" %}
12
+ {% include goat_counter.html %}
13
+ {% endif %}
10
14
  </body>
11
15
  </html>
@@ -7,7 +7,6 @@ body {
7
7
  }
8
8
 
9
9
  .wrapper {
10
- width: fit-content;
11
10
  max-width: 640px;
12
11
  margin: 4rem auto;
13
12
  padding: 0 1rem;
@@ -26,4 +25,24 @@ hr {
26
25
  table, th, td {
27
26
  border: thin solid black;
28
27
  border-collapse: collapse;
28
+ padding: 0.4rem;
29
+ }
30
+
31
+ code {
32
+ color: white;
33
+ background-color: black;
34
+ }
35
+
36
+ div.highlighter-rouge code {
37
+ display: block;
38
+ overflow-x: auto;
39
+ padding: 1rem;
40
+ }
41
+
42
+ blockquote {
43
+ font-style: italic;
44
+ border: thin solid black;
45
+ padding: 1rem;
46
+
47
+ p { margin: 0; }
29
48
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: no-style-please
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Riccardo Graziosi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-12 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.1'
19
+ version: 3.8.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.1'
26
+ version: 3.8.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-feed
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.14'
33
+ version: 0.13.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.14'
40
+ version: 0.13.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jekyll-seo-tag
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.6'
47
+ version: 2.6.1
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.6'
54
+ version: 2.6.1
55
55
  description:
56
56
  email:
57
57
  - riccardo.graziosi97@gmail.com