mpiwg-jekyll-theme 0.2.2 → 0.3.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 +4 -4
- data/README.md +1 -1
- data/_layouts/people.html +25 -0
- data/_plugins/mpiwg-intro.rb +17 -0
- data/assets/main.scss +14 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03d17f72fb23c417b44276b949a39aa17de6dcfde4c6529b33c7ad6c48e4801b
|
|
4
|
+
data.tar.gz: cf76411c30b596c9a39249b17e5c6eb60c03a719faf460f7c658d1dbf0e06bb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c572bfdd7e62284c34563988cf35b5ee7e8ef19b1081fc4505de9daa04030f2d37315d939f3e7c404cdd0cde33507c656a0d4969863b9b4c98a68447c38b98f5
|
|
7
|
+
data.tar.gz: c6551959872e62a85665520158185e22b40c33010ac405884273b820b6bf08cd28ca2dd07628d232a297992a0048e89c7f71e4d8507df94160f19878798f24d8
|
data/README.md
CHANGED
|
@@ -14,7 +14,7 @@ To add a custom directory to your theme-gem, please edit the regexp in `mpiwg-je
|
|
|
14
14
|
1. Bump version number in `mpiwg-jekyll-theme.gemspec` (use semantic versioning)
|
|
15
15
|
2. Commit all your changes to git
|
|
16
16
|
3. Build theme with `gem build mpiwg-jekyll-theme`
|
|
17
|
-
4. Publish theme with `gem push jekyll-theme
|
|
17
|
+
4. Publish theme with `gem push mpiwg-jekyll-theme-*.gem`
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
## Installation
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
title: People
|
|
4
|
+
permalink: /people
|
|
5
|
+
titleimage: /assets/img/sphaera-img.jpg
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
{{content}}
|
|
9
|
+
|
|
10
|
+
<ul class="peoplelist">
|
|
11
|
+
{% for person in site.people %}
|
|
12
|
+
<li>
|
|
13
|
+
<div class="image">
|
|
14
|
+
<img width="220px" src="{{ person.image }}" >
|
|
15
|
+
</div>
|
|
16
|
+
<div class="details">
|
|
17
|
+
<h3><a href="{{ person.profile }}">{{ person.name }}</a></h3>
|
|
18
|
+
<h4>{{ person.position }}</h4>
|
|
19
|
+
<p>
|
|
20
|
+
{{ person.content }}
|
|
21
|
+
</p>
|
|
22
|
+
</div>
|
|
23
|
+
</li>
|
|
24
|
+
{% endfor %}
|
|
25
|
+
</ul>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module Jekyll
|
|
2
|
+
class RenderIntroBlock < Liquid::Tag
|
|
3
|
+
|
|
4
|
+
def initialize(tag_name, text, tokens)
|
|
5
|
+
super
|
|
6
|
+
@text = text
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
require "kramdown"
|
|
10
|
+
def render(context)
|
|
11
|
+
"<p class='intro'>#{ @text }</p>"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
Liquid::Template.register_tag('intro', Jekyll::RenderIntroBlock)
|
data/assets/main.scss
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mpiwg-jekyll-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Kräutli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -66,7 +66,9 @@ files:
|
|
|
66
66
|
- _includes/navigation.html
|
|
67
67
|
- _layouts/default.html
|
|
68
68
|
- _layouts/page.html
|
|
69
|
+
- _layouts/people.html
|
|
69
70
|
- _layouts/post.html
|
|
71
|
+
- _plugins/mpiwg-intro.rb
|
|
70
72
|
- assets/main.scss
|
|
71
73
|
- assets/mpiwgLogo.png
|
|
72
74
|
- assets/normalize.css
|