jekyll-glass 0.1.0 → 0.2.0

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: db3b7606039886dd5f4ab8df2a0a4c5286aaf2d05b0b79e7d5f3e341b309ac2b
4
- data.tar.gz: 1c6b47a1921fa60f5bc2f2f0395722f51fd80f72beb8ac5497b3a158ace88a2b
3
+ metadata.gz: 50c7788281cf321861c47a165f06990409f49b1db61e3c2fcfda0be4c2aa1925
4
+ data.tar.gz: a69d330bfb8aec94736219305217567f86659d1fe9367362eddd57b985affcfd
5
5
  SHA512:
6
- metadata.gz: ffad05959b146585b754a7981d4fa8e0e83700083aedd6c25ba38dd65c3339fffad15eef53c3cf1797910af0f5164b534a3072e6631de0d964a008533a6b7ffa
7
- data.tar.gz: 5c6eb011de9c8d028591a0ab7848c98584e00605c59f1354330eb53a8fc51318427798cbda8e20ee01f5f59e763263174427e4af1ff6a856e4b02198a23df287
6
+ metadata.gz: d6cd34c1d3d565cd5d670042c4b1229dab3a64d69abc4eb5a3078357df473cd3baddd7fe3402712bbe7ccf34cae43c3320958953bda1151b17d320b4fa10991c
7
+ data.tar.gz: a7b33784c19fdd5b8d6f5644c7c8412b57c3c807bab646e3962eeed05aa6acc830468ae9eea37024941201b86773acbf0821448000ef713d77227f8c3b0b345c
data/README.md CHANGED
@@ -62,7 +62,8 @@ The following configuration options are available:
62
62
  - `author`, the author of the site. This expects a mapping of `name` and `email`.
63
63
  - `baseurl`, the subpath of the site, if it is not hosted at the root of the domain
64
64
  - `url`, the hostname of the site, and protocol, if not `https://`
65
- - `social`, a mapping of social media links, with the same format as [Minima] 3, although no icons are generated, so I recommend setting the `title` property.
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
+ - `static_links`, a mapping of (local) static links, with the same format as `social_links`.
66
67
  - `tag_page_dir`, the directory where tag pages are generated.
67
68
 
68
69
  ## A note on GitHub Pages
@@ -1,5 +1,5 @@
1
1
  <div id="page-header" class="glass container">
2
- <h1 id="site-title"><a href="/index">{{ site.title }}</a></h1>
2
+ <h1 id="site-title"><a href="{{ site.baseurl }}/index">{{ site.title }}</a></h1>
3
3
  {% if site.description %}
4
4
  <p id="site-description">{{ site.description }}</p>
5
5
  {% endif %}
@@ -1,5 +1,7 @@
1
1
  <ul class="static-links">
2
- {%- include static-links.html -%}
2
+ {%- for entry in site.static_links -%}
3
+ {%- include static-item.html item = entry -%}
4
+ {%- endfor -%}
3
5
  </ul>
4
6
  <ul class="social-links">
5
7
  {%- for entry in site.social_links -%}
@@ -0,0 +1,4 @@
1
+ <li>
2
+ {% assign entry = include.item %}
3
+ <a href="{{ site.baseurl }}{{ entry.url }}" title="{{ entry.title }}">{{ entry.title }}</a>
4
+ </li>
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.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Warnatz
@@ -110,7 +110,7 @@ files:
110
110
  - _includes/navlinks.html
111
111
  - _includes/sidebar.html
112
112
  - _includes/social-item.html
113
- - _includes/static-links.html
113
+ - _includes/static-item.html
114
114
  - _includes/taglist.html
115
115
  - _layouts/base.html
116
116
  - _layouts/home.html
@@ -1,3 +0,0 @@
1
- <li><a href="/index">Home</a></li>
2
- <li><a href="/contact">Contact</a></li>
3
- <li><a href="/feed.xml">RSS</a></li>