seriously_simple_static_starter 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/_includes/cards.html +27 -0
- data/_includes/feature-block.html +24 -0
- data/_includes/footer.html +11 -0
- data/_includes/ga-lite.html +5 -0
- data/_includes/head.html +39 -0
- data/_includes/header.html +34 -0
- data/_includes/latest-posts.html +28 -0
- data/_includes/navbar.html +40 -0
- data/_includes/slider.html +41 -0
- data/_layouts/base.html +22 -0
- data/_layouts/default.html +4 -0
- data/_layouts/flow.html +25 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +11 -0
- data/_sass/_animation.scss +68 -0
- data/_sass/_feature-block.scss +5 -0
- data/_sass/_fontello.scss +46 -0
- data/_sass/_header.scss +7 -0
- data/_sass/_highlighter.scss +84 -0
- data/_sass/_inherited.scss +39 -0
- data/_sass/_navbar.scss +188 -0
- data/_sass/_theme.scss +397 -0
- data/_sass/_variables.scss +3 -0
- data/_sass/animate.scss +3625 -0
- data/_sass/bootstrap/_alert.scss +51 -0
- data/_sass/bootstrap/_badge.scss +47 -0
- data/_sass/bootstrap/_breadcrumb.scss +38 -0
- data/_sass/bootstrap/_button-group.scss +166 -0
- data/_sass/bootstrap/_buttons.scss +143 -0
- data/_sass/bootstrap/_card.scss +270 -0
- data/_sass/bootstrap/_carousel.scss +191 -0
- data/_sass/bootstrap/_close.scss +34 -0
- data/_sass/bootstrap/_code.scss +56 -0
- data/_sass/bootstrap/_custom-forms.scss +297 -0
- data/_sass/bootstrap/_dropdown.scss +131 -0
- data/_sass/bootstrap/_forms.scss +333 -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 +159 -0
- data/_sass/bootstrap/_jumbotron.scss +16 -0
- data/_sass/bootstrap/_list-group.scss +115 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +42 -0
- data/_sass/bootstrap/_modal.scss +168 -0
- data/_sass/bootstrap/_nav.scss +118 -0
- data/_sass/bootstrap/_navbar.scss +311 -0
- data/_sass/bootstrap/_pagination.scss +77 -0
- data/_sass/bootstrap/_popover.scss +183 -0
- data/_sass/bootstrap/_print.scss +124 -0
- data/_sass/bootstrap/_progress.scss +33 -0
- data/_sass/bootstrap/_reboot.scss +482 -0
- data/_sass/bootstrap/_root.scss +19 -0
- data/_sass/bootstrap/_tables.scss +180 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +36 -0
- data/_sass/bootstrap/_type.scss +125 -0
- data/_sass/bootstrap/_utilities.scss +14 -0
- data/_sass/bootstrap/_variables.scss +894 -0
- data/_sass/bootstrap/bootstrap-grid.scss +32 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/bootstrap.scss +42 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +21 -0
- data/_sass/bootstrap/mixins/_badge.scss +12 -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 +109 -0
- data/_sass/bootstrap/mixins/_caret.scss +65 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_float.scss +11 -0
- data/_sass/bootstrap/mixins/_forms.scss +137 -0
- data/_sass/bootstrap/mixins/_gradients.scss +45 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +67 -0
- data/_sass/bootstrap/mixins/_grid.scss +52 -0
- data/_sass/bootstrap/mixins/_hover.scss +39 -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/_navbar-align.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 +35 -0
- data/_sass/bootstrap/mixins/_size.scss +6 -0
- data/_sass/bootstrap/mixins/_table-row.scss +30 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +14 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +9 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +9 -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 +59 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +38 -0
- data/_sass/bootstrap/utilities/_embed.scss +52 -0
- data/_sass/bootstrap/utilities/_flex.scss +46 -0
- data/_sass/bootstrap/utilities/_float.scss +9 -0
- data/_sass/bootstrap/utilities/_position.scss +36 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_sizing.scss +12 -0
- data/_sass/bootstrap/utilities/_spacing.scss +51 -0
- data/_sass/bootstrap/utilities/_text.scss +52 -0
- data/_sass/bootstrap/utilities/_visibility.scss +11 -0
- data/assets/css/critical.scss +5 -0
- data/assets/css/dist.scss +47 -0
- data/assets/fonts/fontello/fontello.eot +0 -0
- data/assets/fonts/fontello/fontello.svg +12 -0
- data/assets/fonts/fontello/fontello.ttf +0 -0
- data/assets/fonts/fontello/fontello.woff +0 -0
- data/assets/fonts/fontello/fontello.woff2 +0 -0
- data/assets/fonts/lato/bold/bold.eot +0 -0
- data/assets/fonts/lato/bold/bold.svg +2835 -0
- data/assets/fonts/lato/bold/bold.ttf +0 -0
- data/assets/fonts/lato/bold/bold.woff +0 -0
- data/assets/fonts/lato/bold/bold.woff2 +0 -0
- data/assets/fonts/lato/regular/regular.eot +0 -0
- data/assets/fonts/lato/regular/regular.svg +435 -0
- data/assets/fonts/lato/regular/regular.ttf +0 -0
- data/assets/fonts/lato/regular/regular.woff +0 -0
- data/assets/fonts/lato/regular/regular.woff2 +0 -0
- data/assets/images/abstract-bg.jpg +0 -0
- data/assets/images/abstract-lines.jpg +0 -0
- data/assets/images/marketing.jpg +0 -0
- data/assets/images/ssss-resized.png +0 -0
- data/assets/images/ssss.png +0 -0
- data/assets/images/tech-1495181_1920.jpg +0 -0
- data/assets/js/app/main.js +64 -0
- data/assets/js/bundle.js +7 -0
- data/assets/js/vendor/_popper.js +5 -0
- data/assets/js/vendor/bootstrap.js +7 -0
- data/assets/js/vendor/clipboard.js +7 -0
- data/assets/js/vendor/jquery.js +2 -0
- data/assets/js/vendor/lazysizes.min.js +1 -0
- data/assets/js/vendor/ls.unveilhooks.min.js +2 -0
- metadata +283 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 87022d68f1fc7f9afd3764fa35378cb6e9a56ff86fc6f87d76f72ff9fcd4772f
|
|
4
|
+
data.tar.gz: 02a623d0b3699ef0d3b979a2b45f89bcffa284b07c1f35539871ebee91cf6779
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: e2d02f97d9cbce696b2a597e234fd8052ade123655d5c5180dd32cd13416a9a70bc07d09403280df5d3b2fafcdf9be02ba1f2e02196dede713e0f27da9e55d47
|
|
7
|
+
data.tar.gz: ce2fe134d0911e3a0a27f5068febb638b87cde65eb792a63e6b8f6d8df09aafa774535165e229af10e2a63d61dfa21faaa081c04220e477dfbd52ddeef14adbb
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Kyle Kirkby
|
|
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,39 @@
|
|
|
1
|
+
# seriously_simple_static_starter Jekyll Theme
|
|
2
|
+
|
|
3
|
+
This theme aims to provide a super lightweight and flexible Jekyll theme for piecing together a landing page / blog website.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Bootstrap 4
|
|
8
|
+
- jQuery
|
|
9
|
+
- Gulpfile
|
|
10
|
+
- Blog
|
|
11
|
+
- Google Pagespeed 100 "out-of-the-box"
|
|
12
|
+
- ES6 Support
|
|
13
|
+
- JS Uglified
|
|
14
|
+
- CSS minified
|
|
15
|
+
- SASS driven
|
|
16
|
+
- Responsive images using `jekyll-picture-tag` plugin
|
|
17
|
+
- Generates next gen webp formats on the fly.
|
|
18
|
+
- Blinding SEO support
|
|
19
|
+
- Google Analytics
|
|
20
|
+
- NO-JS support
|
|
21
|
+
- Modernizr
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
|
26
|
+
|
|
27
|
+
## Contributing
|
|
28
|
+
|
|
29
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/kylekirkby/seriously_simple_static_starter. 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.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## Development
|
|
33
|
+
|
|
34
|
+
TODO
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
39
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<div class="row card__block">
|
|
2
|
+
<div class="container">
|
|
3
|
+
<div class="row">
|
|
4
|
+
{% for card in include.object.items %}
|
|
5
|
+
<div class="col-md-{{include.object.card_width}}">
|
|
6
|
+
<div class="card text-center">
|
|
7
|
+
{% assign card_image = card.image.path | replace: '/assets/images/','' %}
|
|
8
|
+
<a href="{{card.url}}">
|
|
9
|
+
{% picture card {{card_image}} alt=card.image.alt %}
|
|
10
|
+
</a>
|
|
11
|
+
<div class="card-body">
|
|
12
|
+
<h5 class="card-title">{{card.title}}</h5>
|
|
13
|
+
<p class="card-text">
|
|
14
|
+
{{card.text | markdownify}}
|
|
15
|
+
</p>
|
|
16
|
+
{% if card.buttons %}
|
|
17
|
+
{% for btn in card.buttons %}
|
|
18
|
+
<a class="btn {% if btn.class %}{{btn.class}}{% endif %}" href="{{btn.url}}">{{btn.title}}</a>
|
|
19
|
+
{% endfor %}
|
|
20
|
+
{% endif %}
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
{% endfor %}
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<div class="row feature__block p-t-50 p-b-50">
|
|
2
|
+
<div class="container">
|
|
3
|
+
<div class="row">
|
|
4
|
+
<div class="col-md-7 block__image order-md-{% if include.object.format == "right" %}2{% else %}1{% endif %}">
|
|
5
|
+
{% assign block_image = include.object.image.path | replace: '/assets/images/','' %}
|
|
6
|
+
{% picture feature_block_image {{block_image}} alt=include.object.image.alt %}
|
|
7
|
+
</div>
|
|
8
|
+
<div class="col-md-5 block__text order-md-{% if include.object.format == "right" %}1{% else %}2{% endif %}">
|
|
9
|
+
<h2>{{include.object.title}}</h2>
|
|
10
|
+
{% if include.object.highlight-text %}
|
|
11
|
+
<div class="font-weight-bold">
|
|
12
|
+
{{include.object.highlight-text | markdownify }}
|
|
13
|
+
</div>
|
|
14
|
+
{% endif %}
|
|
15
|
+
{{include.object.text | markdownify}}
|
|
16
|
+
{% if include.object.buttons %}
|
|
17
|
+
{% for btn in include.object.buttons %}
|
|
18
|
+
<a class="btn btn-lg {% if btn.class %}{{btn.class}}{% endif %}" href="{{btn.url}}">{{btn.title}}</a>
|
|
19
|
+
{% endfor %}
|
|
20
|
+
{% endif %}
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<footer class="site-footer">
|
|
2
|
+
<div class="container">
|
|
3
|
+
<div class="row strip">
|
|
4
|
+
<div class="col-md-6 left center-sm">
|
|
5
|
+
<span class="text-muted text-light">
|
|
6
|
+
© {{ 'now' | date: "%Y" }} {{ site.title | escape }} - {{site.footer-text | markdownify | replace: '<p>', '' | replace: '</p>','' }}
|
|
7
|
+
</span>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</footer>
|
data/_includes/head.html
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<head>
|
|
2
|
+
{% include ga-lite.html %}
|
|
3
|
+
<meta charset="utf-8">
|
|
4
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>{% if page.title %}{{ page.title | escape }} - {{site.title}}{% else %}{{ site.title | escape }} -
|
|
7
|
+
{{site.tagline}}{% endif %}</title>
|
|
8
|
+
<meta name="description"
|
|
9
|
+
content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
|
10
|
+
<!-- <link rel="apple-touch-icon" sizes="57x57" href="/assets/images/favicons/apple-icon-57x57.png">
|
|
11
|
+
<link rel="apple-touch-icon" sizes="60x60" href="/assets/images/favicons/apple-icon-60x60.png">
|
|
12
|
+
<link rel="apple-touch-icon" sizes="72x72" href="/assets/images/favicons/apple-icon-72x72.png">
|
|
13
|
+
<link rel="apple-touch-icon" sizes="76x76" href="/assets/images/favicons/apple-icon-76x76.png">
|
|
14
|
+
<link rel="apple-touch-icon" sizes="114x114" href="/assets/images/favicons/apple-icon-114x114.png">
|
|
15
|
+
<link rel="apple-touch-icon" sizes="120x120" href="/assets/images/favicons/apple-icon-120x120.png">
|
|
16
|
+
<link rel="apple-touch-icon" sizes="144x144" href="/assets/images/favicons/apple-icon-144x144.png">
|
|
17
|
+
<link rel="apple-touch-icon" sizes="152x152" href="/assets/images/favicons/apple-icon-152x152.png">
|
|
18
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/favicons/apple-icon-180x180.png">
|
|
19
|
+
<link rel="icon" type="image/png" sizes="192x192" href="/assets/images/favicons/android-icon-192x192.png">
|
|
20
|
+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicons/favicon-32x32.png">
|
|
21
|
+
<link rel="icon" type="image/png" sizes="96x96" href="/assets/images/favicons/favicon-96x96.png">
|
|
22
|
+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicons/favicon-16x16.png"> -->
|
|
23
|
+
{% assign custom_url = site.url | append: site.baseurl %}
|
|
24
|
+
{% assign full_base_url = custom_url %}
|
|
25
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: full_base_url }}">
|
|
26
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}"
|
|
27
|
+
href="{{ "/feed.xml" | prepend: full_base_url }}">
|
|
28
|
+
{% if site.using_jekyll_assets %}
|
|
29
|
+
<link rel="stylesheet" href="{{ "/assets/css/dist.css" | prepend: full_base_url }}?v={% bust_cache %}">
|
|
30
|
+
<style type="text/css">
|
|
31
|
+
{% asset_source critical %}
|
|
32
|
+
</style>
|
|
33
|
+
{% else %}
|
|
34
|
+
<link rel="stylesheet" href="{{ "/assets/dist.min.css" | prepend: full_base_url }}?v={% bust_cache %}">
|
|
35
|
+
<style type="text/css">
|
|
36
|
+
{% include criticalCSS.html %}
|
|
37
|
+
</style>
|
|
38
|
+
{% endif %}
|
|
39
|
+
</head>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<header class="{% if include.object.image %}background_image{% else %}svg{% endif%}">
|
|
2
|
+
{% if include.object.image %}
|
|
3
|
+
{% assign header_image_path = include.object.image.path | replace: '/assets/images', '' %}
|
|
4
|
+
{% picture header_image {{header_image_path}} alt=include.object.image.alt%}
|
|
5
|
+
{% endif %}
|
|
6
|
+
<div class="container">
|
|
7
|
+
<div class="jumbotron text-white d-flex flex-column">
|
|
8
|
+
{% if include.object.items %}
|
|
9
|
+
{% for section in include.object.items %}
|
|
10
|
+
{% if section.type == "title" %}
|
|
11
|
+
<h1 class="display-3 font-weight-bold">{{section.content}}</h1>
|
|
12
|
+
{% elsif section.type == "para" %}
|
|
13
|
+
<p class="lead font-weight-bold">
|
|
14
|
+
{{section.content}}
|
|
15
|
+
</p>
|
|
16
|
+
{% elsif section.type == "buttons" %}
|
|
17
|
+
<p class="lead">
|
|
18
|
+
{% for btn in section.content %}
|
|
19
|
+
<a class="btn {% if btn.class %}{{btn.class}}{% endif %}"
|
|
20
|
+
href="{{btn.url}}" role="button">{{btn.title}}</a>
|
|
21
|
+
{% endfor %}
|
|
22
|
+
</p>
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% endfor %}
|
|
25
|
+
{% else %}
|
|
26
|
+
<h1 class="display-3 font-weight-bold">{{include.object.title}}</h1>
|
|
27
|
+
<p class="lead font-weight-bold">
|
|
28
|
+
{{include.object.description}}
|
|
29
|
+
</p>
|
|
30
|
+
<small>{{include.object.date | date: "%A, %B %-d, %Y" }}</small>
|
|
31
|
+
{% endif %}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</header>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<div class="row card__block latest-posts p-t-50 p-b-50">
|
|
2
|
+
<div class="container">
|
|
3
|
+
<div class="row">
|
|
4
|
+
<div class="col text-center">
|
|
5
|
+
<h3>Latest Posts</h3>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="row">
|
|
9
|
+
{% for post in site.posts limit: include.object.number_of_posts %}
|
|
10
|
+
<div class="col-md-3">
|
|
11
|
+
<div class="card text-center">
|
|
12
|
+
{% assign post_image = post.image.path | replace: '/assets/images/','' %}
|
|
13
|
+
<a href="{{post.url | prepend: site.baseurl }}">
|
|
14
|
+
{% picture card {{post_image}} alt=post.image.alt %}
|
|
15
|
+
</a>
|
|
16
|
+
<div class="card-body">
|
|
17
|
+
<h5 class="card-title">{{post.title}}</h5>
|
|
18
|
+
<p class="card-text">
|
|
19
|
+
{{post.content | truncatewords: 20, "..."}}
|
|
20
|
+
</p>
|
|
21
|
+
<a class="btn btn-primary" href="{{post.url | prepend: site.baseurl }}">Read</a>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
{% endfor %}
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<nav class="navbar navbar-dark navbar-expand-md fixed-top bg-faded" data-toggle="affix">
|
|
2
|
+
<div class="container">
|
|
3
|
+
<a class="navbar-brand" href="{{"/" | prepend: site.baseurl }}">
|
|
4
|
+
{% if site.brand_logo %}
|
|
5
|
+
<img class="navbar-brand" src="{{site.brand_logo | prepend: site.baseurl }}" alt="{{site.title}}">
|
|
6
|
+
{% else %}
|
|
7
|
+
{{site.title}}
|
|
8
|
+
{% endif %}
|
|
9
|
+
</a>
|
|
10
|
+
<button class="navbar-toggler hidden-sm-up pull-xs-right collapsed" type="button" data-toggle="collapse"
|
|
11
|
+
data-target="#collapsingNavbar">
|
|
12
|
+
<span class="icon-bar top-bar"></span>
|
|
13
|
+
<span class="icon-bar middle-bar"></span>
|
|
14
|
+
<span class="icon-bar bottom-bar"></span>
|
|
15
|
+
</button>
|
|
16
|
+
<div class="collapse navbar-collapse" id="collapsingNavbar">
|
|
17
|
+
<ul class="nav navbar-nav ml-auto">
|
|
18
|
+
{% for section in site.data.nav %}
|
|
19
|
+
{% if section.items %}
|
|
20
|
+
<li class="nav-item dropdown">
|
|
21
|
+
<a class="nav-link text-white dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true"
|
|
22
|
+
aria-expanded="false">
|
|
23
|
+
{{section.title}}
|
|
24
|
+
</a>
|
|
25
|
+
<div class="dropdown-menu animated fast" aria-labelledby="Preview">
|
|
26
|
+
{% for sub_section in section.items %}
|
|
27
|
+
<a class="dropdown-item text-center text-md-left" href="{{sub_section.url | prepend: site.baseurl }}">{{sub_section.title}}</a>
|
|
28
|
+
{% endfor %}
|
|
29
|
+
</div>
|
|
30
|
+
</li>
|
|
31
|
+
{% else %}
|
|
32
|
+
<li class="nav-item">
|
|
33
|
+
<a class="nav-link text-white" href="{{section.url | prepend: site.baseurl }}">{{section.title}}</a>
|
|
34
|
+
</li>
|
|
35
|
+
{% endif %}
|
|
36
|
+
{% endfor %}
|
|
37
|
+
</ul>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</nav>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<div class="carousel home slide row" id="bootstrap-carousel">
|
|
2
|
+
<ol class="carousel-indicators">
|
|
3
|
+
{% for item in include.object.items %}
|
|
4
|
+
<li data-slide-to="{{forloop.index}}" data-target="#bootstrap-carousel"
|
|
5
|
+
{% if forloop.first %}class="active"{% endif %}></li>
|
|
6
|
+
{% endfor %}
|
|
7
|
+
</ol>
|
|
8
|
+
<div class="carousel-inner">
|
|
9
|
+
{% for slide in include.object.items %}
|
|
10
|
+
<div class="carousel-item darken {% if forloop.first %}active{% endif %}">
|
|
11
|
+
<div markdown="1">
|
|
12
|
+
{% assign slide_image = slide.image.path | replace: '/assets/images/','' %}
|
|
13
|
+
{% picture blog {{slide_image}} alt=slide.image.alt %}
|
|
14
|
+
</div>
|
|
15
|
+
<div class="carousel-caption flex-container">
|
|
16
|
+
<div class="flex-content">
|
|
17
|
+
<h4 class="responsive-text-large">
|
|
18
|
+
{{slide.title}}
|
|
19
|
+
</h4>
|
|
20
|
+
{% if slide.text %}
|
|
21
|
+
<p class="responsive-text">
|
|
22
|
+
{{slide.text}}
|
|
23
|
+
</p>
|
|
24
|
+
{% endif %}
|
|
25
|
+
{% if slide.buttons %}
|
|
26
|
+
{% for btn in slide.buttons %}
|
|
27
|
+
<a class="btn btn-primary" href="{{btn.url}}">{{btn.title}}</a>
|
|
28
|
+
{% endfor %}
|
|
29
|
+
{% endif %}
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
{% endfor %}
|
|
34
|
+
</div>
|
|
35
|
+
<a class="carousel-control-prev" href="#bootstrap-carousel" data-slide="prev">
|
|
36
|
+
<span class="carousel-control-prev-icon"></span>
|
|
37
|
+
<span class="sr-only">Previous</span></a>
|
|
38
|
+
<a class="carousel-control-next" href="#bootstrap-carousel" data-slide="next">
|
|
39
|
+
<span class="carousel-control-next-icon"></span>
|
|
40
|
+
<span class="sr-only">Next</span></a>
|
|
41
|
+
</div>
|
data/_layouts/base.html
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
{% include head.html %}
|
|
4
|
+
<body>
|
|
5
|
+
<div id="wrapper">
|
|
6
|
+
<div class='thetop'></div>
|
|
7
|
+
{% include navbar.html %}
|
|
8
|
+
{{content}}
|
|
9
|
+
{% include footer.html %}
|
|
10
|
+
<div class='scrolltop'>
|
|
11
|
+
<div class='scroll icon'>
|
|
12
|
+
<i class="icon-up-open"></i>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
{% if site.using_jekyll_assets %}
|
|
17
|
+
<script type="text/javascript" src="{% asset_path bundle %}?v={% bust_cache %}"></script>
|
|
18
|
+
{% else %}
|
|
19
|
+
<script type="text/javascript" src="{{ "/assets/dist.min.js" | prepend: site.baseurl }}?v={% bust_cache %}"></script>
|
|
20
|
+
{% endif %}
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
data/_layouts/flow.html
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: base
|
|
3
|
+
---
|
|
4
|
+
{% if page.header %}
|
|
5
|
+
{% include header.html object=page.header %}
|
|
6
|
+
{% endif %}
|
|
7
|
+
<div class="container-fluid content" id="main_container">
|
|
8
|
+
{% for section in page.sections %}
|
|
9
|
+
{% if section.type == "main-content" %}
|
|
10
|
+
<div class="row" id="main_content">
|
|
11
|
+
<div class="container">
|
|
12
|
+
{{content}}
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
{% elsif section.type == "slider" %}
|
|
16
|
+
{% include slider.html object=section %}
|
|
17
|
+
{% elsif section.type == "latest-posts" %}
|
|
18
|
+
{% include latest-posts.html object=section %}
|
|
19
|
+
{% elsif section.type == "feature-block" %}
|
|
20
|
+
{% include feature-block.html object=section %}
|
|
21
|
+
{% elsif section.type == "cards" %}
|
|
22
|
+
{% include cards.html object=section %}
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% endfor %}
|
|
25
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
|
|
2
|
+
.animated {
|
|
3
|
+
-webkit-animation-duration: 1s;
|
|
4
|
+
animation-duration: 1s;
|
|
5
|
+
-webkit-animation-fill-mode: both;
|
|
6
|
+
animation-fill-mode: both;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.animated.infinite {
|
|
10
|
+
-webkit-animation-iteration-count: infinite;
|
|
11
|
+
animation-iteration-count: infinite;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.animated.delay-1s {
|
|
15
|
+
-webkit-animation-delay: 1s;
|
|
16
|
+
animation-delay: 1s;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.animated.delay-2s {
|
|
20
|
+
-webkit-animation-delay: 2s;
|
|
21
|
+
animation-delay: 2s;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.animated.delay-3s {
|
|
25
|
+
-webkit-animation-delay: 3s;
|
|
26
|
+
animation-delay: 3s;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.animated.delay-4s {
|
|
30
|
+
-webkit-animation-delay: 4s;
|
|
31
|
+
animation-delay: 4s;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.animated.delay-5s {
|
|
35
|
+
-webkit-animation-delay: 5s;
|
|
36
|
+
animation-delay: 5s;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.animated.fast {
|
|
40
|
+
-webkit-animation-duration: 800ms;
|
|
41
|
+
animation-duration: 800ms;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.animated.faster {
|
|
45
|
+
-webkit-animation-duration: 500ms;
|
|
46
|
+
animation-duration: 500ms;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.animated.slow {
|
|
50
|
+
-webkit-animation-duration: 2s;
|
|
51
|
+
animation-duration: 2s;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.animated.slower {
|
|
55
|
+
-webkit-animation-duration: 3s;
|
|
56
|
+
animation-duration: 3s;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (print), (prefers-reduced-motion: reduce) {
|
|
60
|
+
.animated {
|
|
61
|
+
-webkit-animation-duration: 1ms !important;
|
|
62
|
+
animation-duration: 1ms !important;
|
|
63
|
+
-webkit-transition-duration: 1ms !important;
|
|
64
|
+
transition-duration: 1ms !important;
|
|
65
|
+
-webkit-animation-iteration-count: 1 !important;
|
|
66
|
+
animation-iteration-count: 1 !important;
|
|
67
|
+
}
|
|
68
|
+
}
|