jekyll-theme-type-on-strap 4.0.2 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -17
  3. data/_includes/blog.html +71 -0
  4. data/_includes/gallery.html +3 -19
  5. data/_includes/head.html +21 -12
  6. data/_includes/icons.html +1 -1
  7. data/_includes/navbar.html +18 -9
  8. data/_includes/portfolio.html +13 -14
  9. data/_includes/post_nav.html +3 -3
  10. data/_includes/share_buttons.html +76 -0
  11. data/_includes/tags_list.html +4 -4
  12. data/_layouts/custom.html +35 -0
  13. data/_layouts/default.html +1 -1
  14. data/_layouts/feed.xml +4 -4
  15. data/_layouts/home.html +4 -49
  16. data/_layouts/page.html +10 -2
  17. data/_layouts/post.html +21 -8
  18. data/_layouts/search.html +2 -29
  19. data/_layouts/tags.html +12 -8
  20. data/_sass/base/_global.scss +46 -23
  21. data/_sass/base/_variables.scss +1 -1
  22. data/_sass/external/_syntax.scss +10 -1
  23. data/_sass/includes/_footer.scss +4 -1
  24. data/_sass/includes/_navbar.scss +20 -2
  25. data/_sass/includes/_portfolio.scss +42 -66
  26. data/_sass/includes/_post_nav.scss +6 -0
  27. data/_sass/includes/_share_buttons.scss +29 -0
  28. data/_sass/layouts/_index.scss +10 -2
  29. data/_sass/layouts/_posts.scss +13 -6
  30. data/_sass/layouts/_tags.scss +1 -0
  31. data/_sass/type-on-strap.scss +2 -1
  32. data/assets/css/bootstrap-iso.less +12 -0
  33. data/assets/css/vendor/bootstrap-iso.css +8232 -0
  34. data/assets/css/vendor/bootstrap-iso.min.css +7 -8
  35. data/assets/css/vendor/bootstrap.css +9030 -0
  36. data/assets/data/search.json +31 -0
  37. data/assets/js/.DS_Store +0 -0
  38. data/assets/js/main.min.js +1 -1
  39. data/assets/js/partials/.DS_Store +0 -0
  40. data/assets/js/{katex_init.js → partials/katex_init.js} +3 -1
  41. data/assets/js/partials/masonry_init.js +22 -0
  42. data/assets/js/partials/navbar.js +23 -0
  43. metadata +34 -15
  44. data/_layouts/bootstrap.html +0 -36
  45. data/assets/js/navbar.js +0 -31
  46. data/assets/js/vendor/bootstrap.min.js +0 -12
  47. data/assets/js/vendor/jquery-3.2.1.min.js +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b273db92d8940ac27645cb504ab029464863b073
4
- data.tar.gz: 3c1920465d7e0d64ba242e80ff807882d13cbc19
3
+ metadata.gz: 49c0b2d64d23fe34e69da21eb5e040e66ff57f9a
4
+ data.tar.gz: f584390bb7a3236ab2ea0156556b3603d26b197c
5
5
  SHA512:
6
- metadata.gz: b682c92b80c3654342a78908dfb0c0eab11ae5d45de34194524f2d9f33bd661f24a67e7efee09be3efe690975b28de9800db0b88d38d405dbc2d6ae17b585bb5
7
- data.tar.gz: 5a1ef9dea068662ebae7091f07ea92103ac804598624abdd2e555110131ce7fb116726ed2981f1aa6224994b62133b58d62feaa423d016dc8aa153ab74f371b1
6
+ metadata.gz: c0afbb97b0b21b2a24d92f33d76f9732c79f982f8caca65166f8096b5af24833df4b9b4015806dcee099f17e32a3ed2ca6a10c1557b5de7c6e3c117c751616cb
7
+ data.tar.gz: f2cf3a77f48ab013af6632daf3558d526f031e04ef5c63a61e2cff5bad7c22ed6891fe76f0df1e67706e00e3ada2cf9c5ba6e46f860e136eea28e271b169b6a3
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Type on Strap
2
2
 
