jekyll-glass 0.2.1 → 0.2.2

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: d27d85ba84707ff3342a1625e906111af66f08cb2aac60014b760cdef4aaa3fd
4
- data.tar.gz: 51f2dd7fd5a350a065324a73339506430411657763930053685f2fb82b8d517d
3
+ metadata.gz: eddfc93d4a3232f78b2162db72db6c49f1252210b66acd637f0d059ee1ebec2f
4
+ data.tar.gz: a9cef10141eb390e71b410e6c9bddf4dc779b98486b9caabeb7aa5c3ab0af134
5
5
  SHA512:
6
- metadata.gz: 46f481b4d2b30c9bdcc3f5c6cb3efd80a1b9a2d2b2ef48cbcee42df942740ea49bbab8d4415e5547280fea9ae49ba93df12126c75b06d37dce9ec77faaaf0da7
7
- data.tar.gz: 0cdf47a9c85786887222a5974e260bf689971b73b10a5a03eb26fa8ea22757198f0f7a68f4ca2a06ddbd13d0a2516d943388630b2c0e21457f5aa4e8c7344903
6
+ metadata.gz: 139126e916c8caba229a7ab5ab738e50d73220138ea7fb19d0786575cca45d19a8bb798ae96394fea0b87a137b62a4d2963fc8c62fc7eb91ac24ae8f8ed2c34d
7
+ data.tar.gz: b2370133f34c662b3b3539fcfd34374666ddf0023db7767473fe3e4de788c9ba6b4580991ef8a11bbefbf3636b959b6fc6da2a873e95630e413d141151e474b7
data/README.md CHANGED
@@ -64,6 +64,8 @@ The following configuration options are available:
64
64
  - `url`, the hostname of the site, and protocol, if not `https://`
65
65
  - `social_links`, a mapping of social media links (i.e. external URLs, including the `https://`), with the same format as [Minima] 3, although no icons are generated, so I recommend setting the `title` property.
66
66
  - `static_links`, a mapping of (local) static links, with the same format as `social_links`.
67
+ - `show_excerpts`, a boolean to show excerpts on the post list. Defaults to `false`.
68
+ - `show_page_titles`, a boolean to show titles on pages. Defaults to `true`. The title of `/index` is only shown in the browser title bar.
67
69
  - `tag_page_dir`, the directory where tag pages are generated.
68
70
 
69
71
  ## A note on GitHub Pages
data/_layouts/page.html CHANGED
@@ -1,4 +1,7 @@
1
1
  ---
2
2
  layout: base
3
3
  ---
4
+ {% if site.show_page_titles != false and page.permalink != "/index" %}
5
+ <h1>{{ page.title }}</h1>
6
+ {% endif %}
4
7
  {{ content }}
data/_layouts/post.html CHANGED
@@ -1,4 +1,7 @@
1
1
  ---
2
2
  layout: base
3
3
  ---
4
+ {% if site.show_page_titles != false %}
5
+ <h1>{{ page.title }}</h1>
6
+ {% endif %}
4
7
  {{ content }}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-glass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Warnatz