jekyll-theme-peaceful-gates 1.2.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +48 -48
- data/_includes/footer.html +10 -8
- data/_includes/head.html +42 -42
- data/_includes/menu.html +47 -45
- data/_includes/page-header.html +7 -12
- data/_includes/social-bar.html +35 -35
- data/_includes/social-link.html +5 -5
- data/_layouts/centered.html +12 -12
- data/_layouts/default.html +13 -13
- data/_layouts/index.html +7 -16
- data/_layouts/page.html +11 -11
- data/_layouts/post-index.html +25 -25
- data/_layouts/post.html +20 -20
- data/_sass/fontawesome/_animated.scss +20 -20
- data/_sass/fontawesome/_bordered-pulled.scss +20 -20
- data/_sass/fontawesome/_core.scss +21 -21
- data/_sass/fontawesome/_fixed-width.scss +6 -6
- data/_sass/fontawesome/_icons.scss +1410 -1410
- data/_sass/fontawesome/_larger.scss +23 -23
- data/_sass/fontawesome/_list.scss +18 -18
- data/_sass/fontawesome/_mixins.scss +56 -56
- data/_sass/fontawesome/_rotated-flipped.scss +24 -24
- data/_sass/fontawesome/_screen-reader.scss +5 -5
- data/_sass/fontawesome/_shims.scss +2066 -2066
- data/_sass/fontawesome/_stacked.scss +31 -31
- data/_sass/fontawesome/_variables.scss +1427 -1427
- data/_sass/fontawesome/brands.scss +23 -23
- data/_sass/fontawesome/fontawesome.scss +16 -16
- data/_sass/fontawesome/regular.scss +23 -23
- data/_sass/fontawesome/solid.scss +24 -24
- data/_sass/fontawesome/v4-shims.scss +6 -6
- data/_sass/jekyll-theme-peaceful-gates.scss +16 -16
- data/_sass/jekyll-theme-peaceful-gates/_base.scss +74 -74
- data/_sass/jekyll-theme-peaceful-gates/_button.scss +67 -64
- data/_sass/jekyll-theme-peaceful-gates/_centered.scss +28 -28
- data/_sass/jekyll-theme-peaceful-gates/_code.scss +120 -120
- data/_sass/jekyll-theme-peaceful-gates/_footer.scss +61 -54
- data/_sass/jekyll-theme-peaceful-gates/_menu.scss +111 -106
- data/_sass/jekyll-theme-peaceful-gates/_page.scss +73 -69
- data/_sass/jekyll-theme-peaceful-gates/_theme.scss +35 -35
- data/_sass/jekyll-theme-peaceful-gates/_util.scss +49 -34
- data/_sass/jekyll-theme-peaceful-gates/_variables.scss +30 -29
- data/assets/css/main.scss +2 -2
- data/assets/fonts/fa-brands-400.svg +3570 -3570
- data/assets/fonts/fa-regular-400.svg +803 -803
- data/assets/fonts/fa-solid-900.svg +4700 -4700
- data/assets/js/darkmode-toggle.js +44 -44
- data/assets/js/dropdown-toggle.js +5 -0
- data/assets/js/table-layout.js +13 -13
- metadata +24 -10
- data/assets/js/menu-slide.js +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00f25ee79efab7e39a70d09f1abb965060f241e644c1dc64bc51b574ae7b227b
|
4
|
+
data.tar.gz: 286c24c0959ce04bef0d2e2c96430e613084c25eb37eb1eeb2f422ffd7653599
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a496d195613ead99480bfd764c07a465fa53a7ebb28735b9c59c370e159d321574e267c63da6ead0a2f2801165a7c54007db29bf817568598e9b43475fb513bb
|
7
|
+
data.tar.gz: c11354ab1669aa62e9635bf7637fdc7b74bd50c79fa5d75c23f1d5f7177cf9c8865f71f81e30d7a3931a532f6c4e46f1a638a153e7121a9d1f3d18f7190a2e41
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2020 andydevs
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 andydevs
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,49 +1,49 @@
|
|
1
|
-
# jekyll-theme-peaceful-gates
|
2
|
-
|
3
|
-
The main design for the blog [Andydevs][andydevs]. View the theme itself by
|
4
|
-
checking out the [main site][main], or by viewing the [showcase][showcase].
|
5
|
-
|
6
|
-
## Installation
|
7
|
-
|
8
|
-
Add this line to your Jekyll site's `Gemfile`:
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
gem "jekyll-theme-peaceful-gates"
|
12
|
-
```
|
13
|
-
|
14
|
-
And add this line to your Jekyll site's `_config.yml`:
|
15
|
-
|
16
|
-
```yaml
|
17
|
-
theme: jekyll-theme-peaceful-gates
|
18
|
-
```
|
19
|
-
|
20
|
-
And then execute:
|
21
|
-
|
22
|
-
$ bundle
|
23
|
-
|
24
|
-
Or install it yourself as:
|
25
|
-
|
26
|
-
$ gem install jekyll-theme-peaceful-gates
|
27
|
-
|
28
|
-
## Usage
|
29
|
-
|
30
|
-
Refer to the [usage page][usage]
|
31
|
-
|
32
|
-
## Development
|
33
|
-
|
34
|
-
To set up your environment to develop this theme, run `bundle install`.
|
35
|
-
|
36
|
-
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
37
|
-
|
38
|
-
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
39
|
-
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-peaceful-gates.gemspec` accordingly.
|
40
|
-
|
41
|
-
## License
|
42
|
-
|
43
|
-
The theme is available as open source under the terms of the [MIT License][mit].
|
44
|
-
|
45
|
-
[mit]: https://opensource.org/licenses/MIT
|
46
|
-
[andydevs]: http://andydevs.github.io
|
47
|
-
[main]: http://andydevs.github.io/jekyll-theme-peaceful-gates
|
48
|
-
[showcase]: http://andydevs.github.io/jekyll-theme-peaceful-gates/showcase
|
1
|
+
# jekyll-theme-peaceful-gates
|
2
|
+
|
3
|
+
The main design for the blog [Andydevs][andydevs]. View the theme itself by
|
4
|
+
checking out the [main site][main], or by viewing the [showcase][showcase].
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your Jekyll site's `Gemfile`:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem "jekyll-theme-peaceful-gates"
|
12
|
+
```
|
13
|
+
|
14
|
+
And add this line to your Jekyll site's `_config.yml`:
|
15
|
+
|
16
|
+
```yaml
|
17
|
+
theme: jekyll-theme-peaceful-gates
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle
|
23
|
+
|
24
|
+
Or install it yourself as:
|
25
|
+
|
26
|
+
$ gem install jekyll-theme-peaceful-gates
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
Refer to the [usage page][usage]
|
31
|
+
|
32
|
+
## Development
|
33
|
+
|
34
|
+
To set up your environment to develop this theme, run `bundle install`.
|
35
|
+
|
36
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
37
|
+
|
38
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
39
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-peaceful-gates.gemspec` accordingly.
|
40
|
+
|
41
|
+
## License
|
42
|
+
|
43
|
+
The theme is available as open source under the terms of the [MIT License][mit].
|
44
|
+
|
45
|
+
[mit]: https://opensource.org/licenses/MIT
|
46
|
+
[andydevs]: http://andydevs.github.io
|
47
|
+
[main]: http://andydevs.github.io/jekyll-theme-peaceful-gates
|
48
|
+
[showcase]: http://andydevs.github.io/jekyll-theme-peaceful-gates/showcase
|
49
49
|
[usage]: http://andydevs.github.io/jekyll-theme-peaceful-gates/usage
|
data/_includes/footer.html
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
-
<footer class="footer">
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
<footer class="footer">
|
2
|
+
<div class="footer-container">
|
3
|
+
<p class="site-description">
|
4
|
+
{{ site.description }}
|
5
|
+
</p>
|
6
|
+
{%- include social-bar.html -%}
|
7
|
+
<p class="copyright">
|
8
|
+
Copyright © {{ site.copyright }} {{ site.author }}
|
9
|
+
</p>
|
10
|
+
</div>
|
9
11
|
</footer>
|
data/_includes/head.html
CHANGED
@@ -1,43 +1,43 @@
|
|
1
|
-
<head>
|
2
|
-
<!-- Meta Tags -->
|
3
|
-
<meta charset="UTF-8">
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
|
-
|
6
|
-
<!-- Site title -->
|
7
|
-
<title>
|
8
|
-
{%- if page.title -%}
|
9
|
-
{{ page.title | escape }}
|
10
|
-
{%- else -%}
|
11
|
-
{{ site.title | escape }}
|
12
|
-
{%- endif -%}
|
13
|
-
</title>
|
14
|
-
|
15
|
-
<!-- Links -->
|
16
|
-
<link rel="stylesheet"
|
17
|
-
href="{{ "/assets/css/main.css" | prepend: site.baseurl | prepend: site.url }}">
|
18
|
-
|
19
|
-
<!-- Scripts -->
|
20
|
-
<script type="text/x-mathjax-config">
|
21
|
-
MathJax.Hub.Config({
|
22
|
-
tex2jax: {
|
23
|
-
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'],
|
24
|
-
inlineMath: [['$','$'], ['\\(','\\)']],
|
25
|
-
processEscapes: true
|
26
|
-
},
|
27
|
-
TeX: {
|
28
|
-
equationNumbers: {
|
29
|
-
autoNumber: "AMS"
|
30
|
-
}
|
31
|
-
}
|
32
|
-
});
|
33
|
-
</script>
|
34
|
-
<script type="text/javascript" async
|
35
|
-
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS_CHTML">
|
36
|
-
</script>
|
37
|
-
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
|
38
|
-
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
|
39
|
-
crossorigin="anonymous"></script>
|
40
|
-
<script src="{{ "/assets/js/
|
41
|
-
<script src="{{ "/assets/js/table-layout.js" | prepend: site.baseurl | prepend: site.url }}"></script>
|
42
|
-
<script src="{{ "/assets/js/darkmode-toggle.js" | prepend: site.baseurl | prepend: site.url }}"></script>
|
1
|
+
<head>
|
2
|
+
<!-- Meta Tags -->
|
3
|
+
<meta charset="UTF-8">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
|
+
|
6
|
+
<!-- Site title -->
|
7
|
+
<title>
|
8
|
+
{%- if page.title -%}
|
9
|
+
{{ page.title | escape }}
|
10
|
+
{%- else -%}
|
11
|
+
{{ site.title | escape }}
|
12
|
+
{%- endif -%}
|
13
|
+
</title>
|
14
|
+
|
15
|
+
<!-- Links -->
|
16
|
+
<link rel="stylesheet"
|
17
|
+
href="{{ "/assets/css/main.css" | prepend: site.baseurl | prepend: site.url }}">
|
18
|
+
|
19
|
+
<!-- Scripts -->
|
20
|
+
<script type="text/x-mathjax-config">
|
21
|
+
MathJax.Hub.Config({
|
22
|
+
tex2jax: {
|
23
|
+
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'],
|
24
|
+
inlineMath: [['$','$'], ['\\(','\\)']],
|
25
|
+
processEscapes: true
|
26
|
+
},
|
27
|
+
TeX: {
|
28
|
+
equationNumbers: {
|
29
|
+
autoNumber: "AMS"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
});
|
33
|
+
</script>
|
34
|
+
<script type="text/javascript" async
|
35
|
+
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS_CHTML">
|
36
|
+
</script>
|
37
|
+
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
|
38
|
+
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
|
39
|
+
crossorigin="anonymous"></script>
|
40
|
+
<script src="{{ "/assets/js/dropdown-toggle.js" | prepend: site.baseurl | prepend: site.url }}"></script>
|
41
|
+
<script src="{{ "/assets/js/table-layout.js" | prepend: site.baseurl | prepend: site.url }}"></script>
|
42
|
+
<script src="{{ "/assets/js/darkmode-toggle.js" | prepend: site.baseurl | prepend: site.url }}"></script>
|
43
43
|
</head>
|
data/_includes/menu.html
CHANGED
@@ -1,45 +1,47 @@
|
|
1
|
-
<
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
<!--
|
6
|
-
<
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
</
|
17
|
-
</
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
</div>
|
1
|
+
<nav class="menu" id="menu">
|
2
|
+
<div class="menu-container">
|
3
|
+
<!-- Header -->
|
4
|
+
<div class="menu-header">
|
5
|
+
<!-- Title -->
|
6
|
+
<div class="menu-title-container">
|
7
|
+
<a class="menu-title" href="{{ '/' | prepend: site.baseurl | prepend: site.url }}">
|
8
|
+
{{ site.title }}
|
9
|
+
</a>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<!-- Menu Dropdown Controls -->
|
13
|
+
<div class="menu-dropdown-controls">
|
14
|
+
<button class="icon-button show-on-mobile" id="dropdown-toggle">
|
15
|
+
<span class="fas fa-bars"></span>
|
16
|
+
</button>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<!-- Menu Dropdown Content -->
|
21
|
+
<div class='menu-dropdown' id='toggled-dropdown'>
|
22
|
+
<!-- Menu Links -->
|
23
|
+
<ul class="menu-links">
|
24
|
+
{%- for link in site.links -%}
|
25
|
+
<li>
|
26
|
+
{%- if link.direct -%}
|
27
|
+
<a href="{{ link.url }}">
|
28
|
+
{{ link.text }}
|
29
|
+
</a>
|
30
|
+
{%- else -%}
|
31
|
+
<a href="{{ link.url | prepend: site.baseurl | prepend: site.url }}">
|
32
|
+
{{ link.text }}
|
33
|
+
</a>
|
34
|
+
{%- endif -%}
|
35
|
+
</li>
|
36
|
+
{%- endfor -%}
|
37
|
+
</ul>
|
38
|
+
|
39
|
+
<!-- Menu Controls -->
|
40
|
+
<div class="menu-controls">
|
41
|
+
<button class="icon-button" id="toggle-darkmode">
|
42
|
+
<span class="fas fa-moon"></span>
|
43
|
+
</button>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</nav>
|
data/_includes/page-header.html
CHANGED
@@ -1,13 +1,8 @@
|
|
1
|
-
<header class="page-header">
|
2
|
-
<div class="page-info">
|
3
|
-
<h1 class="page-title">{{ include.title }}</h1>
|
4
|
-
{%- if include.subtitle -%}
|
5
|
-
<h2 class="page-subtitle">{{ include.subtitle }}</h2>
|
6
|
-
{%- endif -%}
|
7
|
-
</div>
|
8
|
-
<div class="page-actions">
|
9
|
-
<button class="icon-button show-on-mobile" id="open-menu">
|
10
|
-
<span class="fas fa-bars"></span>
|
11
|
-
</button>
|
12
|
-
</div>
|
1
|
+
<header class="page-header">
|
2
|
+
<div class="page-info">
|
3
|
+
<h1 class="page-title">{{ include.title }}</h1>
|
4
|
+
{%- if include.subtitle -%}
|
5
|
+
<h2 class="page-subtitle">{{ include.subtitle }}</h2>
|
6
|
+
{%- endif -%}
|
7
|
+
</div>
|
13
8
|
</header>
|
data/_includes/social-bar.html
CHANGED
@@ -1,36 +1,36 @@
|
|
1
|
-
<div class="social-bar">
|
2
|
-
{%- include social-link.html
|
3
|
-
icon="fab fa-facebook"
|
4
|
-
prefix="http://www.facebook.com/"
|
5
|
-
handle=site.social.facebook -%}
|
6
|
-
|
7
|
-
{%- include social-link.html
|
8
|
-
icon="fab fa-twitter"
|
9
|
-
prefix="http://www.twitter.com/"
|
10
|
-
handle=site.social.twitter -%}
|
11
|
-
|
12
|
-
{%- include social-link.html
|
13
|
-
icon="fab fa-instagram"
|
14
|
-
prefix="http://www.instagram.com/"
|
15
|
-
handle=site.social.instagram -%}
|
16
|
-
|
17
|
-
{%- include social-link.html
|
18
|
-
icon="fab fa-youtube"
|
19
|
-
prefix="http://www.youtube.com/"
|
20
|
-
handle=site.social.youtube -%}
|
21
|
-
|
22
|
-
{%- include social-link.html
|
23
|
-
icon="fab fa-linkedin"
|
24
|
-
prefix="http://www.linkedin.com/in/"
|
25
|
-
handle=site.social.linkedin -%}
|
26
|
-
|
27
|
-
{%- include social-link.html
|
28
|
-
icon="fab fa-github"
|
29
|
-
prefix="http://www.github.com/"
|
30
|
-
handle=site.social.github -%}
|
31
|
-
|
32
|
-
{%- include social-link.html
|
33
|
-
icon="fas fa-envelope"
|
34
|
-
prefix="mailto://"
|
35
|
-
handle=site.social.email -%}
|
1
|
+
<div class="social-bar">
|
2
|
+
{%- include social-link.html
|
3
|
+
icon="fab fa-facebook"
|
4
|
+
prefix="http://www.facebook.com/"
|
5
|
+
handle=site.social.facebook -%}
|
6
|
+
|
7
|
+
{%- include social-link.html
|
8
|
+
icon="fab fa-twitter"
|
9
|
+
prefix="http://www.twitter.com/"
|
10
|
+
handle=site.social.twitter -%}
|
11
|
+
|
12
|
+
{%- include social-link.html
|
13
|
+
icon="fab fa-instagram"
|
14
|
+
prefix="http://www.instagram.com/"
|
15
|
+
handle=site.social.instagram -%}
|
16
|
+
|
17
|
+
{%- include social-link.html
|
18
|
+
icon="fab fa-youtube"
|
19
|
+
prefix="http://www.youtube.com/"
|
20
|
+
handle=site.social.youtube -%}
|
21
|
+
|
22
|
+
{%- include social-link.html
|
23
|
+
icon="fab fa-linkedin"
|
24
|
+
prefix="http://www.linkedin.com/in/"
|
25
|
+
handle=site.social.linkedin -%}
|
26
|
+
|
27
|
+
{%- include social-link.html
|
28
|
+
icon="fab fa-github"
|
29
|
+
prefix="http://www.github.com/"
|
30
|
+
handle=site.social.github -%}
|
31
|
+
|
32
|
+
{%- include social-link.html
|
33
|
+
icon="fas fa-envelope"
|
34
|
+
prefix="mailto://"
|
35
|
+
handle=site.social.email -%}
|
36
36
|
</div>
|
data/_includes/social-link.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
{%- if include.handle -%}
|
2
|
-
<a class="social-link"
|
3
|
-
href="{{ include.prefix }}{{ include.handle }}">
|
4
|
-
<span class="{{ include.icon }}"></span>
|
5
|
-
</a>
|
1
|
+
{%- if include.handle -%}
|
2
|
+
<a class="social-link"
|
3
|
+
href="{{ include.prefix }}{{ include.handle }}">
|
4
|
+
<span class="{{ include.icon }}"></span>
|
5
|
+
</a>
|
6
6
|
{%- endif -%}
|