jekyll-theme-fos 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +66 -0
- data/_config.yml +47 -0
- data/_data/analytics.yml +6 -0
- data/_data/comments.yml +4 -0
- data/_data/navigation.yml +5 -0
- data/_data/posts.yml +1 -0
- data/_data/social-networks.yml +67 -0
- data/_data/theme.yml +17 -0
- data/_includes/body-end.html +12 -0
- data/_includes/body-start.html +1 -0
- data/_includes/comments.html +5 -0
- data/_includes/copyright.html +3 -0
- data/_includes/date.html +1 -0
- data/_includes/disqus.html +28 -0
- data/_includes/facebook-og.html +10 -0
- data/_includes/footer.html +8 -0
- data/_includes/google-tm-body.html +11 -0
- data/_includes/google-tm-gtag.html +12 -0
- data/_includes/google-tm-head.html +11 -0
- data/_includes/head.html +40 -0
- data/_includes/image.html +8 -0
- data/_includes/menu-icon.html +5 -0
- data/_includes/meta.html +5 -0
- data/_includes/navigation.html +15 -0
- data/_includes/page-title.html +5 -0
- data/_includes/post-title.html +14 -0
- data/_includes/share.html +10 -0
- data/_includes/social-icons.html +10 -0
- data/_includes/subscribe-form.html +7 -0
- data/_includes/tags.html +7 -0
- data/_includes/top-bar.html +10 -0
- data/_includes/twitter-summary.html +7 -0
- data/_layouts/base.html +30 -0
- data/_layouts/page.html +22 -0
- data/_layouts/post.html +21 -0
- data/_sass/.DS_Store +0 -0
- data/_sass/_highlight.scss +13 -0
- data/_sass/_typography.scss +271 -0
- data/_sass/bootstrap/_alert.scss +51 -0
- data/_sass/bootstrap/_badge.scss +53 -0
- data/_sass/bootstrap/_breadcrumb.scss +41 -0
- data/_sass/bootstrap/_button-group.scss +163 -0
- data/_sass/bootstrap/_buttons.scss +140 -0
- data/_sass/bootstrap/_card.scss +310 -0
- data/_sass/bootstrap/_carousel.scss +198 -0
- data/_sass/bootstrap/_close.scss +44 -0
- data/_sass/bootstrap/_code.scss +48 -0
- data/_sass/bootstrap/_custom-forms.scss +507 -0
- data/_sass/bootstrap/_dropdown.scss +191 -0
- data/_sass/bootstrap/_forms.scss +334 -0
- data/_sass/bootstrap/_functions.scss +86 -0
- data/_sass/bootstrap/_grid.scss +52 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_input-group.scss +193 -0
- data/_sass/bootstrap/_jumbotron.scss +16 -0
- data/_sass/bootstrap/_list-group.scss +121 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +41 -0
- data/_sass/bootstrap/_modal.scss +186 -0
- data/_sass/bootstrap/_nav.scss +120 -0
- data/_sass/bootstrap/_navbar.scss +299 -0
- data/_sass/bootstrap/_pagination.scss +78 -0
- data/_sass/bootstrap/_popover.scss +183 -0
- data/_sass/bootstrap/_print.scss +141 -0
- data/_sass/bootstrap/_progress.scss +34 -0
- data/_sass/bootstrap/_reboot.scss +462 -0
- data/_sass/bootstrap/_root.scss +19 -0
- data/_sass/bootstrap/_spinners.scss +53 -0
- data/_sass/bootstrap/_tables.scss +187 -0
- data/_sass/bootstrap/_toasts.scss +43 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +22 -0
- data/_sass/bootstrap/_type.scss +125 -0
- data/_sass/bootstrap/_utilities.scss +16 -0
- data/_sass/bootstrap/_variables.scss +1091 -0
- data/_sass/bootstrap/bootstrap-grid.scss +29 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/bootstrap.scss +44 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +21 -0
- data/_sass/bootstrap/mixins/_badge.scss +11 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +35 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
- data/_sass/bootstrap/mixins/_buttons.scss +111 -0
- data/_sass/bootstrap/mixins/_caret.scss +62 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_float.scss +11 -0
- data/_sass/bootstrap/mixins/_forms.scss +198 -0
- data/_sass/bootstrap/mixins/_gradients.scss +45 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +66 -0
- data/_sass/bootstrap/mixins/_grid.scss +51 -0
- data/_sass/bootstrap/mixins/_hover.scss +37 -0
- data/_sass/bootstrap/mixins/_image.scss +36 -0
- data/_sass/bootstrap/mixins/_list-group.scss +21 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
- data/_sass/bootstrap/mixins/_size.scss +6 -0
- data/_sass/bootstrap/mixins/_table-row.scss +39 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +14 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +13 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +16 -0
- data/_sass/bootstrap/mixins/_visibility.scss +7 -0
- data/_sass/bootstrap/utilities/_align.scss +8 -0
- data/_sass/bootstrap/utilities/_background.scss +19 -0
- data/_sass/bootstrap/utilities/_borders.scss +63 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +38 -0
- data/_sass/bootstrap/utilities/_embed.scss +39 -0
- data/_sass/bootstrap/utilities/_flex.scss +51 -0
- data/_sass/bootstrap/utilities/_float.scss +9 -0
- data/_sass/bootstrap/utilities/_overflow.scss +5 -0
- data/_sass/bootstrap/utilities/_position.scss +32 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_shadows.scss +6 -0
- data/_sass/bootstrap/utilities/_sizing.scss +20 -0
- data/_sass/bootstrap/utilities/_spacing.scss +73 -0
- data/_sass/bootstrap/utilities/_text.scss +67 -0
- data/_sass/bootstrap/utilities/_visibility.scss +11 -0
- data/assets/css/.DS_Store +0 -0
- data/assets/css/fontisto.min.css +5 -0
- data/assets/css/fonts.css +45 -0
- data/assets/css/style.scss +529 -0
- data/assets/fonts/.DS_Store +0 -0
- data/assets/fonts/et-book/.DS_Store +0 -0
- data/assets/fonts/et-book/et-book-bold-line-figures/et-book-bold-line-figures.eot +0 -0
- data/assets/fonts/et-book/et-book-bold-line-figures/et-book-bold-line-figures.svg +243 -0
- data/assets/fonts/et-book/et-book-bold-line-figures/et-book-bold-line-figures.ttf +0 -0
- data/assets/fonts/et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff +0 -0
- data/assets/fonts/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot +0 -0
- data/assets/fonts/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.svg +244 -0
- data/assets/fonts/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.ttf +0 -0
- data/assets/fonts/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff +0 -0
- data/assets/fonts/et-book/et-book-roman-line-figures/et-book-roman-line-figures.eot +0 -0
- data/assets/fonts/et-book/et-book-roman-line-figures/et-book-roman-line-figures.svg +244 -0
- data/assets/fonts/et-book/et-book-roman-line-figures/et-book-roman-line-figures.ttf +0 -0
- data/assets/fonts/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff +0 -0
- data/assets/fonts/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.eot +0 -0
- data/assets/fonts/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.svg +244 -0
- data/assets/fonts/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.ttf +0 -0
- data/assets/fonts/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff +0 -0
- data/assets/fonts/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.eot +0 -0
- data/assets/fonts/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.svg +243 -0
- data/assets/fonts/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.ttf +0 -0
- data/assets/fonts/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.woff +0 -0
- data/assets/fonts/fontisto/fontisto.ttf +0 -0
- data/assets/fonts/icons/.DS_Store +0 -0
- data/assets/fonts/icons/ARROW.svg +9 -0
- data/assets/fonts/icons/HAMBURGER MENU.svg +9 -0
- data/assets/fonts/icons/d91782eeaa98bfeb4e950cd7dd135027.svg +3 -0
- data/assets/fonts/icons/ef3920d8d3ea164b058f52ab55f5ca11.html +4 -0
- data/assets/fonts/icons/facebook.svg +1 -0
- data/assets/fonts/icons/github (2).svg +1 -0
- data/assets/fonts/icons/menu.svg +3 -0
- data/assets/fonts/icons/method-draw-image.svg +0 -0
- data/assets/fonts/icons/so-icon.html +139 -0
- data/assets/fonts/icons/user.svg +0 -0
- data/assets/img/.DS_Store +0 -0
- data/assets/js/bootstrap.min.js +7 -0
- data/assets/js/jquery-3.3.1.min.js +2 -0
- data/assets/js/main.js +91 -0
- data/assets/js/popper.min.js +5 -0
- metadata +309 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 78196d2a7201a17a9da8b09c562b3f3c08d6b2486c69a240bd6fb9452fc8a159
|
4
|
+
data.tar.gz: 433c9f4b1f3cb8d6bc15c3462a4e9e4d6d8e60ee36da1e6594254214024399ca
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5b37db62cd51f535fb936ff8fd238550e030387b15322ad2d1c2a7095b357d1ef3cc79646dcccaf3b1686d80e8707e88ae44e0234065a7fc128fb59eca76a91a
|
7
|
+
data.tar.gz: bf08759ae5d682d6f6990fa1fe2a80e8eecac373542c07dd1efbd8c9d0d114dd159f905741d96c32450f20e4b7f45338b9cee6f905aed77f410d220be8919a77
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Fahim Farook
|
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
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
# jekyll-theme-fos
|
2
|
+
|
3
|
+
A [Tufte](https://www.edwardtufte.com/tufte/) inspired, carefully crafted theme with a focus on simplicity.
|
4
|
+
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your Jekyll site's `Gemfile`:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem "jekyll-theme-fos"
|
12
|
+
```
|
13
|
+
|
14
|
+
And add this line to your Jekyll site's `_config.yml`:
|
15
|
+
|
16
|
+
```yaml
|
17
|
+
theme: jekyll-theme-fos
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle
|
23
|
+
|
24
|
+
Or install it yourself as:
|
25
|
+
|
26
|
+
$ gem install jekyll-theme-fos
|
27
|
+
|
28
|
+
## Configurations
|
29
|
+
See the following example configuration files.
|
30
|
+
- [_config.yml](_config.yml)
|
31
|
+
- [_data/analytics.yml](_data/analytics.yml)
|
32
|
+
- [_data/comments.yml](_data/comments.yml)
|
33
|
+
- [_data/navigation.yml](_data/navigation.yml)
|
34
|
+
- [_data/posts.yml](_data/posts.yml)
|
35
|
+
- [_data/social-networks.yml](_data/social-networks.yml)
|
36
|
+
- [_data/theme.yml](_data/theme.yml)
|
37
|
+
|
38
|
+
## Usage
|
39
|
+
|
40
|
+
This theme has a couple of layouts - `post`, and `page`. `post` layout is what you use for blog posts and pages such as index.html, about.html etc. are based on `page` layout.
|
41
|
+
|
42
|
+
Copy sample index, about, 404 and post pages from sample directory:
|
43
|
+
- [index.html](samples/index.html)
|
44
|
+
- [about.md](samples/about.md)
|
45
|
+
- [atom.xml](samples/atom.xml)
|
46
|
+
- [tags.html](samples/tags.html)
|
47
|
+
- [404.html](samples/404.html)
|
48
|
+
- [CNAME](samples/CNAME)
|
49
|
+
|
50
|
+
## Contributing
|
51
|
+
|
52
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
53
|
+
|
54
|
+
## Development
|
55
|
+
|
56
|
+
To set up your environment to develop this theme, run `bundle install`.
|
57
|
+
|
58
|
+
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.
|
59
|
+
|
60
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
61
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-fos.gemspec` accordingly.
|
62
|
+
|
63
|
+
## License
|
64
|
+
|
65
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
66
|
+
|
data/_config.yml
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# url settings
|
2
|
+
url: "www.yoursite.com"
|
3
|
+
baseurl: "" # the subpath of your site, e.g. /blog
|
4
|
+
|
5
|
+
# site details
|
6
|
+
author: &author Your Name
|
7
|
+
title: "Your Title"
|
8
|
+
description: "Your Tagline"
|
9
|
+
image: &image "/img/avatar.png"
|
10
|
+
language: en-us
|
11
|
+
|
12
|
+
# defauls
|
13
|
+
defaults:
|
14
|
+
- scope:
|
15
|
+
path: ""
|
16
|
+
type: "posts"
|
17
|
+
values:
|
18
|
+
layout: "post"
|
19
|
+
comments: true
|
20
|
+
page-share: true
|
21
|
+
- scope:
|
22
|
+
path: ""
|
23
|
+
values:
|
24
|
+
layout: "page"
|
25
|
+
author: *author
|
26
|
+
image: *image
|
27
|
+
|
28
|
+
# build settings
|
29
|
+
theme: jekyll-theme-fos
|
30
|
+
markdown: kramdown
|
31
|
+
plugins:
|
32
|
+
- jekyll-feed
|
33
|
+
- jekyll-paginate
|
34
|
+
- jekyll-sitemap
|
35
|
+
- jekyll-remote-theme
|
36
|
+
|
37
|
+
# excludes
|
38
|
+
exclude:
|
39
|
+
- CHANGELOG.md
|
40
|
+
- CNAME
|
41
|
+
- Gemfile
|
42
|
+
- Gemfile.lock
|
43
|
+
- LICENSE
|
44
|
+
- README.md
|
45
|
+
|
46
|
+
# number of post previews index.html
|
47
|
+
paginate: 3
|
data/_data/analytics.yml
ADDED
data/_data/comments.yml
ADDED
data/_data/posts.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
summary-length: 50
|
@@ -0,0 +1,67 @@
|
|
1
|
+
email:
|
2
|
+
title: Email
|
3
|
+
icon: "fi fi-email"
|
4
|
+
url: "mailto:you@yourdomain.me"
|
5
|
+
username: "you@yourdomain.me"
|
6
|
+
|
7
|
+
github:
|
8
|
+
title: "GitHub"
|
9
|
+
icon: "fi fi-github"
|
10
|
+
url: "https://github.com/your-handle"
|
11
|
+
username: "your-handle"
|
12
|
+
|
13
|
+
stackoverflow:
|
14
|
+
title: "StackOverflow"
|
15
|
+
icon: "fi fi-stack-overflow"
|
16
|
+
url: "https://stackoverflow.com/users/your-id/your-handle"
|
17
|
+
username: "your-handle"
|
18
|
+
|
19
|
+
linkedin:
|
20
|
+
title: "LinkedIn"
|
21
|
+
icon: "fi fi-linkedin"
|
22
|
+
url: "https://linkedin.com/in/your-handle"
|
23
|
+
username: "your-handle"
|
24
|
+
share-url: "https://www.linkedin.com/shareArticle?mini=true&url="
|
25
|
+
|
26
|
+
twitter:
|
27
|
+
title: "Twitter"
|
28
|
+
icon: "fi fi-twitter"
|
29
|
+
url: "https://twitter.com/your-handle"
|
30
|
+
username: "your-handle"
|
31
|
+
share-url: "https://twitter.com/intent/tweet?text="
|
32
|
+
|
33
|
+
google-plus:
|
34
|
+
title: "Google Plus"
|
35
|
+
icon: "fi fi-google-plus"
|
36
|
+
share-url: "https://plus.google.com/share?url="
|
37
|
+
|
38
|
+
facebook:
|
39
|
+
title: "Facebook"
|
40
|
+
icon: "fi fi-facebook"
|
41
|
+
share-url: "https://www.facebook.com/sharer/sharer.php?u="
|
42
|
+
|
43
|
+
reddit:
|
44
|
+
title: "Reddit"
|
45
|
+
icon: "fi fi-reddit"
|
46
|
+
share-url: "http://reddit.com/submit?url="
|
47
|
+
|
48
|
+
feed:
|
49
|
+
title: "Feed"
|
50
|
+
url: "/atom.xml"
|
51
|
+
icon: "fi fi-rss"
|
52
|
+
username:
|
53
|
+
|
54
|
+
links:
|
55
|
+
- email
|
56
|
+
- github
|
57
|
+
- stackoverflow
|
58
|
+
- linkedin
|
59
|
+
- twitter
|
60
|
+
- feed
|
61
|
+
|
62
|
+
page-share:
|
63
|
+
- linkedin
|
64
|
+
- twitter
|
65
|
+
- facebook
|
66
|
+
- google-plus
|
67
|
+
- reddit
|
data/_data/theme.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
font:
|
2
|
+
href:
|
3
|
+
- "/assets/css/fonts.css"
|
4
|
+
brand: "'Helvetica Neue', Helvetica, sans-serif"
|
5
|
+
header: "et-book"
|
6
|
+
body: "et-book"
|
7
|
+
code: "Monaco, Consolas, sans-serif"
|
8
|
+
numeral: "et-book-roman-old-style"
|
9
|
+
|
10
|
+
color:
|
11
|
+
black: "#404040"
|
12
|
+
white: "#FFFFFF"
|
13
|
+
grey: "#8D8D8D"
|
14
|
+
primary: "#9C5284"
|
15
|
+
secondary: "#FFFFF8"
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<!-- scripts -->
|
2
|
+
{%- if layout.js -%}
|
3
|
+
{%- for href in layout.js -%}
|
4
|
+
<script src="{{- href -}}" /></script>
|
5
|
+
{%- endfor -%}
|
6
|
+
{%- endif -%}
|
7
|
+
|
8
|
+
{%- if page.js -%}
|
9
|
+
{%- for href in page.js -%}
|
10
|
+
<script src="{{- href -}}" /></script>
|
11
|
+
{%- endfor -%}
|
12
|
+
{%- endif -%}
|
@@ -0,0 +1 @@
|
|
1
|
+
{%- include google-tm-body.html -%}
|
data/_includes/date.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<p class="fos-posted-date">{{- include.date | date: "%B %d, %Y" -}}</p>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{%- if site.data.comments.disqus -%}
|
2
|
+
|
3
|
+
<div id="disqus_thread"></div>
|
4
|
+
<script>
|
5
|
+
|
6
|
+
/**
|
7
|
+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
8
|
+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
|
9
|
+
/*
|
10
|
+
var disqus_config = function () {
|
11
|
+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page"s canonical URL variable
|
12
|
+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page"s unique identifier variable
|
13
|
+
};
|
14
|
+
*/
|
15
|
+
(function() { // DON"T EDIT BELOW THIS LINE
|
16
|
+
var d = document, s = d.createElement("script");
|
17
|
+
s.src = "https://{{- site.data.comments.disqus.site -}}.disqus.com/embed.js";
|
18
|
+
s.setAttribute("data-timestamp", +new Date());
|
19
|
+
(d.head || d.body).appendChild(s);
|
20
|
+
})();
|
21
|
+
</script>
|
22
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
23
|
+
|
24
|
+
{%- if site.data.comments.disqus.show-count -%}
|
25
|
+
<script id="dsq-count-scr" src="//{{- site.data.comments.disqus.site -}}.disqus.com/count.js" async></script>
|
26
|
+
{%- endif -%}
|
27
|
+
|
28
|
+
{%- endif -%}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{%- if site.data.analytics.facebook.app-id -%}
|
2
|
+
<meta property="fb:app_id" content="{{- site.data.analytics.facebook.app-id -}}" />
|
3
|
+
{%- endif -%}
|
4
|
+
|
5
|
+
<meta property="og:type" content="website" />
|
6
|
+
<meta property="og:locale" content="{{- site.language -}}" />
|
7
|
+
<meta property="og:title" content="{{- page.title -}}" />
|
8
|
+
<meta property="og:description" content="{{- page.description -}}">
|
9
|
+
<meta property="og:url" content="{{- site.url -}}{{- page.url -}}" />
|
10
|
+
<meta property="og:image" content="{{- site.url -}}{{- page.image -}}" />
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{%- if site.data.analytics.google.tag-manager-id -%}
|
2
|
+
<!-- google tag manager (noscript) -->
|
3
|
+
<noscript>
|
4
|
+
<iframe src="https://www.googletagmanager.com/ns.html?id={{- site.data.analytics.google.tag-manager-id -}}"
|
5
|
+
height="0"
|
6
|
+
width="0"
|
7
|
+
style="display:none;visibility:hidden">
|
8
|
+
</iframe>
|
9
|
+
</noscript>
|
10
|
+
<!-- end google tag manager (noscript) -->
|
11
|
+
{%- endif -%}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{%- if site.data.analytics.google.tracking-id -%}
|
2
|
+
<!-- global site tag (gtag.js) - google analytics -->
|
3
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{- site.data.analytics.google.tracking-id -}}"></script>
|
4
|
+
<script>
|
5
|
+
window.dataLayer = window.dataLayer || [];
|
6
|
+
function gtag(){dataLayer.push(arguments);}
|
7
|
+
gtag("js", new Date());
|
8
|
+
|
9
|
+
gtag("config", "{{- site.data.analytics.google.tracking-id -}}");
|
10
|
+
</script>
|
11
|
+
{%- endif -%}
|
12
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{%- if site.data.analytics.google.tag-manager-id -%}
|
2
|
+
<!-- google tag manager -->
|
3
|
+
<script>
|
4
|
+
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({"gtm.start":
|
5
|
+
new Date().getTime(),event:"gtm.js"});var f=d.getElementsByTagName(s)[0],
|
6
|
+
j=d.createElement(s),dl=l!="dataLayer"?"&l="+l:"";j.async=true;j.src=
|
7
|
+
"https://www.googletagmanager.com/gtm.js?id="+i+dl;f.parentNode.insertBefore(j,f);
|
8
|
+
})(window,document,"script","dataLayer","{{- site.data.analytics.google.tag-manager-id -}}");
|
9
|
+
</script>
|
10
|
+
<!-- end google tag manager -->
|
11
|
+
{%- endif -%}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
<meta charset="utf-8" />
|
2
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
4
|
+
<meta name="author" content="{{- page.author -}}" />
|
5
|
+
<meta name="description" content="{{- page.description -}}">
|
6
|
+
<meta name="keywords" content="{{- page.author -}}, {{- page.title -}}, {{- page.description -}}" />
|
7
|
+
{%- include facebook-og.html -%}
|
8
|
+
{%- include twitter-summary.html -%}
|
9
|
+
|
10
|
+
{%- assign title = site.title -%}
|
11
|
+
{%- unless title -%}
|
12
|
+
{%- assign title = page.title -%}
|
13
|
+
{%- endunless -%}
|
14
|
+
<title>{{- title -}}</title>
|
15
|
+
|
16
|
+
<link rel="alternate" type="application/rss+xml" href="{{- site.baseurl -}}atom.xml" />
|
17
|
+
|
18
|
+
<!-- stylesheets -->
|
19
|
+
{%- if layout.css -%}
|
20
|
+
{%- for href in layout.css -%}
|
21
|
+
<link rel="stylesheet" href="{{- href -}}" />
|
22
|
+
{%- endfor -%}
|
23
|
+
{%- endif -%}
|
24
|
+
|
25
|
+
{%- if page.css -%}
|
26
|
+
{%- for href in page.css -%}
|
27
|
+
<link rel="stylesheet" href="{{- href -}}" />
|
28
|
+
{%- endfor -%}
|
29
|
+
{%- endif -%}
|
30
|
+
|
31
|
+
<!-- fonts -->
|
32
|
+
{%- if site.data.theme.font.href -%}
|
33
|
+
{%- for href in site.data.theme.font.href -%}
|
34
|
+
<link rel="stylesheet" href="{{- href -}}">
|
35
|
+
{%- endfor -%}
|
36
|
+
{%- endif -%}
|
37
|
+
|
38
|
+
<!-- analytics -->
|
39
|
+
{%- include google-tm-gtag.html -%}
|
40
|
+
{%- include google-tm-head.html -%}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<figure>
|
2
|
+
{%- if include.description -%}
|
3
|
+
<img src="{{- include.src -}}" alt="{{- include.description -}}" style="{{- include.style -}}">
|
4
|
+
<figcaption>{{- include.description -}}</figcaption>
|
5
|
+
{%- else -%}
|
6
|
+
<img src="{{- include.src -}}" style="{{- include.style -}}">
|
7
|
+
{%- endif -%}
|
8
|
+
</figure>
|
data/_includes/meta.html
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
<div class="fos-navigation container-fluid d-flex justify-items-center align-items-center p-0 m-0">
|
2
|
+
{%- include menu-icon.html -%}
|
3
|
+
|
4
|
+
<div class="container">
|
5
|
+
<div class="row">
|
6
|
+
{%- if site.data.navigation -%}
|
7
|
+
<nav class="col-12 col-md-4 d-flex flex-row flex-md-column flex-wrap align-items-start justify-content-center">
|
8
|
+
{%- for nav in site.data.navigation -%}
|
9
|
+
<a href="{{- nav[1] -}}">{{- nav[0] -}}</a>
|
10
|
+
{%- endfor -%}
|
11
|
+
</nav>
|
12
|
+
{%- endif -%}
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
</div>
|