jekyll-theme-fica 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/.ci_BASE_2002.yaml.swp +0 -0
- data/.github/workflows/.ci_LOCAL_2002.yaml.swp +0 -0
- data/.github/workflows/.ci_REMOTE_2002.yaml.swp +0 -0
- data/.github/workflows/ci.yaml +7 -0
- data/.github/workflows/ci.yaml.orig +34 -0
- data/.github/workflows/ci_BACKUP_2002.yaml +34 -0
- data/.github/workflows/ci_BASE_2002.yaml +27 -0
- data/.github/workflows/ci_LOCAL_2002.yaml +27 -0
- data/.github/workflows/ci_REMOTE_2002.yaml +27 -0
- data/README.md +4 -3
- data/_includes/Footer.html +112 -85
- data/_includes/Head.html +12 -13
- data/_includes/Header.html +17 -34
- data/_includes/{BTT.html → assets/BTT.html} +8 -7
- data/_includes/{Google-Analytics.html → assets/Google-Analytics.html} +12 -12
- data/_includes/assets/anchor-headings.html +164 -0
- data/_includes/assets/comments.html +16 -0
- data/_includes/assets/toc.html +174 -0
- data/_layouts/default.html +16 -14
- data/_layouts/home.html +25 -67
- data/_layouts/page.html +5 -3
- data/_layouts/post.html +50 -52
- data/_layouts/post_home.html +112 -112
- data/_posts/2022-04-5-Getting-Started.md +150 -149
- data/_sass/{layouts/base.scss → base.scss} +472 -579
- data/_sass/{themes/dark theme/highlight.scss → colors/dark-theme/highlight.scss} +362 -362
- data/_sass/{themes/dark theme/theme-dark.scss → colors/dark-theme/theme-dark.scss} +132 -142
- data/_sass/{themes/light theme/highlight.scss → colors/light-theme/highlight.scss} +198 -198
- data/_sass/{themes/light theme/theme-light.scss → colors/light-theme/theme-light.scss} +126 -136
- data/_sass/jekyll-theme-fica.scss +1 -8
- data/_sass/layouts/component.scss +253 -0
- data/_sass/layouts/layout.scss +612 -718
- data/_sass/layouts/variable.scss +201 -0
- data/assets/css/Style.scss +12 -13
- data/bin/run +195 -150
- data/js/Main.js +21 -0
- data/js/back-to-top.js +39 -48
- metadata +28 -16
- data/_sass/custom/styles.scss +0 -1
- data/_sass/custom/variables.scss +0 -1
- data/_sass/layouts/variables.scss +0 -230
- data/docs/contributing.md +0 -69
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9857fa3554119901ce9080e4f6eb7a9eccd8ebfc5148f4bc9b10be639907b2d6
|
4
|
+
data.tar.gz: 4e5e8ae5bd102a44f186eba41ffce8507ff2e0f6d3183ea06c2acab2a9285a82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42928b4a1b2737051637f92f8545e6227ea9557238db6dc6c45e69440988b48d6e6449537ecda791dc2a218f96b8eaf8488c4b80b98e0224794b4b59ce0d868b
|
7
|
+
data.tar.gz: b6ca5846a252dd72dabc1d2193d3b5cfb92f9338acf2dfbd3a5823f5789b85a724e79106c25424262bbccfcaba69278bf22284862df512a172bfa9a7977d5298
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
name: Bug report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Describe the bug**
|
11
|
+
A clear and concise description of what the bug is.
|
12
|
+
|
13
|
+
**To Reproduce**
|
14
|
+
Steps to reproduce the behavior:
|
15
|
+
1. Go to '...'
|
16
|
+
2. Click on '....'
|
17
|
+
3. Scroll down to '....'
|
18
|
+
4. See error
|
19
|
+
|
20
|
+
**Expected behavior**
|
21
|
+
A clear and concise description of what you expected to happen.
|
22
|
+
|
23
|
+
**Screenshots**
|
24
|
+
If applicable, add screenshots to help explain your problem.
|
25
|
+
|
26
|
+
**Desktop (please complete the following information):**
|
27
|
+
- OS: [e.g. iOS]
|
28
|
+
- Browser [e.g. chrome, safari]
|
29
|
+
- Version [e.g. 22]
|
30
|
+
|
31
|
+
**Smartphone (please complete the following information):**
|
32
|
+
- Device: [e.g. iPhone6]
|
33
|
+
- OS: [e.g. iOS8.1]
|
34
|
+
- Browser [e.g. stock browser, safari]
|
35
|
+
- Version [e.g. 22]
|
36
|
+
|
37
|
+
**Additional context**
|
38
|
+
Add any other context about the problem here.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
name: Feature request
|
3
|
+
about: Suggest an idea for this project
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
12
|
+
|
13
|
+
**Describe the solution you'd like**
|
14
|
+
A clear and concise description of what you want to happen.
|
15
|
+
|
16
|
+
**Describe alternatives you've considered**
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
18
|
+
|
19
|
+
**Additional context**
|
20
|
+
Add any other context or screenshots about the feature request here.
|
Binary file
|
Binary file
|
Binary file
|
data/.github/workflows/ci.yaml
CHANGED
@@ -2,10 +2,17 @@ name: 'Fica testing tool'
|
|
2
2
|
on:
|
3
3
|
push:
|
4
4
|
branches:
|
5
|
+
<<<<<<< HEAD
|
6
|
+
- beta
|
7
|
+
pull_request:
|
8
|
+
branches:
|
9
|
+
- beta
|
10
|
+
=======
|
5
11
|
- main
|
6
12
|
pull_request:
|
7
13
|
branches:
|
8
14
|
- main
|
15
|
+
>>>>>>> 91d38cf37714a464d41160dd1513f5ba186f3bca
|
9
16
|
|
10
17
|
jobs:
|
11
18
|
build:
|
@@ -0,0 +1,34 @@
|
|
1
|
+
name: 'Fica testing tool'
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
<<<<<<< HEAD
|
6
|
+
- beta
|
7
|
+
pull_request:
|
8
|
+
branches:
|
9
|
+
- beta
|
10
|
+
=======
|
11
|
+
- main
|
12
|
+
pull_request:
|
13
|
+
branches:
|
14
|
+
- main
|
15
|
+
>>>>>>> 91d38cf37714a464d41160dd1513f5ba186f3bca
|
16
|
+
|
17
|
+
jobs:
|
18
|
+
build:
|
19
|
+
runs-on: ubuntu-latest
|
20
|
+
strategy:
|
21
|
+
matrix:
|
22
|
+
ruby: [2.7]
|
23
|
+
steps:
|
24
|
+
- name: Checkout
|
25
|
+
uses: actions/checkout@v2
|
26
|
+
with:
|
27
|
+
fetch-depth: 0 # for posts's lastmod
|
28
|
+
- name: Setup Ruby
|
29
|
+
uses: ruby/setup-ruby@v1
|
30
|
+
with:
|
31
|
+
ruby-version: ${{ matrix.ruby }}
|
32
|
+
bundler-cache: true
|
33
|
+
- name: Test Site
|
34
|
+
run: bash bin/run insdep
|
@@ -0,0 +1,34 @@
|
|
1
|
+
name: 'Fica testing tool'
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
<<<<<<< HEAD
|
6
|
+
- beta
|
7
|
+
pull_request:
|
8
|
+
branches:
|
9
|
+
- beta
|
10
|
+
=======
|
11
|
+
- main
|
12
|
+
pull_request:
|
13
|
+
branches:
|
14
|
+
- main
|
15
|
+
>>>>>>> 91d38cf37714a464d41160dd1513f5ba186f3bca
|
16
|
+
|
17
|
+
jobs:
|
18
|
+
build:
|
19
|
+
runs-on: ubuntu-latest
|
20
|
+
strategy:
|
21
|
+
matrix:
|
22
|
+
ruby: [2.7]
|
23
|
+
steps:
|
24
|
+
- name: Checkout
|
25
|
+
uses: actions/checkout@v2
|
26
|
+
with:
|
27
|
+
fetch-depth: 0 # for posts's lastmod
|
28
|
+
- name: Setup Ruby
|
29
|
+
uses: ruby/setup-ruby@v1
|
30
|
+
with:
|
31
|
+
ruby-version: ${{ matrix.ruby }}
|
32
|
+
bundler-cache: true
|
33
|
+
- name: Test Site
|
34
|
+
run: bash bin/run insdep
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: Working on it...
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- master
|
6
|
+
pull_request:
|
7
|
+
branches:
|
8
|
+
- master
|
9
|
+
jobs:
|
10
|
+
build:
|
11
|
+
name: "Test with Jekyll ${{ matrix.jekyll }}"
|
12
|
+
runs-on: "ubuntu-latest"
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
jekyll: ["~> 3.9", "~> 4.2"]
|
16
|
+
env:
|
17
|
+
JEKYLL_VERSION: ${{ matrix.jekyll }}
|
18
|
+
steps:
|
19
|
+
- name: Checkout Repository
|
20
|
+
uses: actions/checkout@v2
|
21
|
+
- name: Set Up Ruby 2.7
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: 2.7
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Run checks
|
27
|
+
run: bin/gp-load
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: 'Fica testing tool'
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- beta
|
6
|
+
pull_request:
|
7
|
+
branches:
|
8
|
+
- beta
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
build:
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
ruby: [2.7]
|
16
|
+
steps:
|
17
|
+
- name: Checkout
|
18
|
+
uses: actions/checkout@v2
|
19
|
+
with:
|
20
|
+
fetch-depth: 0 # for posts's lastmod
|
21
|
+
- name: Setup Ruby
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby }}
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Test Site
|
27
|
+
run: bash bin/run insdep
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: 'Fica testing tool'
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- main
|
6
|
+
pull_request:
|
7
|
+
branches:
|
8
|
+
- main
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
build:
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
ruby: [2.7]
|
16
|
+
steps:
|
17
|
+
- name: Checkout
|
18
|
+
uses: actions/checkout@v2
|
19
|
+
with:
|
20
|
+
fetch-depth: 0 # for posts's lastmod
|
21
|
+
- name: Setup Ruby
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby }}
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Test Site
|
27
|
+
run: bash bin/run insdep
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ You can preview the theme to [see what it looks like](https://involts.github.io/
|
|
8
8
|
# Installation
|
9
9
|
|
10
10
|
### Step 1:
|
11
|
-
Add `gem 'jekyll-theme-fica', '~> 0.2.
|
11
|
+
Add `gem 'jekyll-theme-fica', '~> 0.2.2'` to your `Gemfile`
|
12
12
|
|
13
13
|
### Step 2:
|
14
14
|
Add `theme: jekyll-theme-fica`, if you run it locally and
|
@@ -74,9 +74,11 @@ header:
|
|
74
74
|
| -----------------|---------------------------------------|
|
75
75
|
| `upgrade` , `u` | Upgrades `jekell-theme-fica` to the latest version |
|
76
76
|
| `help` , `h` | Print help. |
|
77
|
-
| `version` , `v` |
|
77
|
+
| `version` , `v` | Print version. |
|
78
78
|
| `server` , `s` | Runs the server locally |
|
79
79
|
| `insdep` , `idp` | Installs all the dependencies |
|
80
|
+
| `chktheme`, `ct` | Checks the theme for errors |
|
81
|
+
| `bldgem`, `bm` | builds the theme and uploads it to RubyGems |
|
80
82
|
|
81
83
|
## Customizing the Styles, Vriables and Color Scheme:
|
82
84
|
|
@@ -98,7 +100,6 @@ Make sure that the logo is 36x36 pixels to avoid overlapping the title.
|
|
98
100
|
## how to replace the pictue at the homepage ?
|
99
101
|
|
100
102
|
Replace `assets/img/homepage-pic.png`
|
101
|
-
|
102
103
|
# Customizing Google Analytics code
|
103
104
|
|
104
105
|
Google has released several iterations to their Google Analytics code over the years since this theme was first created. If you would like to take advantage of the latest code, paste it into `_includes/Google-Analytics.html` in your Jekyll site.
|
data/_includes/Footer.html
CHANGED
@@ -1,85 +1,112 @@
|
|
1
|
-
<footer class="site-footer
|
2
|
-
<div class="wrapper">
|
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
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
<
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
1
|
+
<footer class="site-footer">
|
2
|
+
<div class="footer-wrapper">
|
3
|
+
<div class="site-footer-wrapper">
|
4
|
+
<div class="footer-col">
|
5
|
+
<li class="footer-product">{{site.title}}</li>
|
6
|
+
<li class="footer-product">{{site.description}}</li>
|
7
|
+
</div>
|
8
|
+
<div class="footer-col">
|
9
|
+
<li class="links-footer">
|
10
|
+
<span>find me on</span>
|
11
|
+
</li>
|
12
|
+
<li class="links-footer">
|
13
|
+
<a href="https://github.com/Involts">
|
14
|
+
<svg class="svg-icon github">
|
15
|
+
<use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
|
16
|
+
</svg>
|
17
|
+
<span>Github</span>
|
18
|
+
</a>
|
19
|
+
</li>
|
20
|
+
<li class="links-footer">
|
21
|
+
<a href="/">
|
22
|
+
<svg class="svg-icon youtube">
|
23
|
+
<use xlink:href="{{ 'assets/fica-icons.svg#youtube' | relative_url }}"></use>
|
24
|
+
</svg>
|
25
|
+
<span>Youtube</span>
|
26
|
+
</a>
|
27
|
+
</li>
|
28
|
+
<li class="links-footer">
|
29
|
+
<a href="/">
|
30
|
+
<svg class="svg-icon stackoverflow">
|
31
|
+
<use xlink:href="{{ 'assets/fica-icons.svg#stackoverflow' | relative_url }}"></use>
|
32
|
+
</svg>
|
33
|
+
<span>Stackoverflow</span>
|
34
|
+
</a>
|
35
|
+
</li>
|
36
|
+
</div>
|
37
|
+
<div class="footer-col">
|
38
|
+
<li class="links-footer">
|
39
|
+
<span>You're site</span>
|
40
|
+
</li>
|
41
|
+
<li class="links-footer">
|
42
|
+
<a href="/">
|
43
|
+
<svg class="svg-icon github">
|
44
|
+
<use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
|
45
|
+
</svg>
|
46
|
+
<span>sit amet</span>
|
47
|
+
</a>
|
48
|
+
</li>
|
49
|
+
<li class="links-footer">
|
50
|
+
<a href="/">
|
51
|
+
<svg class="svg-icon github">
|
52
|
+
<use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
|
53
|
+
</svg>
|
54
|
+
<span>consectetur</span>
|
55
|
+
</a>
|
56
|
+
</li>
|
57
|
+
<li class="links-footer">
|
58
|
+
<a href="/">
|
59
|
+
<svg class="svg-icon github">
|
60
|
+
<use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
|
61
|
+
</svg>
|
62
|
+
<span>ipsum</span>
|
63
|
+
</a>
|
64
|
+
</li>
|
65
|
+
</div>
|
66
|
+
<div class="footer-col">
|
67
|
+
<li class="links-footer">
|
68
|
+
<span>You're site</span>
|
69
|
+
</li>
|
70
|
+
<li class="links-footer">
|
71
|
+
<a href="/">
|
72
|
+
<svg class="svg-icon github">
|
73
|
+
<use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
|
74
|
+
</svg>
|
75
|
+
<span>sit amet</span>
|
76
|
+
</a>
|
77
|
+
</li>
|
78
|
+
<li class="links-footer">
|
79
|
+
<a href="/">
|
80
|
+
<svg class="svg-icon github">
|
81
|
+
<use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
|
82
|
+
</svg>
|
83
|
+
<span>consectetur</span>
|
84
|
+
</a>
|
85
|
+
</li>
|
86
|
+
<li class="links-footer">
|
87
|
+
<a href="/">
|
88
|
+
<svg class="svg-icon github">
|
89
|
+
<use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
|
90
|
+
</svg>
|
91
|
+
<span>ipsum</span>
|
92
|
+
</a>
|
93
|
+
</li>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
{%- if site.show-footer-copyright -%}
|
98
|
+
<div class="footer-info text-muted">
|
99
|
+
<span>
|
100
|
+
© {{ 'now' | date: "%Y " }}
|
101
|
+
<a href="{{ site.socials.auther-link }}"> {{ site.socials.name }}</a>
|
102
|
+
Some rights reserved.
|
103
|
+
</span>
|
104
|
+
<span>
|
105
|
+
Powered by
|
106
|
+
<a href="https://jekyllrb.com" target="_blank" rel="noopener">Jekyll</a>
|
107
|
+
with
|
108
|
+
<a href="https://github.com/Involts/jekyll-theme-fica" target="_blank" rel="noopener">jekyll-theme-fica</a>
|
109
|
+
</span>
|
110
|
+
</div>
|
111
|
+
{%- endif -%}
|
112
|
+
</footer>
|
data/_includes/Head.html
CHANGED
@@ -1,13 +1,12 @@
|
|
1
|
-
<head>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
</head>
|
1
|
+
<head>
|
2
|
+
<link rel="stylesheet" href="{{ "/assets/css/Style.css" | relative_url }}">
|
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.0" />
|
6
|
+
{%- include assets/Google-Analytics.html -%}
|
7
|
+
{%- if page.home-%}
|
8
|
+
<title>{{site.title}} | {{site.description}}</title>
|
9
|
+
{%- else -%}
|
10
|
+
<title>{{page.site-title}} | {{site.title}}</title>
|
11
|
+
{%- endif -%}
|
12
|
+
</head>
|
data/_includes/Header.html
CHANGED
@@ -1,34 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
{%- endif -%}
|
19
|
-
|
20
|
-
{%- if site.header.external_link_2 -%}
|
21
|
-
<a class="page-link" href="{{site.header.header_link_2}}">{{site.header.header_name_2}}</a>
|
22
|
-
{%- else -%}
|
23
|
-
<a class="page-link" href="{{site.baseurl}}{{site.header.header_link_2}}">{{site.header.header_name_2}}</a>
|
24
|
-
{%- endif -%}
|
25
|
-
|
26
|
-
{%- if site.header.external_link_3 -%}
|
27
|
-
<a class="page-link" href="{{site.header.header_link_3}}">{{site.header.header_name_3}}</a>
|
28
|
-
{%- else -%}
|
29
|
-
<a class="page-link" href="{{site.baseurl}}{{site.header.header_link_3}}">{{site.header.header_name_3}}</a>
|
30
|
-
{%- endif -%}
|
31
|
-
</div>
|
32
|
-
</nav>
|
33
|
-
</button>
|
34
|
-
</header>
|
1
|
+
|
2
|
+
{%- unless page.layout == "home" -%}
|
3
|
+
<nav class="site-nav" id="nav">
|
4
|
+
{%- else -%}
|
5
|
+
<nav class="header-home-mod site-nav" id="nav">
|
6
|
+
{%- endunless -%}
|
7
|
+
<input type="checkbox" id="check" />
|
8
|
+
<label for="check">
|
9
|
+
<span class="material-icons checkbtn"> menu </span>
|
10
|
+
</label>
|
11
|
+
<a class="logo" href="{{ site.baseurl }}/">{{ site.title }}</a>
|
12
|
+
<div class="nav-links">
|
13
|
+
<a href="{{ site.header.header_link_1 | relative_url }}">{{site.header.header_name_1}}</a>
|
14
|
+
<a href="{{ site.header.header_link_2 | relative_url }}">{{site.header.header_name_2}}</a>
|
15
|
+
<a href="{{ site.header.header_link_3 | relative_url }}">{{site.header.header_name_3}}</a>
|
16
|
+
</div>
|
17
|
+
</nav>
|
@@ -1,7 +1,8 @@
|
|
1
|
-
<!-- BTT = Back To Top -->
|
2
|
-
|
3
|
-
<buttton id="back-to-top">
|
4
|
-
<i class="material-icons" style="font-family: 'Material Icons Round' ;">keyboard_arrow_up</i>
|
5
|
-
</buttton>
|
6
|
-
|
7
|
-
<script src="{{site.baseurl}}/js/back-to-top.js"></script>
|
1
|
+
<!-- BTT = Back To Top -->
|
2
|
+
|
3
|
+
<buttton id="back-to-top">
|
4
|
+
<i class="material-icons" style="font-family: 'Material Icons Round' ;">keyboard_arrow_up</i>
|
5
|
+
</buttton>
|
6
|
+
|
7
|
+
<script src="{{site.baseurl}}/js/back-to-top.js"></script>
|
8
|
+
<script src="{{site.baseurl}}/js/Main.js"></script>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
{%- if site.google_analytics.enabled -%}
|
2
|
-
<script defer src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics.id }}"></script>
|
3
|
-
<script>
|
4
|
-
document.addEventListener("DOMContentLoaded", function(event) {
|
5
|
-
window.dataLayer = window.dataLayer || [];
|
6
|
-
function gtag(){dataLayer.push(arguments);}
|
7
|
-
|
8
|
-
gtag('js', new Date());
|
9
|
-
gtag('config', '{{ site.google_analytics.id }}');
|
10
|
-
});
|
11
|
-
</script>
|
12
|
-
{%- endif -%}
|
1
|
+
{%- if site.google_analytics.enabled -%}
|
2
|
+
<script defer src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics.id }}"></script>
|
3
|
+
<script>
|
4
|
+
document.addEventListener("DOMContentLoaded", function(event) {
|
5
|
+
window.dataLayer = window.dataLayer || [];
|
6
|
+
function gtag(){dataLayer.push(arguments);}
|
7
|
+
|
8
|
+
gtag('js', new Date());
|
9
|
+
gtag('config', '{{ site.google_analytics.id }}');
|
10
|
+
});
|
11
|
+
</script>
|
12
|
+
{%- endif -%}
|