minimal-mistakes-jekyll 4.0.5 → 4.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +157 -151
- data/_includes/author-profile.html +121 -32
- data/_includes/comments-providers/discourse.html +12 -12
- data/_includes/figure +12 -0
- data/_includes/paginator.html +67 -67
- data/_layouts/home.html +11 -11
- data/_sass/_base.scss +314 -314
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b28c5790ba2638ee6fd7eb74fe9fbf72b0520e5
|
4
|
+
data.tar.gz: 9358d413f6f3acc8955c52c584bbc553edf52a28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 170728eb1d349b808442b061a32f31b8cd0b283d738a600825b4e1677c35568c0c058cbcbd4884300d8a59b006dc00b748c028a94bdf1079d7e776c9ca28312b
|
7
|
+
data.tar.gz: 868a5c127440260bc18abd8b180c797a5a6723387e949d16a31098b05a9340f1c5b3e81625f46b9f7fdf59d1dcd5fe1c094534974c7f5168ad6e62913205e212
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
## [4.0.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.6)
|
2
|
+
|
3
|
+
### Enhancements
|
4
|
+
|
5
|
+
- Add [`figure` helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#figure) to make generating a `<figure>` element with a single image and caption easier. [#572](https://github.com/mmistakes/minimal-mistakes/pull/572)
|
6
|
+
- Add structured data markup for `itemprop="person"` in author profile sidebar. [#647](https://github.com/mmistakes/minimal-mistakes/pull/647)
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
- Fix improper YAML formatting of some locales. [#651](https://github.com/mmistakes/minimal-mistakes/pull/651)
|
11
|
+
|
12
|
+
### Maintenance
|
13
|
+
|
14
|
+
- Clarify "migrating to gem-theme" instructions in **Quick Start Guide**.
|
15
|
+
- Add `rake preview` task for testing `/test` during theme development.
|
16
|
+
|
1
17
|
## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5)
|
2
18
|
|
3
19
|
### Enhancements
|
data/README.md
CHANGED
@@ -1,151 +1,157 @@
|
|
1
|
-
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
2
|
-
|
3
|
-
[![GitHub release](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://github.com/mmistakes/minimal-mistakes/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
4
|
-
|
5
|
-
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
6
|
-
|
7
|
-
See what's new in the [CHANGELOG](CHANGELOG.md).
|
8
|
-
|
9
|
-
:sparkles: Minimal Mistakes is now available as a [Ruby gem](https://rubygems.org/gems/minimal-mistakes-jekyll). Consult the [Quick-Start Guide](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) and [this blog post](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-beta/) to learn how to upgrade.
|
10
|
-
|
11
|
-
[![Minimal Mistakes live preview][2]][1]
|
12
|
-
|
13
|
-
[1]: https://mmistakes.github.io/minimal-mistakes/
|
14
|
-
[2]: screenshot.png (live preview)
|
15
|
-
|
16
|
-
![layout examples](screenshot-layouts.png)
|
17
|
-
|
18
|
-
## Notable Features
|
19
|
-
|
20
|
-
- "Gemified" for easier install/upgrading
|
21
|
-
- Compatible with Jekyll 3.x and GitHub Pages
|
22
|
-
- Support for Jekyll's built-in Sass/SCSS preprocessor
|
23
|
-
- Several responsive layout options (single, archive index, splash, and paginated home page)
|
24
|
-
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
25
|
-
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
26
|
-
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and custom).
|
27
|
-
- [Google Analytics](https://www.google.com/analytics/) support.
|
28
|
-
- UI localized text in English (default), Brazilian Portuguese, Chinese, French, German, Italian, Spanish, and Turkish
|
29
|
-
|
30
|
-
## Demo Pages
|
31
|
-
|
32
|
-
| Name | Description |
|
33
|
-
| ------------------------------------------- | ----------------------------------------------------- |
|
34
|
-
| [Post with Header Image][header-image-post] | A post with a large header image. |
|
35
|
-
| [HTML Tags and Formatting Post][html-tags-post] | A variety of common markup showing how the theme styles them. |
|
36
|
-
| [Syntax Highlighting Post][syntax-post] | Post displaying highlighted code. |
|
37
|
-
| [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. |
|
38
|
-
| [Sample Collection Page][sample-collection] | Single page from a collection. |
|
39
|
-
| [Categories Archive][categories-archive] | Posts grouped by category. |
|
40
|
-
| [Tags Archive][tags-archive] | Posts grouped by tags. |
|
41
|
-
|
42
|
-
Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
|
43
|
-
|
44
|
-
[header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
|
45
|
-
[gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
|
46
|
-
[html-tags-post]: https://mmistakes.github.io/minimal-mistakes/markup/markup-html-tags-and-formatting/
|
47
|
-
[syntax-post]: https://mmistakes.github.io/minimal-mistakes/markup-syntax-highlighting/
|
48
|
-
[sample-collection]: https://mmistakes.github.io/minimal-mistakes/recipes/chocolate-chip-cookies/
|
49
|
-
[categories-archive]: https://mmistakes.github.io/minimal-mistakes/categories/
|
50
|
-
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
|
51
|
-
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
52
|
-
|
53
|
-
## Usage
|
54
|
-
|
55
|
-
For detailed instructions on how to configure, customize, add content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
|
56
|
-
|
57
|
-
**Note:** Gem version of the theme requires Jekyll v3.3+ and is not currently supported on [GitHub Pages](https://pages.github.com/). You can still use the theme with GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)".
|
58
|
-
|
59
|
-
## Quick Start
|
60
|
-
|
61
|
-
Add this line to your Jekyll site's `Gemfile`:
|
62
|
-
|
63
|
-
```ruby
|
64
|
-
gem "minimal-mistakes-jekyll"
|
65
|
-
```
|
66
|
-
|
67
|
-
Add this line to your Jekyll site's `_config.yml` file:
|
68
|
-
|
69
|
-
```yaml
|
70
|
-
theme: minimal-mistakes-jekyll
|
71
|
-
```
|
72
|
-
|
73
|
-
Then run Bundler to install the theme gem and dependencies:
|
74
|
-
|
75
|
-
```bash
|
76
|
-
bundle install
|
77
|
-
```
|
78
|
-
|
79
|
-
To update the theme run `bundle update`.
|
80
|
-
|
81
|
-
---
|
82
|
-
|
83
|
-
## Contributing
|
84
|
-
|
85
|
-
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
86
|
-
|
87
|
-
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
|
88
|
-
|
89
|
-
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
|
90
|
-
|
91
|
-
### Pull Requests
|
92
|
-
|
93
|
-
To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way.
|
94
|
-
|
95
|
-
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
-
|
112
|
-
-
|
113
|
-
-
|
114
|
-
|
115
|
-
###
|
116
|
-
|
117
|
-
- [
|
118
|
-
- [
|
119
|
-
- [
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
-
|
124
|
-
- [jQuery
|
125
|
-
- [
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
SOFTWARE
|
1
|
+
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
2
|
+
|
3
|
+
[![GitHub release](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://github.com/mmistakes/minimal-mistakes/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
4
|
+
|
5
|
+
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
6
|
+
|
7
|
+
See what's new in the [CHANGELOG](CHANGELOG.md).
|
8
|
+
|
9
|
+
:sparkles: Minimal Mistakes is now available as a [Ruby gem](https://rubygems.org/gems/minimal-mistakes-jekyll). Consult the [Quick-Start Guide](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) and [this blog post](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-beta/) to learn how to upgrade.
|
10
|
+
|
11
|
+
[![Minimal Mistakes live preview][2]][1]
|
12
|
+
|
13
|
+
[1]: https://mmistakes.github.io/minimal-mistakes/
|
14
|
+
[2]: screenshot.png (live preview)
|
15
|
+
|
16
|
+
![layout examples](screenshot-layouts.png)
|
17
|
+
|
18
|
+
## Notable Features
|
19
|
+
|
20
|
+
- "Gemified" for easier install/upgrading
|
21
|
+
- Compatible with Jekyll 3.x and GitHub Pages
|
22
|
+
- Support for Jekyll's built-in Sass/SCSS preprocessor
|
23
|
+
- Several responsive layout options (single, archive index, splash, and paginated home page)
|
24
|
+
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
25
|
+
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
26
|
+
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and custom).
|
27
|
+
- [Google Analytics](https://www.google.com/analytics/) support.
|
28
|
+
- UI localized text in English (default), Brazilian Portuguese, Chinese, French, German, Italian, Spanish, and Turkish
|
29
|
+
|
30
|
+
## Demo Pages
|
31
|
+
|
32
|
+
| Name | Description |
|
33
|
+
| ------------------------------------------- | ----------------------------------------------------- |
|
34
|
+
| [Post with Header Image][header-image-post] | A post with a large header image. |
|
35
|
+
| [HTML Tags and Formatting Post][html-tags-post] | A variety of common markup showing how the theme styles them. |
|
36
|
+
| [Syntax Highlighting Post][syntax-post] | Post displaying highlighted code. |
|
37
|
+
| [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. |
|
38
|
+
| [Sample Collection Page][sample-collection] | Single page from a collection. |
|
39
|
+
| [Categories Archive][categories-archive] | Posts grouped by category. |
|
40
|
+
| [Tags Archive][tags-archive] | Posts grouped by tags. |
|
41
|
+
|
42
|
+
Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
|
43
|
+
|
44
|
+
[header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
|
45
|
+
[gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
|
46
|
+
[html-tags-post]: https://mmistakes.github.io/minimal-mistakes/markup/markup-html-tags-and-formatting/
|
47
|
+
[syntax-post]: https://mmistakes.github.io/minimal-mistakes/markup-syntax-highlighting/
|
48
|
+
[sample-collection]: https://mmistakes.github.io/minimal-mistakes/recipes/chocolate-chip-cookies/
|
49
|
+
[categories-archive]: https://mmistakes.github.io/minimal-mistakes/categories/
|
50
|
+
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
|
51
|
+
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
52
|
+
|
53
|
+
## Usage
|
54
|
+
|
55
|
+
For detailed instructions on how to configure, customize, add content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
|
56
|
+
|
57
|
+
**Note:** Gem version of the theme requires Jekyll v3.3+ and is not currently supported on [GitHub Pages](https://pages.github.com/). You can still use the theme with GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)".
|
58
|
+
|
59
|
+
## Quick Start
|
60
|
+
|
61
|
+
Add this line to your Jekyll site's `Gemfile`:
|
62
|
+
|
63
|
+
```ruby
|
64
|
+
gem "minimal-mistakes-jekyll"
|
65
|
+
```
|
66
|
+
|
67
|
+
Add this line to your Jekyll site's `_config.yml` file:
|
68
|
+
|
69
|
+
```yaml
|
70
|
+
theme: minimal-mistakes-jekyll
|
71
|
+
```
|
72
|
+
|
73
|
+
Then run Bundler to install the theme gem and dependencies:
|
74
|
+
|
75
|
+
```bash
|
76
|
+
bundle install
|
77
|
+
```
|
78
|
+
|
79
|
+
To update the theme run `bundle update`.
|
80
|
+
|
81
|
+
---
|
82
|
+
|
83
|
+
## Contributing
|
84
|
+
|
85
|
+
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
86
|
+
|
87
|
+
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
|
88
|
+
|
89
|
+
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
|
90
|
+
|
91
|
+
### Pull Requests
|
92
|
+
|
93
|
+
To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way.
|
94
|
+
|
95
|
+
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
|
96
|
+
|
97
|
+
## Development
|
98
|
+
|
99
|
+
To set up your environment to develop this theme, run `bundle install`.
|
100
|
+
|
101
|
+
To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using your theme and the contents of the `test/` directory. As you make modifications to your theme and to the example site, your site will regenerate and you should see the changes in the browser after a refresh.
|
102
|
+
|
103
|
+
---
|
104
|
+
|
105
|
+
## Credits
|
106
|
+
|
107
|
+
### Creator
|
108
|
+
|
109
|
+
**Michael Rose**
|
110
|
+
|
111
|
+
- <https://mademistakes.com>
|
112
|
+
- <https://twitter.com/mmistakes>
|
113
|
+
- <https://github.com/mmistakes>
|
114
|
+
|
115
|
+
### Icons + Demo Images:
|
116
|
+
|
117
|
+
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
118
|
+
- [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
|
119
|
+
- [Unsplash](https://unsplash.com/)
|
120
|
+
|
121
|
+
### Other:
|
122
|
+
|
123
|
+
- [Jekyll](http://jekyllrb.com/)
|
124
|
+
- [jQuery](http://jquery.com/)
|
125
|
+
- [Susy](http://susy.oddbird.net/)
|
126
|
+
- [Breakpoint](http://breakpoint-sass.com/)
|
127
|
+
- [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
|
128
|
+
- [FitVids.JS](http://fitvidsjs.com/)
|
129
|
+
- Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV)
|
130
|
+
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
|
131
|
+
- [Stickyfill](https://github.com/wilddeer/stickyfill)
|
132
|
+
|
133
|
+
---
|
134
|
+
|
135
|
+
## License
|
136
|
+
|
137
|
+
The MIT License (MIT)
|
138
|
+
|
139
|
+
Copyright (c) 2016 Michael Rose
|
140
|
+
|
141
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
142
|
+
of this software and associated documentation files (the "Software"), to deal
|
143
|
+
in the Software without restriction, including without limitation the rights
|
144
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
145
|
+
copies of the Software, and to permit persons to whom the Software is
|
146
|
+
furnished to do so, subject to the following conditions:
|
147
|
+
|
148
|
+
The above copyright notice and this permission notice shall be included in all
|
149
|
+
copies or substantial portions of the Software.
|
150
|
+
|
151
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
152
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
153
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
154
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
155
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
156
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
157
|
+
SOFTWARE.
|
@@ -1,5 +1,7 @@
|
|
1
1
|
{% if page.author and site.data.authors[page.author] %}
|
2
|
-
{% assign author = site.data.authors[page.author] %}
|
2
|
+
{% assign author = site.data.authors[page.author] %}
|
3
|
+
{% else %}
|
4
|
+
{% assign author = site.author %}
|
3
5
|
{% endif %}
|
4
6
|
|
5
7
|
<div itemscope itemtype="http://schema.org/Person">
|
@@ -7,95 +9,182 @@
|
|
7
9
|
{% if author.avatar %}
|
8
10
|
<div class="author__avatar">
|
9
11
|
{% if author.avatar contains "://" %}
|
10
|
-
|
12
|
+
<img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
|
11
13
|
{% else %}
|
12
|
-
|
14
|
+
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
|
13
15
|
{% endif %}
|
14
16
|
</div>
|
15
17
|
{% endif %}
|
16
18
|
|
17
19
|
<div class="author__content">
|
18
|
-
<h3 class="author__name">{{ author.name }}</h3>
|
19
|
-
{% if author.bio %}
|
20
|
+
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
21
|
+
{% if author.bio %}
|
22
|
+
<p class="author__bio" itemprop="description">
|
23
|
+
{{ author.bio }}
|
24
|
+
</p>
|
25
|
+
{% endif %}
|
20
26
|
</div>
|
21
27
|
|
22
28
|
<div class="author__urls-wrapper">
|
23
29
|
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
|
24
30
|
<ul class="author__urls social-icons">
|
25
31
|
{% if author.location %}
|
26
|
-
<li
|
32
|
+
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
|
33
|
+
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i>
|
34
|
+
<span itemprop="name"> {{ author.location }} </span>
|
35
|
+
</li>
|
27
36
|
{% endif %}
|
37
|
+
|
28
38
|
{% if author.uri %}
|
29
|
-
<li
|
30
|
-
|
39
|
+
<li>
|
40
|
+
<a href="{{ author.uri }}" itemprop="url">
|
41
|
+
<i class="fa fa-fw fa-chain" aria-hidden="true"></i>
|
42
|
+
{{ site.data.ui-text[site.locale].website_label | default: "Website" }}
|
43
|
+
</a>
|
44
|
+
</li>
|
45
|
+
{% endif %}
|
46
|
+
|
31
47
|
{% if author.email %}
|
32
|
-
<li
|
33
|
-
|
48
|
+
<li>
|
49
|
+
<a href="mailto:{{ author.email }}">
|
50
|
+
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i>
|
51
|
+
<meta itemprop="email" content="{{ author.email }}" />
|
52
|
+
{{ site.data.ui-text[site.locale].email_label | default: "Email" }}
|
53
|
+
</a>
|
54
|
+
</li>
|
55
|
+
{% endif %}
|
56
|
+
|
34
57
|
{% if author.keybase %}
|
35
|
-
<li><a href="https://keybase.io/{{ author.keybase }}
|
58
|
+
<li><a href="https://keybase.io/{{ author.keybase }} " itemprop="sameAs">
|
59
|
+
<i class="fa fa-fw fa-key" aria-hidden="true"></i>
|
60
|
+
Keybase
|
61
|
+
</a></li>
|
36
62
|
{% endif %}
|
37
63
|
{% if author.twitter %}
|
38
|
-
<li><a href="https://twitter.com/{{ author.twitter }}"
|
64
|
+
<li><a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
|
65
|
+
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i>
|
66
|
+
Twitter
|
67
|
+
</a></li>
|
39
68
|
{% endif %}
|
40
69
|
{% if author.facebook %}
|
41
|
-
<li><a href="https://www.facebook.com/{{ author.facebook }}"
|
70
|
+
<li><a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
|
71
|
+
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i>
|
72
|
+
Facebook
|
73
|
+
</a></li>
|
42
74
|
{% endif %}
|
43
75
|
{% if author.google_plus %}
|
44
|
-
<li><a href="https://plus.google.com/+{{ author.google_plus }}"
|
76
|
+
<li><a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs">
|
77
|
+
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i>
|
78
|
+
Google+
|
79
|
+
</a></li>
|
45
80
|
{% endif %}
|
46
81
|
{% if author.linkedin %}
|
47
|
-
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"
|
82
|
+
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
|
83
|
+
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i>
|
84
|
+
LinkedIn
|
85
|
+
</a></li>
|
48
86
|
{% endif %}
|
49
87
|
{% if author.xing %}
|
50
|
-
<li><a href="https://www.xing.com/profile/{{ author.xing }}"
|
88
|
+
<li><a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
|
89
|
+
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i>
|
90
|
+
XING
|
91
|
+
</a></li>
|
51
92
|
{% endif %}
|
52
93
|
{% if author.instagram %}
|
53
|
-
<li><a href="https://instagram.com/{{ author.instagram }}"
|
94
|
+
<li><a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
|
95
|
+
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i>
|
96
|
+
Instagram
|
97
|
+
</a></li>
|
54
98
|
{% endif %}
|
55
99
|
{% if author.tumblr %}
|
56
|
-
<li><a href="https://{{ author.tumblr }}.tumblr.com"
|
100
|
+
<li><a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
|
101
|
+
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i>
|
102
|
+
Tumblr
|
103
|
+
</a></li>
|
57
104
|
{% endif %}
|
58
105
|
{% if author.bitbucket %}
|
59
|
-
<li><a href="https://bitbucket.org/{{ author.bitbucket }}"
|
106
|
+
<li><a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
|
107
|
+
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i>
|
108
|
+
Bitbucket
|
109
|
+
</a></li>
|
60
110
|
{% endif %}
|
61
111
|
{% if author.github %}
|
62
|
-
<li><a href="https://github.com/{{ author.github }}"
|
112
|
+
<li><a href="https://github.com/{{ author.github }}" itemprop="sameAs">
|
113
|
+
<i class="fa fa-fw fa-github" aria-hidden="true"></i>
|
114
|
+
Github
|
115
|
+
</a></li>
|
63
116
|
{% endif %}
|
64
117
|
{% if author.stackoverflow %}
|
65
|
-
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}"
|
118
|
+
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
|
119
|
+
<i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i>
|
120
|
+
Stackoverflow
|
121
|
+
</a></li>
|
66
122
|
{% endif %}
|
67
123
|
{% if author.lastfm %}
|
68
|
-
<li><a href="https://last.fm/user/{{ author.lastfm }}"
|
124
|
+
<li><a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
|
125
|
+
<i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i>
|
126
|
+
Last.fm
|
127
|
+
</a></li>
|
69
128
|
{% endif %}
|
70
129
|
{% if author.dribbble %}
|
71
|
-
<li><a href="https://dribbble.com/{{ author.dribbble }}"
|
130
|
+
<li><a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
|
131
|
+
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i>
|
132
|
+
Dribbble
|
133
|
+
</a></li>
|
72
134
|
{% endif %}
|
73
135
|
{% if author.pinterest %}
|
74
|
-
<li><a href="https://www.pinterest.com/{{ author.pinterest }}"
|
136
|
+
<li><a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
|
137
|
+
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i>
|
138
|
+
Pinterest
|
139
|
+
</a></li>
|
75
140
|
{% endif %}
|
76
141
|
{% if author.foursquare %}
|
77
|
-
<li><a href="https://foursquare.com/{{ author.foursquare }}"
|
142
|
+
<li><a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
|
143
|
+
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i>
|
144
|
+
Foursquare
|
145
|
+
</a></li>
|
78
146
|
{% endif %}
|
79
147
|
{% if author.steam %}
|
80
|
-
<li><a href="https://steamcommunity.com/id/{{ author.steam }}"
|
148
|
+
<li><a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
|
149
|
+
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i>
|
150
|
+
Steam
|
151
|
+
</a></li>
|
81
152
|
{% endif %}
|
82
153
|
{% if author.youtube %}
|
83
|
-
<li><a href="https://www.youtube.com/user/{{ author.youtube }}"
|
154
|
+
<li><a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
|
155
|
+
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i>
|
156
|
+
YouTube
|
157
|
+
</a></li>
|
84
158
|
{% endif %}
|
85
159
|
{% if author.soundcloud %}
|
86
|
-
<li><a href="https://soundcloud.com/{{ author.soundcloud }}"
|
160
|
+
<li><a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
|
161
|
+
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i>
|
162
|
+
Soundcloud
|
163
|
+
</a></li>
|
87
164
|
{% endif %}
|
88
165
|
{% if author.weibo %}
|
89
|
-
<li><a href="https://www.weibo.com/{{ author.weibo }}"
|
166
|
+
<li><a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
|
167
|
+
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i>
|
168
|
+
Weibo
|
169
|
+
</a></li>
|
90
170
|
{% endif %}
|
91
171
|
{% if author.flickr %}
|
92
|
-
<li><a href="https://www.flickr.com/{{ author.flickr }}"
|
172
|
+
<li><a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
|
173
|
+
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i>
|
174
|
+
Flickr
|
175
|
+
</a></li>
|
93
176
|
{% endif %}
|
94
177
|
{% if author.codepen %}
|
95
|
-
<li><a href="https://codepen.io/{{ author.codepen }}"
|
178
|
+
<li><a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
|
179
|
+
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i>
|
180
|
+
CodePen
|
181
|
+
</a></li>
|
96
182
|
{% endif %}
|
97
183
|
{% if author.vine %}
|
98
|
-
<li><a href="https://vine.co/u/{{ author.vine }}"
|
184
|
+
<li><a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
|
185
|
+
<i class="fa fa-fw fa-vine" aria-hidden="true"></i>
|
186
|
+
Vine
|
187
|
+
</a></li>
|
99
188
|
{% endif %}
|
100
189
|
</ul>
|
101
190
|
</div>
|