3
- [![Build Status](https://travis-ci.org/Sylhare/Type-on-Strap.svg?branch=master)](https://travis-ci.org/Sylhare/Type-on-Strap)
3
+ [![Build Status](https://travis-ci.org/sylhare/Type-on-Strap.svg?branch=master)](https://travis-ci.org/sylhare/Type-on-Strap)
4
4
  [![Gem Version](https://badge.fury.io/rb/type-on-strap.svg)](https://badge.fury.io/rb/type-on-strap)
5
5
 
6
6
  A free and open-source [Jekyll](https://jekyllrb.com) theme. Based on Rohan Chandra [type-theme](https://github.com/rohanchandra/type-theme) with a few new features:
@@ -58,7 +58,8 @@ jekyll-theme-basically-basic
58
58
  ├── pages
59
59
  | ├── 404.md # To be displayed when url is wrong
60
60
  | ├── about.md # About example page
61
- | ├── portfolio.html # Portfolio bootstrapped page
61
+ | ├── gallery.md # Gallery page for your photos
62
+ | ├── portfolio.md # Portfolio page for your projects
62
63
  | ├── search.html # Search page
63
64
  | └── search.json # Specify the search target (page, post, collection)
64
65
  ├── _config.yml # sample configuration
@@ -235,15 +236,18 @@ This are the basic features you can use with the `post` layout.
235
236
  ---
236
237
  layout: post
237
238
  title: Hello World # Title of the page
238
- subtitle: "This is a subtitle" # A subtitle can be displayed below your title
239
+ hide_title: true # Hide the title when displaying the post, but shown in lists of posts
239
240
  feature-img: "assets/img/sample.png" # Add a feature-image to the post
240
241
  thumbnail: "assets/img/thumbnail/sample-th.png" # Add a thumbnail image on blog view
242
+ bootstrap: true # Add bootstrap to the page
241
243
  tags: [sample, markdown, html]
242
244
  ---
243
245
  ```
244
246
 
245
247
  With `thumbnail`, you can add a smaller image than the `feature-img`. If you don't want/have a thumbnail you can still use the same image as the feature one.
246
248
 
249
+ So the **bootstrap** is not mandatory and is only usefull if you want to add bootstrapped content in your page. It will respect the page and theme layout, mind the padding on the sides.
250
+
247
251
  ### Layout: Page
248
252
 
249
253
  The page layout have a bit more features explained here.
@@ -262,16 +266,6 @@ tags: [sample, markdown, html]
262
266
 
263
267
  The hide only hides your page from the navigation bar, it is however still generated and can be access through its link. Use the `_draft` folder to keep files from being generated on your site.
264
268
 
265
- ### Layout: Bootstrap
266
-
267
- This is the page layout modified to have bootstrap activated to format your content accordingly with the theme.
268
-
269
- ```yml
270
- ---
271
- layout: bootstrap
272
- ---
273
- ```
274
-
275
269
  ### Layout: Default
276
270
 
277
271
  This layout includes the head, navigation bar and footer around your content.
@@ -287,14 +281,16 @@ Here are the documentation for the other feature pages that can be added through
287
281
  This page is the used as the home page of the template (in the `index.html`). It displays the list of article in `_posts`.
288
282
  You can use this layout in another page (adding a title to it will make it appear in the navigation bar).
289
283
 
284
+ The recommended width and height for the home picture is width:`2484px;` and height:`1280px` which are the dimension of the actual picture for it to be rolling down as you scroll the page.
285
+
290
286
  ### Portfolio
291
287
 
292
- Portfolio is a feature bootstrapped page that will take all the markdown/html files in the `_portfolio` folder to create a 3-columns image portfolio matrix.
288
+ Portfolio is a feature page that will take all the markdown/html files in the `_portfolio` folder to create a 3-columns image portfolio matrix.
293
289
 
294
290
  To use the portfolio, simply create a `portfolio.md` with this information inside:
295
291
  ```yml
296
292
  ---
297
- layout: bootstrap
293
+ layout: page
298
294
  title : Portfolio
299
295
  ---
300
296
 
@@ -320,7 +316,7 @@ gallery: "assets/img/pexels"
320
316
 
321
317
  The search feature is based on [Simple-Jekyll-search](https://github.com/christian-fei/Simple-Jekyll-Search) there is a `search.json` file that will create a list of all of the site posts, pages and portfolios.
322
318
 
323
- Then there's a `search.js` displaying the formated results entered in the `search.html` page.
319
+ Then there's a `search.js` displaying the formatted results entered in the `search.html` page.
324
320
 
325
321
 
326
322
  The search page can be enable/disable in the navigation bar through the `_config.yml` via:
@@ -333,7 +329,7 @@ special_page:
333
329
 
334
330
  ### Tags
335
331
 
336
- Tags should be placed between `[]` in your post metadata. Seperate each tag with a comma. Tags are recommended for posts and portfolio items.
332
+ Tags should be placed between `[]` in your post metadata. Separate each tag with a comma. Tags are recommended for posts and portfolio items.
337
333
 
338
334
  For example:
339
335
 
@@ -0,0 +1,71 @@
1
+ <div class="posts">
2
+ {% for post in paginator.posts %}
3
+ <div class="post-teaser">
4
+ {% if post.thumbnail %}
5
+ <div class="post-img">
6
+ <img alt="{{ post.title }}" src="{{ post.thumbnail | relative_url }}">
7
+ </div>
8
+ {% endif %}
9
+ <span>
10
+ <header>
11
+ <h1>
12
+ <a alt="{{ post.title }}" class="post-link" href="{{ post.url | relative_url }}">
13
+ {{ post.title }}
14
+ </a>
15
+ </h1>
16
+ <p class="meta">
17
+ {{ post.date | date: "%B %-d, %Y" }}
18
+ </p>
19
+ </header>
20
+ <div class="excerpt">
21
+ {{ post.excerpt | strip_html | escape }}
22
+ </div>
23
+ </span>
24
+ </div>
25
+ {% endfor %}
26
+ </div>
27
+
28
+ {% if paginator.total_pages > 1 %}
29
+ <div class="pagination" style="display: inline-block;">
30
+ <div style="position: absolute; left: 35%;">
31
+ {% if paginator.previous_page %}
32
+ <!-- << -->
33
+ {% if paginator.previous_page != 1 %}
34
+ <a alt="{{ site.theme_settings.str_previous_page }}"
35
+ href="{{ '/' | relative_url }}" style="margin-right:0" class="button">
36
+ <i class="fa fa-angle-double-left"></i>
37
+ </a>
38
+ {% endif %}
39
+ <!-- < previous -->
40
+ <a href="{{ paginator.previous_page_path | relative_url }}" {% if paginator.previous_page != 1 %}style="margin-left:0"{% endif %} class="button">
41
+ <i class="fa fa-chevron-left"></i>
42
+ {{ site.theme_settings.str_previous_page }}
43
+ </a>
44
+ {% endif %}
45
+ </div>
46
+
47
+ <!-- Centering not working well on all format
48
+ <div style="position: absolute; left: 50%;">
49
+ <div style="position: relative; left: -50%;">
50
+ {{ paginator.page }} / {{ paginator.total_pages }}
51
+ </div>
52
+ </div> -->
53
+
54
+ <div style="position: absolute; right: 35%;">
55
+ {% if paginator.next_page %}
56
+ <!-- next > -->
57
+ <a alt="{{ site.theme_settings.str_next_page }}"
58
+ href="{{ paginator.next_page_path | relative_url }}" {% if paginator.next_page != paginator.total_pages %}style="margin-right:0"{% endif %} class="button">
59
+ {{ site.theme_settings.str_next_page }}
60
+ <i class="fa fa-chevron-right"></i>
61
+ </a>
62
+ <!-- >> -->
63
+ {% if paginator.next_page != paginator.total_pages %}
64
+ <a href="{{ site.paginate_path | relative_url | replace: ':num', paginator.total_pages }}" style="margin-left:0" class="button">
65
+ <i class="fa fa-angle-double-right"></i>
66
+ </a>
67
+ {% endif %}
68
+ {% endif %}
69
+ </div>
70
+ </div>
71
+ {% endif %}
@@ -13,28 +13,12 @@ html { overflow-y: scroll; }
13
13
  {% for image in site.static_files %}
14
14
  {% if image.path contains include.gallery_path %}
15
15
 
16
- <img src="{{ image.path | prepend: site.baseurl }}" alt="" class="grid-item" style="padding: 0;">
16
+ <img src="{{ image.path | relative_url }}" alt="" class="grid-item" style="padding: 0;">
17
17
 
18
18
  {% endif %}
19
19
  {% endfor %}
20
20
  </div>
21
21
 
22
22
  <!-- Require JQuery >= 3.2.1 Requireas well -->
23
- <script src="{{ site.baseurl }}/assets/js/vendor/masonry.pkgd.min.js" type="text/javascript"></script>
24
- <script src="{{ site.baseurl }}/assets/js/vendor/imagesloaded.min.js" type="text/javascript"></script>
25
-
26
- <script>
27
-
28
- // init Masonry
29
- var $grid = $('.grid').masonry({
30
- itemSelector: '.grid-item',
31
- columnWidth: '.grid-sizer',
32
- gutter: '.gutter-sizer',
33
- percentPosition: true
34
- });
35
- // layout Masonry after each image loads
36
- $grid.imagesLoaded().progress( function() {
37
- $grid.masonry();
38
- });
39
-
40
- </script>
23
+ <script src="{{ "/assets/js/vendor/masonry.pkgd.min.js" | relative_url }}" type="text/javascript"></script>
24
+ <script src="{{ "/assets/js/vendor/imagesloaded.min.js" | relative_url }}" type="text/javascript"></script>
@@ -2,27 +2,36 @@
2
2
  <meta charset="utf-8">
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
4
4
 
5
- <!-- JQuery (used for bootstrap and jekyll search) -->
6
- <script src="{{ site.baseurl }}/assets/js/vendor/jquery-3.2.1.min.js" ></script>
7
-
8
- <!-- Main JS (navbar.js and katex_init.js)-->
9
- <script defer=true src="{{ site.baseurl }}/assets/js/main.min.js"></script>
5
+ <!-- Main JS (navbar.js, katex_init.js and masonry_init.js)-->
6
+ <script defer=true src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
10
7
 
11
8
  <!-- CSS -->
12
- <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
9
+ <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
13
10
 
14
11
  <!--Favicon-->
15
- <link rel="shortcut icon" href="{{ site.baseurl }}/{{ site.theme_settings.favicon }}" type="image/x-icon">
12
+ <link rel="shortcut icon" href="{{ site.theme_settings.favicon | relative_url }}" type="image/x-icon">
16
13
 
17
14
  <!-- Canonical -->
18
- <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
15
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
19
16
 
20
17
  <!-- RSS -->
21
- <link rel="alternate" type="application/atom+xml" title="{{ site.theme_settings.title }}" href="{{ site.url }}/{{ site.baseurl }}//feed.xml"/>
18
+ <link rel="alternate" type="application/atom+xml" title="{{ site.theme_settings.title }}" href="{{ 'feed.xml' | absolute_url }}"/>
22
19
 
23
20
  <!-- Font Awesome -->
24
21
  <!-- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> -->
25
- <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/css/vendor/font-awesome.min.css">
22
+ <link rel="stylesheet" type="text/css" href="{{ '/assets/css/vendor/font-awesome.min.css' | relative_url }}">
23
+
24
+ {% if page.bootstrap %}
25
+ <!-- Bootstrap-4.1.3 isolation CSS -->
26
+ <link rel="stylesheet" type="text/css" href="{{ '/assets/css/vendor/bootstrap-iso.min.css' | relative_url }}">
27
+
28
+ <!-- JQuery 3.3.1 -->
29
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
30
+ <!-- Bootstrap 4.1.3 compiled and minified JavaScript -->
31
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
32
+ <!-- Popper, a dependency of Bootstrap-->
33
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
34
+ {% endif %}
26
35
 
27
36
  <!-- Google Fonts -->
28
37
  {% if site.theme_settings.google_fonts %}
@@ -31,8 +40,8 @@
31
40
 
32
41
  <!-- KaTeX 0.8.3 -->
33
42
  {% if site.theme_settings.katex %}
34
- <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/css/vendor/katex.min.css">
35
- <script src="{{ site.baseurl }}/assets/js/vendor/katex.min.js">
43
+ <link rel="stylesheet" type="text/css" href="{{ '/assets/css/vendor/katex.min.css' | relative_url }}">
44
+ <script src="{{ '/assets/js/vendor/katex.min.js' | relative_url }}">
36
45
  </script>
37
46
  {% endif %}
38
47
 
@@ -1,6 +1,6 @@
1
1
  {% if site.theme_settings.rss %}
2
2
  <li>
3
- <a href="{{ site.url }}{{ site.baseurl }}/feed.xml" title="{{ site.theme_settings.str_rss_follow }}">
3
+ <a href="{{ "feed.xml" | absolute_url }}" title="{{ site.theme_settings.str_rss_follow }}">
4
4
  <span class="fa-stack fa-lg">
5
5
  <i class="fa fa-circle fa-stack-2x"></i>
6
6
  <i class="fa fa-rss fa-stack-1x fa-inverse"></i>
@@ -2,33 +2,42 @@
2
2
 
3
3
  <!-- Logo and title -->
4
4
  <div class="branding">
5
- <a href="{{ site.baseurl }}/">
6
- <img class="avatar" src="{{ site.baseurl }}/{{ site.theme_settings.avatar }}" alt=""/>
5
+ <a href="{{ '/' | relative_url }}">
6
+ <img alt="logo img" class="avatar" src="{{ site.theme_settings.avatar | relative_url }}" alt=""/>
7
7
  </a>
8
8
 
9
9
  <h1 class="site-title">
10
- <a href="{{ site.baseurl }}/">{{ site.theme_settings.title }}</a>
10
+ <a alt="{{ site.theme_settings.title }}" href="{{ '/' | relative_url }}">
11
+ {{ site.theme_settings.title }}
12
+ </a>
11
13
  </h1>
12
14
  </div>
13
15
 
14
16
  <!-- Toggle menu -->
15
17
  <nav class="clear">
16
- <a id="pull" class="toggle" href="#">
18
+ <a name="pull" id="pull" class="toggle" href="#">
17
19
  <i class="fa fa-bars fa-lg"></i>
18
20
  </a>
19
21
 
20
22
  <!-- Menu -->
21
- <ul>
23
+ <ul class="hide">
22
24
  <!-- Auto Generation of NORMAL pages in the navbar -->
25
+ {% assign name_page = "" %}
26
+
23
27
  {% for page in site.pages %}
24
28
  {% if page.title and page.hide != true %}
29
+ {% if name_page contains page.title %}
30
+ {% else %}
25
31
  <li class="separator"> | </li>
26
32
  <li>
27
- <a class="clear" href="{{ page.url | relative_url }}">
33
+ <a class="clear" name="{{ page.title }}"
34
+ href="{{ page.url | relative_url }}">
28
35
  {{ page.title }}
29
36
  </a>
30
37
  </li>
31
38
  {% endif %}
39
+ {% assign name_page = page.title | append: name_page %}
40
+ {% endif %}
32
41
  {% endfor %}
33
42
 
34
43
  <!-- Auto Generation of SPECIAL pages in the navbar -->
@@ -36,9 +45,9 @@
36
45
  {% if item[1].enabled %}
37
46
  <li class="separator"> | </li>
38
47
  <li>
39
- <a class="clear" href="{{ site.url }}{{ site.baseurl }}/{{ item[1].icon }}">
40
- <i class="fa fa-{{ item[1].icon }}" aria-hidden="true"></i>
41
- </a>
48
+ <a class="clear" href="{{ item[0] | relative_url }}" name="{{ item[0] }}">
49
+ <i class="fa fa-{{ item[1].icon }}" aria-hidden="true"></i>
50
+ </a>
42
51
  </li>
43
52
  {% endif %}
44
53
  {% endfor %}
@@ -1,17 +1,16 @@
1
1
  <!-- Portfolio Grid Section -->
2
- <section class="portfolio">
3
- <div class="row">
4
- {% for item in site.portfolio %}
5
- <div class="col-sm-4 col-xs-4 portfolio-item">
6
- <a href="{{ site.baseurl }}{{ item.url }}" class="portfolio-link" data-keyboard="true">
7
- <div class="caption" title="{{ item.title }}">
8
- <div class="caption-content">
9
- <i class="fa fa-search-plus fa-3x"></i>
10
- </div>
2
+
3
+ <div class="portfolio-grid">
4
+ {% for item in site.portfolio %}
5
+ <div class="portfolio-cell">
6
+ <a href="{{ item.url | relative_url }}" class="portfolio-link" data-keyboard="true">
7
+ <div class="caption" title="{{ item.title }}">
8
+ <div class="caption-content">
9
+ <i class="fa fa-search-plus fa-3x"></i>
11
10
  </div>
12
- <img src="{{ site.baseurl }}/{{ item.img }}" class="" alt="">
13
- </a>
14
- </div>
15
- {% endfor %}
11
+ </div>
12
+ <img src="{{ item.img | relative_url }}" class="" alt="">
13
+ </a>
16
14
  </div>
17
- </section>
15
+ {% endfor %}
16
+ </div>
@@ -2,7 +2,7 @@
2
2
  {% if page.previous.url %}
3
3
  <div id="previous-post" class="post-nav-post">
4
4
  <p>{{ site.theme_settings.str_previous_post }}</p>
5
- <a href="{{ site.baseurl }}{{ page.previous.url }}">
5
+ <a alt="{{ page.previous.title }}" href="{{ page.previous.url | relative_url }}">
6
6
  {{ page.previous.title }}
7
7
  </a>
8
8
  </div>
@@ -10,9 +10,9 @@
10
10
  {% if page.next.url %}
11
11
  <div id="next-post" class="post-nav-post">
12
12
  <p>{{ site.theme_settings.str_next_post }}</p>
13
- <a href="{{ site.baseurl }}{{ page.next.url }}">
13
+ <a alt="{{ page.next.title }}" href="{{ page.next.url | relative_url }}">
14
14
  {{ page.next.title }}
15
15
  </a>
16
16
  </div>
17
17
  {% endif %}
18
- </div>
18
+ </div>
@@ -0,0 +1,76 @@
1
+ <div class="share-buttons">
2
+ <ul class="share-buttons">
3
+ <div class="meta">Share</div>
4
+ {% if site.theme_settings.share_buttons.facebook %}
5
+ <li>
6
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" target="_blank" title="{{ site.theme_settings.str_share_on }} Facebook">
7
+ <i class="fa fa-facebook-square fa-2x" aria-hidden="true"></i>
8
+ <span class="sr-only">{{ site.theme_settings.str_share_on }} Facebook</span>
9
+ </a>
10
+ </li>
11
+ {% endif %} {% if site.theme_settings.share_buttons.twitter %}
12
+ <li>
13
+ <a href="https://twitter.com/intent/tweet?source={{ page.url | absolute_url }}&text={{ page.title | url_encode }}%20%7C%20{{ site.title | url_encode }}:%20{{ page.url | absolute_url }}" target="_blank" title="{{ site.theme_settings.str_tweet }}">
14
+ <i class="fa fa-twitter-square fa-2x" aria-hidden="true"></i>
15
+ <span class="sr-only">{{ site.theme_settings.str_tweet }}</span>
16
+ </a>
17
+ </li>
18
+ {% endif %} {% if site.theme_settings.share_buttons.google_plus %}
19
+ <li>
20
+ <a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" target="_blank" title="{{ site.theme_settings.str_share_on }} Google+">
21
+ <i class="fa fa-google-plus-square fa-2x" aria-hidden="true"></i>
22
+ <span class="sr-only">{{ site.theme_settings.str_share_on }} Google+</span>
23
+ </a>
24
+ </li>
25
+ {% endif %} {% if site.theme_settings.share_buttons.tumblr %}
26
+ <li>
27
+ <a href="http://www.tumblr.com/share?v=3&u={{ page.url | absolute_url }}&quote={{ page.title | url_encode }}%20%7C%20{{ site.title | url_encode }}&s=" target="_blank" title="{{ site.theme_settings.str_share_on }} Tumblr">
28
+ <i class="fa fa-tumblr-square fa-2x" aria-hidden="true"></i>
29
+ <span class="sr-only">{{ site.theme_settings.str_share_on }} Tumblr</span>
30
+ </a>
31
+ </li>
32
+ {% endif %} {% if site.theme_settings.share_buttons.pinterest %}
33
+ <li>
34
+ <a href="http://pinterest.com/pin/create/button/?url={{ page.url | absolute_url }}&description=" target="_blank" title="{{ site.theme_settings.str_pin_it }}">
35
+ <i class="fa fa-pinterest-square fa-2x" aria-hidden="true"></i>
36
+ <span class="sr-only">{{ site.theme_settings.str_pin_it }}</span>
37
+ </a>
38
+ </li>
39
+ {% endif %} {% if site.theme_settings.share_buttons.pocket %}
40
+ <li>
41
+ <a href="https://getpocket.com/save?url={{ page.url | absolute_url }}&title={{ page.title | url_encode }}%20%7C%20{{ site.title | url_encode }}" target="_blank" title="{{ site.theme_settings.str_add_to }} Pocket">
42
+ <i class="fa fa fa-get-pocket fa-2x" aria-hidden="true"></i>
43
+ <span class="sr-only">{{ site.theme_settings.str_add_to }} Pocket</span>
44
+ </a>
45
+ </li>
46
+ {% endif %} {% if site.theme_settings.share_buttons.reddit %}
47
+ <li>
48
+ <a href="http://www.reddit.com/submit?url={{ page.url | absolute_url }}&title={{ page.title | url_encode }}%20%7C%20{{ site.title | url_encode }}" target="_blank" title="{{ site.theme_settings.str_share_on }} Reddit">
49
+ <i class="fa fa-reddit-square fa-2x" aria-hidden="true"></i>
50
+ <span class="sr-only">{{ site.theme_settings.str_share_on }} Reddit</span>
51
+ </a>
52
+ </li>
53
+ {% endif %} {% if site.theme_settings.share_buttons.linkedin %}
54
+ <li>
55
+ <a href="http://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}&title={{ page.title | url_encode }}%20%7C%20{{ site.title | url_encode }}&summary=&source={{ page.url | absolute_url }}" target="_blank" title="{{ site.theme_settings.str_share_on }} LinkedIn">
56
+ <i class="fa fa-linkedin fa-2x" aria-hidden="true"></i>
57
+ <span class="sr-only">{{ site.theme_settings.str_share_on }} LinkedIn</span>
58
+ </a>
59
+ </li>
60
+ {% endif %} {% if site.theme_settings.share_buttons.wordpress %}
61
+ <li>
62
+ <a href="http://wordpress.com/press-this.php?u={{ page.url | absolute_url }}&quote={{ page.title | url_encode }}%20%7C%20{{ site.title | url_encode }}&s=" target="_blank" title="{{ site.theme_settings.str_share_on }} WordPress">
63
+ <i class="fa fa-wordpress fa-2x" aria-hidden="true"></i>
64
+ <span class="sr-only">{{ site.theme_settings.str_share_on }} WordPress</span>
65
+ </a>
66
+ </li>
67
+ {% endif %} {% if site.theme_settings.share_buttons.email %}
68
+ <li>
69
+ <a href="mailto:?subject={{ page.title | url_encode }}%20%7C%20{{ site.title | url_encode }}&body=:%20{{ page.url | absolute_url }}" target="_blank" title="{{ site.theme_settings.str_email }}">
70
+ <i class="fa fa-envelope-square fa-2x" aria-hidden="true"></i>
71
+ <span class="sr-only">{{ site.theme_settings.str_email }}</span>
72
+ </a>
73
+ </li>
74
+ {% endif %}
75
+ </ul>
76
+ </div>