mere-blog-theme 0.2 → 0.2.1

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
- SHA1:
3
- metadata.gz: 0c1dd59ca33ca4b8c07aee9bc5e2e852649c0a64
4
- data.tar.gz: 24de007ab5842c78c6af80b9ee5793251c3de4c5
2
+ SHA256:
3
+ metadata.gz: '0694a47e67a56de9917a777c8da8a23ee4eb4ff73de2d0266e7ae507dfe21978'
4
+ data.tar.gz: a8b723fc07a17f6e38bb4efbe13ba3b0d5f5a558f71ffe70739e2b1055560d54
5
5
  SHA512:
6
- metadata.gz: 93877dc8c5a12edfa5255f6c89e3901a91e032348c09c347eef9bdad7868f074498f306a3b6ab908f819a0de591b387f3b6502596cd58f84a1e021219dd0385a
7
- data.tar.gz: 7ff0c9d7d7ab7d633688715dab132a42e84b60b320cecc5aba2eea184a292403de215ed57a02a424d297cf8c9fcd240805fe6d37764c9c6e0024e5b0949112cc
6
+ metadata.gz: a089b66c791ef1eb3e5955b8930de95103e2980e104c1dae1da24362c14273ee3f9a1c189e45cabb9d5c67b79af82633a0a0645b3756b4fda8c72210a51d36e5
7
+ data.tar.gz: 88f253a70f1b00a1806ca35c881ab5a80a77da3ab7d2a72ba9ab8a64302e3a72714d6e44717dd5cb4c3d612faff6e995fca2c1953daeef829255c281c0a77581
data/README.md CHANGED
@@ -117,6 +117,23 @@ When you build your site, the authors link will appear in the navbar. The author
117
117
 
118
118
  There will also be a link back to the authors page at the bottom of the post.
119
119
 
120
+ #### Author Social Profiles
121
+
122
+ **New in 0.2.1 **
123
+
124
+ You can add links to an author's social profile pages by adding the profile name and link to the front matter in the author's page (such as _authors/chris.md). The below social profiles are available.
125
+
126
+ ```yaml
127
+ facebook: https://www.facebook.com/
128
+ twitter: https://www.twitter.com/
129
+ github: https://www.github.com/
130
+ gitlab: https://www.gitlab.com
131
+ instagram: https://www.instagram.com
132
+ linkedin: https://www.linkedin.com/
133
+ medium: https://www.medium.com/
134
+ stack_overflow: https://stackoverflow.com/
135
+ ```
136
+
120
137
  ### Google Analytics
121
138
 
122
139
  To enable Google Analytics add `google_analytics: UA-xxxxxxxx` to your `_config.yml` replacing the UA-xxxxxxxx with your Google Analytics property.
@@ -0,0 +1,50 @@
1
+ <div class="buttons">
2
+ {% if page.facebook %}
3
+ <a href="{{ page.facebook }}" class="button is-dark" target="_blank">
4
+ <i class="fab fa-facebook-f"></i>
5
+ </a>
6
+ {% endif %}
7
+
8
+ {% if page.twitter %}
9
+ <a href="{{ page.twitter }}" class="button is-dark" target="_blank">
10
+ <i class="fab fa-twitter"></i>
11
+ </a>
12
+ {% endif %}
13
+
14
+ {% if page.github %}
15
+ <a href="{{ page.github }}" class="button is-dark" target="_blank">
16
+ <i class="fab fa-github"></i>
17
+ </a>
18
+ {% endif %}
19
+
20
+ {% if page.gitlab %}
21
+ <a href="{{ page.gitlab }}" class="button is-dark" target="_blank">
22
+ <i class="fab fa-gitlab"></i>
23
+ </a>
24
+ {% endif %}
25
+
26
+ {% if page.instagram %}
27
+ <a href="{{ page.instagram }}" class="button is-dark" target="_blank">
28
+ <i class="fab fa-instagram"></i>
29
+ </a>
30
+ {% endif %}
31
+
32
+ {% if page.linkedin %}
33
+ <a href="{{ page.linkedin }}" class="button is-dark" target="_blank">
34
+ <i class="fab fa-linkedin-in"></i>
35
+ </a>
36
+ {% endif %}
37
+
38
+ {% if page.medium %}
39
+ <a href="{{ page.medium }}" class="button is-dark" target="_blank">
40
+ <i class="fab fa-medium-m"></i>
41
+ </a>
42
+ {% endif %}
43
+
44
+ {% if page.stack_overflow %}
45
+ <a href="{{ page.stack_overflow }}" class="button is-dark" target="_blank">
46
+ <i class="fab fa-stack-overflow"></i>
47
+ </a>
48
+ {% endif %}
49
+
50
+ </div>
data/_layouts/author.html CHANGED
@@ -22,6 +22,9 @@ layout: default
22
22
  {% if page.website %}
23
23
  <p class="subtitle is-6"><a href="{{ page.website }}" title="Author Website">{{ page.website }}</a></p>
24
24
  {% endif %}
25
+
26
+ {% include social-buttons.html %}
27
+
25
28
  <div class="content">
26
29
  {{ content }}
27
30
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mere-blog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrisrhymes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-18 00:00:00.000000000 Z
11
+ date: 2019-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -153,6 +153,7 @@ files:
153
153
  - _includes/navbar.html
154
154
  - _includes/pagination.html
155
155
  - _includes/post-item.html
156
+ - _includes/social-buttons.html
156
157
  - _layouts/author.html
157
158
  - _layouts/authors.html
158
159
  - _layouts/blog.html
@@ -247,8 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
248
  - !ruby/object:Gem::Version
248
249
  version: '0'
249
250
  requirements: []
250
- rubyforge_project:
251
- rubygems_version: 2.5.1
251
+ rubygems_version: 3.0.3
252
252
  signing_key:
253
253
  specification_version: 4
254
254
  summary: Mere is a minimal and simple blog theme, and nothing more, for use with Jekyll