no-style-please 0.1.2 → 0.1.3

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: ba4753979c9e7795dc66c63ead31e5c3ec034ed2cc7c4e68da45e162d4315472
4
- data.tar.gz: 786425e2bf0bf495450ba3bf65f67c63bc41da2cc772be6b833c6036ba7a597d
3
+ metadata.gz: 95c07106bf5d7b18c3aa5df670fdbc8f9ba85a41c71a097285bcf8511fecb417
4
+ data.tar.gz: 674d499660348af861bd8fd7e98973cf860d16774bd15805465e75fa2855799f
5
5
  SHA512:
6
- metadata.gz: a092197b6c1fc266754f2c0465f526b05e721d856c457d7695deb3ab81a7aa4ad2e00a643e21b6f6df0e3c9f147a4e63386289ff804b7f54a84e4f93f4465791
7
- data.tar.gz: 47bc3be275030dff70d1a182341db34d9364508f996dfd098802bceddf50a80295bfcdc0cff6dd8dd7705ac38d3fa94410ae078df7cf1fedbb241f49e0893144
6
+ metadata.gz: 7511730557147385cf633f0978d9b23be43d76c3d1b0b294b86c2620c948a4b8ae606ca6e4b6e84c79923c24555f3420352ef8d398fea174ef4835ad2fe6284a
7
+ data.tar.gz: 6424e4bcd00bdc194b335783a04c5eb9c4119e97fff7dc7da190022f0cdf660c7201a268cf4dc3be55d93caa34fa275c1afe4911300cf3556634612a8db8c2a3
data/README.md CHANGED
@@ -1,6 +1,8 @@
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/)
4
6
 
5
7
  <img src="./screenshots/composition.png" />
6
8
 
@@ -40,6 +42,20 @@ You can edit `_config.yml` file to customize your blog. You can change things su
40
42
 
41
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.
42
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
+
43
59
  ## Contributing
44
60
 
45
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.
@@ -12,6 +12,6 @@
12
12
  {% include goat_counter.html %}
13
13
  {% endif %}
14
14
 
15
- <link rel="shortcut icon" type="image/x-icon" href="/{{ site.favicon }}" />
15
+ <link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon }}" />
16
16
  <link rel="stylesheet" href="{{ site.url }}/assets/css/main.css" />
17
17
  </head>
@@ -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>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: no-style-please
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Riccardo Graziosi