kaschber 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -3
- data/_config.yml +1 -0
- data/_includes/dynamic_title.html +8 -8
- data/_includes/head.html +13 -11
- data/_includes/post-card.html +48 -55
- data/_layouts/author.html +51 -50
- data/_layouts/default.html +101 -102
- data/_layouts/home.html +26 -30
- data/_layouts/page.html +22 -26
- data/_layouts/post.html +94 -91
- data/_layouts/tag.html +37 -40
- data/assets/built/kaschber.js +1 -1
- data/assets/built/kaschber.js.map +1 -1
- data/assets/built/screen.css +1 -1
- data/assets/built/screen.css.map +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce8d958d0b88584cc4f748b4e42c525c0772184f42c79bc4d11e88dbc57e2303
|
4
|
+
data.tar.gz: 208f05a48c8fba648181a85af3c90686e7b103d5b3623f82f877ffc23cc6f379
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfeacd4968793e9f81f3394b1692f7758981ea20909bb6eeaf1a32604ed02c1097048d3a536e901026c90ecdb973d4b02d3e18c9969db733f7d192cc009b7b8a
|
7
|
+
data.tar.gz: b06b45b573c1765d846eee17beeca0b5eff4c70eb5a2e3060352af08049765cdd2ef5a37fdf201f58e6ea20f999709e8a1047b4777bf294b7247ba8cc4500279
|
data/README.md
CHANGED
@@ -46,14 +46,14 @@ You can specifiy these customisation options in your `_config.yml` for site-wide
|
|
46
46
|
|
47
47
|
| Config | Default | Options |
|
48
48
|
|-------------------------|-------------------|-----------------------------------|
|
49
|
-
| title_font |
|
50
|
-
| body_font |
|
49
|
+
| title_font | System default | Elegant serif |
|
50
|
+
| body_font | System default | Modern sans-serif |
|
51
51
|
| header_style | Center aligned | Center aligned, Left, aligned, Hidden |
|
52
52
|
| show_logo_in_navigation | false | True, False |
|
53
53
|
| feed_layout | Classic | Classic, Grid, List |
|
54
54
|
| color_scheme | Auto | Light, Dark, Auto |
|
55
55
|
| post_image_style | Wide | Wide, Full, Small, Hidden |
|
56
|
-
|
56
|
+
| navigation_layout | Logo on cover | Logo on cover, Logo in the middle, stacked |
|
57
57
|
|
58
58
|
You can specifiy these additional customisation options per post or in the default section for posts `_config.yml`
|
59
59
|
| Config | Default | Options |
|
@@ -67,6 +67,26 @@ Kaschber also features several points to inject your custom code into the templa
|
|
67
67
|
- `_includes/custom-js.html` to include any additional Javascript at the bottom of your page
|
68
68
|
- `_includes/custom-post-content.html` to include any custom post-specific content which gets inserted in every post. E.g. a table of content tag
|
69
69
|
|
70
|
+
### Navigation
|
71
|
+
Per default, Kaschber will include all files in your root folder in the header navigation bar. You can customise this with the setting `header_pages` in your `_config.yml`. E.g.
|
72
|
+
|
73
|
+
```
|
74
|
+
header_pages:
|
75
|
+
- my_page.md
|
76
|
+
- about.md
|
77
|
+
```
|
78
|
+
|
79
|
+
### Colours
|
80
|
+
You can overwrite any colours and styles by just adding css files and include them in your `custom-head.html`. To overwrite the default accent colour #ff0095, do the following
|
81
|
+
1. Create a file in your assets folder with the following content
|
82
|
+
```css
|
83
|
+
:root {
|
84
|
+
--ghost-accent-color: #6D7C86;
|
85
|
+
}
|
86
|
+
```
|
87
|
+
2. Create `custom-head.html` in your `_includes` folder
|
88
|
+
3. Include the new css file in your `custom-head.html`
|
89
|
+
|
70
90
|
## Authors
|
71
91
|
To include author information, just create a folder called `_authors` and create your author information via markdown or html files. E.g.
|
72
92
|
```
|
data/_config.yml
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
<!-- dynamically fixing the title for tag/author pages -->
|
2
2
|
{% if page.url %}
|
3
3
|
{% if page.url contains "tags/" %}
|
4
|
-
|
4
|
+
{% assign title = page.url | remove: 'tag' | remove: '/' | url_decode | replace: '-', ' ' %}
|
5
5
|
{% elsif page.url contains "authors/" %}
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
{% assign username = page.url | remove: 'author' | remove: '/' | replace: '-', ' ' | remove: ' ' %}
|
7
|
+
{% for author in site.authors %}
|
8
|
+
{% if author.username == username %}
|
9
|
+
{% assign title = author.name %}
|
10
|
+
{% endif %}
|
11
|
+
{% endfor %}
|
12
12
|
{% endif %}
|
13
13
|
{% endif %}
|
14
14
|
{% if title %}
|
15
15
|
{% assign title = title | append: ' - ' | append: site.title %}
|
16
|
-
{% endif %}
|
16
|
+
{% endif %}
|
data/_includes/head.html
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
<head>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
2
|
+
<meta charset="utf-8">
|
3
|
+
{%- include dynamic_title.html -%}
|
4
|
+
|
5
|
+
{%- seo -%}
|
6
|
+
|
7
|
+
{%- feed_meta -%}
|
8
|
+
|
9
|
+
<link rel="stylesheet" type="text/css" href="{{ "/assets/built/global.css" | relative_url }}">
|
10
|
+
<link rel="stylesheet" type="text/css" href="{{ "/assets/built/screen.css" | relative_url }}">
|
11
|
+
|
12
|
+
{%- include custom-head.html -%}
|
13
|
+
|
14
|
+
</head>
|
data/_includes/post-card.html
CHANGED
@@ -1,58 +1,51 @@
|
|
1
1
|
{% assign words_per_minute = site.words_per_minute | default: 200 %}
|
2
2
|
{% assign post = include.post %}
|
3
3
|
|
4
|
-
<article class="post-card {{post_class}}{% if site.feed_layout ==
|
5
|
-
{% if site.
|
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
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
<span class="post-card-meta-length">{{ words | divided_by:words_per_minute }} min read</span>
|
53
|
-
{% endif %}
|
54
|
-
</footer>
|
55
|
-
|
56
|
-
</div>
|
57
|
-
|
58
|
-
</article>
|
4
|
+
<article class="post-card {{post_class}}{% if site.feed_layout == 'Classic' %}{% if page.current == 'home' %}{% if site.posts.first == post %} post-card-large{% elsif site.posts[1] == post or site.posts[2] == post %} dynamic{% endif %}{% endif %}{% endif %}
|
5
|
+
{% if site.feed_layout == 'Grid' %} keep-ratio{% endif %}{% if site.feed_layout == 'List' %}{% if post.current == 'home, paged' %} post-card-large{% endif %}{% endif %}">{% if post.cover %}
|
6
|
+
<a class="post-card-image-link" href="{{ site.baseurl }}{{ post.url | remove_first: '/' }}">
|
7
|
+
|
8
|
+
<img class="post-card-image" src="{{ site.baseurl }}{{ post.cover }}" alt="{% if post.cover_alt %}{{post.cover_alt}}{% else %}{{post.title}}{% endif %}" loading="lazy">
|
9
|
+
</a>
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<div class="post-card-content">
|
13
|
+
|
14
|
+
<a class="post-card-content-link" href="{{ site.baseurl }}{{ post.url | remove_first: '/' }}">
|
15
|
+
|
16
|
+
<header class="post-card-header">
|
17
|
+
<div class="post-card-tags">
|
18
|
+
{% if post.tags.size > 0 %}
|
19
|
+
<span class="post-card-primary-tag">{{ post.tags | first | capitalize }}</span>
|
20
|
+
{% endif %}
|
21
|
+
{% if post.featured %}
|
22
|
+
<span class="post-card-featured">{% include icons/fire.html %} Featured</span>
|
23
|
+
{% endif %}
|
24
|
+
</div>
|
25
|
+
<h2 class="post-card-title">
|
26
|
+
{{post.title}}
|
27
|
+
</h2>
|
28
|
+
</header>
|
29
|
+
{% if post.custom_excerpt %}
|
30
|
+
<div class="post-card-excerpt">{{post.custom_excerpt}}</div>
|
31
|
+
{% else %}
|
32
|
+
<div class="post-card-excerpt">{{ post.excerpt | strip_html }}</div>
|
33
|
+
{% endif %}
|
34
|
+
</a>
|
35
|
+
|
36
|
+
<footer class="post-card-meta">
|
37
|
+
<time class="post-card-meta-date" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date:'%e %B %Y' }}</time>
|
38
|
+
{% if post.reading_time %}
|
39
|
+
<span class="post-card-meta-length">{{post.reading_time}}</span>
|
40
|
+
{% endif %}
|
41
|
+
{% assign words = post.content | strip_html | number_of_words %}
|
42
|
+
{% if words <= words_per_minute %}
|
43
|
+
<span class="post-card-meta-length">1 min read</span>
|
44
|
+
{% else %}
|
45
|
+
<span class="post-card-meta-length">{{ words | divided_by:words_per_minute }} min read</span>
|
46
|
+
{% endif %}
|
47
|
+
</footer>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</article>
|
data/_layouts/author.html
CHANGED
@@ -1,65 +1,66 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
4
|
<main id="site-main" class="site-main outer">
|
6
|
-
|
7
|
-
|
8
|
-
<section class="post-card post-card-large">
|
9
|
-
{%if page.feature_image %}
|
10
|
-
<div class="post-card-image-link">
|
11
|
-
<img class="post-card-image"
|
12
|
-
src="{{ site.baseurl }}{{ page.feature_image }}" alt="{{ page.name }}"
|
13
|
-
/>
|
14
|
-
</div>
|
15
|
-
{% endif %}
|
5
|
+
<div class="inner posts">
|
16
6
|
|
17
|
-
|
18
|
-
|
7
|
+
<div class="post-feed">
|
8
|
+
<section class="post-card post-card-large">
|
19
9
|
|
20
|
-
|
21
|
-
|
22
|
-
|
10
|
+
{%if page.feature_image %}
|
11
|
+
<div class="post-card-image-link">
|
12
|
+
<img class="post-card-image" src="{{ site.baseurl }}{{ page.feature_image }}" alt="{{ page.name }}">
|
13
|
+
</div>
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
<div class="post-card-content">
|
17
|
+
<div class="post-card-content-link">
|
18
|
+
|
19
|
+
{%if page.picture %}
|
20
|
+
<img class="author-profile-pic" src="{{ site.baseurl }}{{ page.picture }}" alt="{{page.name}}"/>
|
21
|
+
{% endif %}
|
23
22
|
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
<header class="post-card-header">
|
24
|
+
<h2 class="post-card-title">{{page.name}}</h2>
|
25
|
+
</header>
|
27
26
|
|
28
|
-
|
29
|
-
|
27
|
+
{%if page.bio %}
|
28
|
+
<div class="post-card-excerpt">{{page.bio}}</div>
|
29
|
+
{% endif %}
|
30
|
+
|
31
|
+
<footer class="author-profile-footer">
|
32
|
+
{%if page.location %}
|
33
|
+
<div class="author-profile-location">{{page.location}}</div>
|
34
|
+
{% endif %}
|
35
|
+
<div class="author-profile-meta">
|
36
|
+
{%if page.website %}
|
37
|
+
<a class="author-profile-social-link" href="{{page.website}}" target="_blank" rel="noopener">{{page.website}}</a>
|
38
|
+
{% endif %}
|
39
|
+
{%if page.twitter_url %}
|
40
|
+
<a class="author-profile-social-link" href="{{page.twitter_url}}" target="_blank" rel="noopener">{% include icons/twitter.html %}</a>
|
41
|
+
{% endif %}
|
42
|
+
{%if page.facebook_url %}
|
43
|
+
<a class="author-profile-social-link" href="{{page.facebook_url}}" target="_blank" rel="noopener">{% include icons/facebook.html %}</a>
|
30
44
|
{% endif %}
|
31
45
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
{% endif %}
|
40
|
-
{%if page.twitter_url %}
|
41
|
-
<a class="author-profile-social-link" href="{{page.twitter_url}}" target="_blank" rel="noopener">{% include icons/twitter.html %}</a>
|
42
|
-
{% endif %}
|
43
|
-
{%if page.facebook_url %}
|
44
|
-
<a class="author-profile-social-link" href="{{page.facebook_url}}" target="_blank" rel="noopener">{% include icons/facebook.html %}</a>
|
45
|
-
{% endif %}
|
46
|
+
{% if page.location %}
|
47
|
+
<div class="author-location">{{ page.location }}
|
48
|
+
<span class="bull">•</span>
|
49
|
+
</div>
|
50
|
+
{% endif %}
|
51
|
+
</div>
|
52
|
+
</footer>
|
46
53
|
|
47
|
-
|
48
|
-
|
49
|
-
{% endif %}
|
50
|
-
</div>
|
51
|
-
</footer>
|
54
|
+
</div>
|
55
|
+
</div>
|
52
56
|
|
53
|
-
|
54
|
-
</div>
|
57
|
+
</section>
|
55
58
|
|
56
|
-
|
57
|
-
|
58
|
-
{%
|
59
|
-
|
60
|
-
{% include post-card.html post=post %}
|
61
|
-
{% endfor %}
|
59
|
+
{% assign filtered_posts = site.posts | where: 'author', page.username %}
|
60
|
+
{% for post in filtered_posts %}
|
61
|
+
{% include post-card.html post=post %}
|
62
|
+
{% endfor %}
|
62
63
|
|
63
64
|
</div>
|
64
|
-
|
65
|
-
|
65
|
+
</div>
|
66
|
+
</main>
|
data/_layouts/default.html
CHANGED
@@ -1,119 +1,118 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<html lang="{{ site.
|
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
|
-
|
46
|
-
</
|
2
|
+
<html lang="{{ page.lang | default: site.lang }}" {% if site.color_scheme == "Dark" %} class="dark-mode"{% elsif site.color_scheme == "Auto" %} class="auto-color"{% endif %}>
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body class="{% if paginator.page > 1 %}paged archive-template{% elsif page.class %}{{ page.class }}{% else %}home-template{% endif %}
|
7
|
+
is-head-{% if site.navigation_layout == 'Logo on cover' %}left-logo{% elsif site.navigation_layout == 'Logo in the middle' %}middle-logo{% else %}stacked{% endif %}
|
8
|
+
{% if site.title_font == 'Elegant serif' %} has-serif-title{% endif %}{% if site.body_font == 'Modern sans-serif' %} has-sans-body{% endif %}
|
9
|
+
{% if site.cover or page.cover %} has-cover {% endif %}">
|
10
|
+
<div class="viewport">
|
11
|
+
<header id="gh-head" class="gh-head outer">
|
12
|
+
<div class="gh-head-inner inner">
|
13
|
+
<div class="gh-head-brand">
|
14
|
+
<a class="gh-head-logo" href="{{ site.url }}{{ site.baseurl }}">
|
15
|
+
{% if site.logo %}
|
16
|
+
<img src="{{ site.baseurl }}{{ site.logo }}" alt="{{ site.title }}">
|
17
|
+
{% else %}
|
18
|
+
{{ site.title }}
|
19
|
+
{% endif %}
|
20
|
+
</a>
|
21
|
+
<button class="gh-burger"></button>
|
22
|
+
</div>
|
23
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
24
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
25
|
+
<nav class="gh-head-menu">
|
26
|
+
<ul class="nav" role="menu">
|
27
|
+
{%- for path in page_paths -%}
|
28
|
+
{%- assign my_page = site.pages | where: "path", path | first -%}
|
29
|
+
{%- if my_page.title -%}
|
30
|
+
<li class="nav-{{ my_page.title | escape }}" role="menuitem">
|
31
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
32
|
+
</li>
|
33
|
+
{%- endif -%}
|
34
|
+
{%- endfor -%}
|
35
|
+
</ul>
|
36
|
+
</nav>
|
37
|
+
<div class="gh-head-actions">
|
38
|
+
<div class="gh-social">
|
39
|
+
{% if site.facebook %}
|
40
|
+
<a href="https://facebook.com/{{ site.facebook }}" target="_blank" rel="noopener" class="gh-social-link gh-social-facebook">Facebook</a>
|
41
|
+
{% endif %}
|
42
|
+
{% if site.twitter %}
|
43
|
+
<a href="https://twitter.com/{{ site.twitter }}" target="_blank" rel="noopener" class="gh-social-link gh-social-twitter">Twitter</a>
|
44
|
+
{% endif %}
|
45
|
+
{% if site.github %}
|
46
|
+
<a href="https://github.com/{{ site.github }}" target="_blank" rel="noopener" class="gh-social-link gh-social-github">{% include icons/github.html %}</a>
|
47
|
+
{% endif %}
|
48
|
+
{% if site.rss %}
|
49
|
+
<a href="{{ site.baseurl }}{% if site.feed.path %}{{site.feed.path}}{% else %}feed.xml{% endif %}" target="_blank" rel="noopener" class="gh-social-link gh-social-rss">{% include icons/rss.html %}</a>
|
50
|
+
{% endif %}
|
47
51
|
</div>
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
<div class="subscribe-overlay-content">
|
60
|
-
{% if site.logo %}
|
61
|
-
<img class="subscribe-overlay-logo" src="{{ site.baseurl }}{{ site.logo }}" alt="{{ site.title }}" />
|
62
|
-
{% endif %}
|
63
|
-
<h1 class="subscribe-overlay-title">Subscribe to {{ site.title }}</h1>
|
64
|
-
<p class="subscribe-overlay-description">Stay up to date! Get all the latest & greatest posts delivered straight to your inbox</p>
|
65
|
-
{% include subscribe-form.html placeholder="youremail@example.com" %}
|
66
|
-
</div>
|
52
|
+
<!-- The big email subscribe modal content -->
|
53
|
+
{% if site.subscribers %}
|
54
|
+
<div id="subscribe" class="subscribe-overlay">
|
55
|
+
<a class="subscribe-overlay-close gh-head-button" href="#"></a>
|
56
|
+
<div class="subscribe-overlay-content">
|
57
|
+
{% if site.logo %}
|
58
|
+
<img class="subscribe-overlay-logo" src="{{ site.baseurl }}{{ site.logo }}" alt="{{ site.title }}">
|
59
|
+
{% endif %}
|
60
|
+
<h1 class="subscribe-overlay-title">Subscribe to {{ site.title }}</h1>
|
61
|
+
<p class="subscribe-overlay-description">Stay up to date! Get all the latest & greatest posts delivered straight to your inbox</p>
|
62
|
+
{% include subscribe-form.html placeholder="youremail@example.com" %}
|
67
63
|
</div>
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
64
|
+
</div>
|
65
|
+
{% endif %}
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</header>
|
72
69
|
|
73
70
|
|
74
|
-
|
75
|
-
|
76
|
-
|
71
|
+
<div class="site-content">
|
72
|
+
{{ content }}
|
73
|
+
<!-- Previous/next page links - displayed on every page -->
|
77
74
|
|
78
|
-
|
75
|
+
</div>
|
79
76
|
|
80
77
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
78
|
+
<footer class="site-footer outer">
|
79
|
+
<div class="inner">
|
80
|
+
<section class="copyright">
|
81
|
+
<a href="{{ site.url }}">{{ site.title }}</a>
|
82
|
+
© {{ site.time | date: '%Y' }}</section>
|
83
|
+
<nav class="site-footer-nav">
|
84
|
+
{% include footer-nav.html %}
|
85
|
+
</nav>
|
86
|
+
<div>Powered by
|
87
|
+
<a href="https://jekyllrb.com/" target="_blank" rel="noopener">Jekyll</a>
|
88
|
+
&
|
89
|
+
<a href="https://github.com/Agraphie/kaschber" target="_blank" rel="noopener">Kaschber</a>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
</footer>
|
91
93
|
</div>
|
92
|
-
</body>
|
93
94
|
|
94
95
|
|
95
96
|
|
96
|
-
<script
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
</script>
|
97
|
+
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
98
|
+
|
99
|
+
<script src="{{ "assets/built/kaschber.js" | relative_url }}"></script>
|
100
|
+
|
101
101
|
|
102
|
-
<script
|
102
|
+
<script>
|
103
|
+
$(document).ready(function() {
|
103
104
|
|
105
|
+
// Mobile Menu Trigger
|
106
|
+
$('.gh-burger').click(function() {
|
107
|
+
$('body').toggleClass('gh-head-open');
|
108
|
+
});
|
104
109
|
|
105
|
-
|
106
|
-
$(
|
107
|
-
|
108
|
-
|
109
|
-
$('body').toggleClass('gh-head-open');
|
110
|
-
});
|
111
|
-
// FitVids - Makes video embeds responsive
|
112
|
-
$(".gh-content").fitVids();
|
113
|
-
});
|
114
|
-
</script>
|
110
|
+
// FitVids - Makes video embeds responsive
|
111
|
+
$(".gh-content").fitVids();
|
112
|
+
});
|
113
|
+
</script>
|
115
114
|
|
116
|
-
{% include custom-js.html %}
|
115
|
+
{% include custom-js.html %}
|
117
116
|
|
118
|
-
</body>
|
119
|
-
</html>
|
117
|
+
</body>
|
118
|
+
</html>
|