jekyll-theme-fica 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yaml +5 -9
  3. data/404.html +12 -10
  4. data/License.md +2 -8
  5. data/README.md +51 -48
  6. data/_includes/Footer.html +85 -109
  7. data/_includes/Head.html +15 -2
  8. data/_includes/Header.html +14 -10
  9. data/_includes/assets/BTT.html +1 -1
  10. data/_layouts/home.html +2 -2
  11. data/_layouts/post.html +5 -7
  12. data/_layouts/post_list.html +103 -0
  13. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +9 -8
  14. data/_posts/{2022-04-1-Demo.md → 2022-04-1-Elements-of-Fica-Theme.md} +111 -113
  15. data/_posts/2022-04-5-Getting-Started.md +1 -2
  16. data/_posts/2022-04-6-Creating-a-new-post.md +144 -136
  17. data/_posts/2023-04-24-Fica-Customization.md +43 -0
  18. data/_sass/base.scss +79 -114
  19. data/_sass/jekyll-theme-fica.scss +1 -1
  20. data/_sass/layouts/Google-fonts.scss +103 -138
  21. data/_sass/layouts/component.scss +49 -30
  22. data/_sass/layouts/layout.scss +206 -161
  23. data/_sass/layouts/typography.scss +492 -0
  24. data/_sass/layouts/variable.scss +22 -8
  25. data/assets/css/Style.scss +1 -9
  26. data/assets/favicons/android-chrome-192x192.png +0 -0
  27. data/assets/favicons/android-chrome-512x512.png +0 -0
  28. data/assets/favicons/apple-touch-icon.png +0 -0
  29. data/assets/favicons/browserconfig.xml +9 -0
  30. data/assets/favicons/favicon-16x16.png +0 -0
  31. data/assets/favicons/favicon-32x32.png +0 -0
  32. data/assets/favicons/favicon.ico +0 -0
  33. data/assets/favicons/mstile-150x150.png +0 -0
  34. data/assets/favicons/safari-pinned-tab.svg +32 -0
  35. data/assets/favicons/site.webmanifest +19 -0
  36. data/assets/img/homepage-pic.png +0 -0
  37. data/js/Main.js +55 -2
  38. data/logo.png +0 -0
  39. data/post/index.html +3 -3
  40. metadata +16 -25
  41. data/.github/workflows/.ci_BASE_2002.yaml.swp +0 -0
  42. data/.github/workflows/.ci_LOCAL_2002.yaml.swp +0 -0
  43. data/.github/workflows/.ci_REMOTE_2002.yaml.swp +0 -0
  44. data/.github/workflows/ci_BACKUP_2002.yaml +0 -34
  45. data/.github/workflows/ci_BASE_2002.yaml +0 -27
  46. data/.github/workflows/ci_LOCAL_2002.yaml +0 -27
  47. data/.github/workflows/ci_REMOTE_2002.yaml +0 -27
  48. data/_layouts/post_home.html +0 -113
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9857fa3554119901ce9080e4f6eb7a9eccd8ebfc5148f4bc9b10be639907b2d6
4
- data.tar.gz: 4e5e8ae5bd102a44f186eba41ffce8507ff2e0f6d3183ea06c2acab2a9285a82
3
+ metadata.gz: e1eeebec4b9499329efaf098959b1dfd3f488bfe67cdf9d6754b16db8a45ab12
4
+ data.tar.gz: 5a9d2cfbd6c4509393da82fa447ba90b72218e1a48bc4887ebfadbe75711ff8b
5
5
  SHA512:
6
- metadata.gz: 42928b4a1b2737051637f92f8545e6227ea9557238db6dc6c45e69440988b48d6e6449537ecda791dc2a218f96b8eaf8488c4b80b98e0224794b4b59ce0d868b
7
- data.tar.gz: b6ca5846a252dd72dabc1d2193d3b5cfb92f9338acf2dfbd3a5823f5789b85a724e79106c25424262bbccfcaba69278bf22284862df512a172bfa9a7977d5298
6
+ metadata.gz: cabe784e270999b049f8f6854cea12d710fad83338028cbf8fe56db59b400aa7c165d0ac9da4c90123e3b9df6d267ba55fd4d2a14b6371d092294abaea7f3b68
7
+ data.tar.gz: 4444f7cab567531b8275c687b058c557166e8bd511b1e6a8e5792eaeaacca812d3ab20d5ad2364f4a270abf9b3eec66e361a68edb8272b5de5d0d17bd3290da7
@@ -2,18 +2,10 @@ 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
- =======
11
5
  - main
12
6
  pull_request:
13
7
  branches:
14
8
  - main
15
- >>>>>>> 91d38cf37714a464d41160dd1513f5ba186f3bca
16
-
17
9
  jobs:
18
10
  build:
19
11
  runs-on: ubuntu-latest
@@ -30,5 +22,9 @@ jobs:
30
22
  with:
31
23
  ruby-version: ${{ matrix.ruby }}
32
24
  bundler-cache: true
33
- - name: Test Site
25
+
26
+ - name: Install dependency
34
27
  run: bash bin/run insdep
28
+
29
+ - name: Test Site
30
+ run: bash bin/run chktheme
data/404.html CHANGED
@@ -4,15 +4,17 @@ permalink: /404.html
4
4
  site-title: Page not found
5
5
  ---
6
6
 
7
- <div class="container">
8
- <svg>
9
- <use xlink:href="{{ 'assets/404.svg#404_error' | relative_url }}"></use>
10
- </svg>
11
- <h1>Whoops!</h1>
12
- <div class="error-pagh">
13
- <p>It seems like we couldn't</p>
14
- <p>find the page you were</p>
15
- <p>looking for</p>
7
+ <div class="container-404">
8
+ <div class="prompt-404">
9
+ <svg>
10
+ <use xlink:href="{{ 'assets/404.svg#404_error' | relative_url }}"></use>
11
+ </svg>
12
+ <h1>Whoops!</h1>
13
+ <div class="paragraph-404">
14
+ <p>It seems like we couldn't</p>
15
+ <p>find the page you were</p>
16
+ <p>looking for</p>
17
+ </div>
18
+ <a class="btn-404" href="{{site.baseurl}}/">Home</a>
16
19
  </div>
17
- <a class="btn-error" href="{{site.baseurl}}/">Home</a>
18
20
  </div>
data/License.md CHANGED
@@ -8,7 +8,7 @@ pagination:
8
8
 
9
9
  # The MIT License (MIT)
10
10
 
11
- ## Copyright (c) 2022 [Involts](https://github.com/Involts)
11
+ #### Copyright (c) 2022 [Involts](https://github.com/Involts)
12
12
 
13
13
  Permission is hereby granted, free of charge, to any person obtaining a copy
14
14
  of this software and associated documentation files (the "Software"), to deal
@@ -20,10 +20,4 @@ furnished to do so, subject to the following conditions:
20
20
  The above copyright notice and this permission notice shall be included in
21
21
  all copies or substantial portions of the Software.
22
22
 
23
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
29
- THE SOFTWARE.
23
+ **THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**
data/README.md CHANGED
@@ -1,4 +1,8 @@
1
- <img src="https://user-images.githubusercontent.com/100028421/160099110-7571a93c-a1a1-4f45-b969-d7f4dccc3b4c.png"/>
1
+ <img src="https://user-images.githubusercontent.com/100028421/235287420-6f139381-476a-46a2-b774-98790014a478.png" alt="Fica" width="180" align="left"/>
2
+
3
+
4
+ # Fica Theme
5
+
2
6
 
3
7
  You can preview the theme to [see what it looks like](https://involts.github.io/jekyll-theme-fica/) or
4
8
  [download it today!](https://github.com/Involts/jekyll-theme-fica/zipball/master)
@@ -26,11 +30,11 @@ You can preview the theme to [see what it looks like](https://involts.github.io/
26
30
  `$ bundle exec jekyll serve` if you download it on RubyGems.org
27
31
 
28
32
  ## Reminders:
29
- > Before publishing the site to github-pages, replace the varable of baseurl:
33
+ > Before publishing the site to github-pages, replace the variable of baseurl:
30
34
  >
31
- > if you have brought a doman remove the varable `baseurl: /jekyll-fica-theme` in the `_config.yml`
35
+ > if you have brought a domain remove the variable `baseurl: /jekyll-fica-theme` in the `_config.yml`
32
36
 
33
- # Customiztion
37
+ # Customization
34
38
 
35
39
  ## Customizing `_config.yml`
36
40
 
@@ -42,9 +46,9 @@ description: [A short description of your site's purpose]
42
46
 
43
47
  socials:
44
48
  # Change Involts to your full name.
45
- name: [The auther of the site]
49
+ name: [The author of the site]
46
50
  # it also be the copyright owner's link
47
- auther-link: [Link of the auther]
51
+ author-link: [Link of the author]
48
52
  ```
49
53
 
50
54
  Change the links of your site header:
@@ -64,6 +68,45 @@ header:
64
68
  header_link_3: /About/
65
69
  ```
66
70
 
71
+ Change the links of your site footer
72
+ ```yml
73
+ Footer:
74
+ show-footer-copyright: true # set to true to show footer copyright
75
+ # Section 1
76
+ footer_section_1_title: find me on
77
+ footer_section_1_links_1_name: Github
78
+ footer_section_1_links_1_link: https://github.com/Involts
79
+
80
+ footer_section_1_links_2_name: Youtube
81
+ footer_section_1_links_2_link: /
82
+
83
+ footer_section_1_links_3_name: Stackoverflow
84
+ footer_section_1_links_3_link: /
85
+
86
+ # Section 2
87
+ footer_section_2_title: You're Site
88
+ footer_section_2_links_1_name: Lorem
89
+ footer_section_2_links_1_link: /
90
+
91
+ footer_section_2_links_2_name: ispum
92
+ footer_section_2_links_2_link: /
93
+
94
+ footer_section_2_links_3_name: dolor
95
+ footer_section_2_links_3_link: /
96
+
97
+ # Section 3
98
+ footer_section_3_title: Customize
99
+ footer_section_3_links_1_name: Lorem
100
+ footer_section_3_links_1_link: /
101
+
102
+ footer_section_3_links_2_name: ispum
103
+ footer_section_3_links_2_link: /
104
+
105
+ footer_section_3_links_3_name: dolor
106
+ footer_section_3_links_3_link: /
107
+
108
+ ```
109
+
67
110
  ## `bin/run` testing command suite:
68
111
 
69
112
  ### Usage:
@@ -72,7 +115,7 @@ header:
72
115
 
73
116
  | Subcommand | Description
74
117
  | -----------------|---------------------------------------|
75
- | `upgrade` , `u` | Upgrades `jekell-theme-fica` to the latest version |
118
+ | `upgrade` , `u` | Upgrades `jekyll-theme-fica` to the latest version |
76
119
  | `help` , `h` | Print help. |
77
120
  | `version` , `v` | Print version. |
78
121
  | `server` , `s` | Runs the server locally |
@@ -80,51 +123,11 @@ header:
80
123
  | `chktheme`, `ct` | Checks the theme for errors |
81
124
  | `bldgem`, `bm` | builds the theme and uploads it to RubyGems |
82
125
 
83
- ## Customizing the Styles, Vriables and Color Scheme:
84
-
85
- if you like to override the default styles of the theme, go to `_sass/Custom/Styles.scss`.
86
-
87
- if you like to override the default Variables of the theme, go to `_sass/Custom/Variable.scss`.
88
-
89
- if you like to change the colors of the Dark Theme in the site, go to `_sass/themes/dark theme/Dark_Theme.scss`.
90
-
91
- if you like to change the colors of the Light Theme in the site, go to `_sass/themes/dark theme/Light_Theme.scss`.
126
+ More Customization on the [theme's demo site.](https://involts.github.io/jekyll-theme-fica/Posts/Fica-Customization/)
92
127
 
93
- Want to change [the themes?](#how-to-change-dark-mode-to-light-mode)
94
-
95
- ## How to replace the logo on the header ?
96
-
97
- Replace logo.png at the top of your site.
98
- Make sure that the logo is 36x36 pixels to avoid overlapping the title.
99
-
100
- ## how to replace the pictue at the homepage ?
101
-
102
- Replace `assets/img/homepage-pic.png`
103
- # Customizing Google Analytics code
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.
106
-
107
- ## how to change dark mode to light mode
108
-
109
- Replace:
110
-
111
- ```diff
112
- - "themes/dark theme/theme-dark",
113
-
114
- + "themes/light theme/theme-light",
115
- ```
116
-
117
- in `_sass/jekyll-theme-fica.scss`.
118
128
 
119
129
  ## Contributing
120
130
 
121
131
  Interested in contributing to Fica Theme? We'd love your help. Fica Theme is an open source project, built one contribution at a time by users like you. See [the contributing file](docs/contributing.md) for instructions on how to contribute.
122
132
 
123
133
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
124
-
125
-
126
-
127
-
128
-
129
-
130
-
@@ -1,112 +1,88 @@
1
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>
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
+ <p>{{site.Footer.footer_section_1_title}}</p>
10
+ <a href="{{site.Footer.footer_section_1_links_1_link | relative_url }}">
11
+ <svg class="svg-icon github">
12
+ <use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
13
+ </svg>
14
+ <span>{{site.Footer.footer_section_1_links_1_name}}</span>
15
+ </a>
16
+ <a href="{{site.Footer.footer_section_1_links_2_link | relative_url }}">
17
+ <svg class="svg-icon youtube">
18
+ <use xlink:href="{{ 'assets/fica-icons.svg#youtube' | relative_url }}"></use>
19
+ </svg>
20
+ <span>{{site.Footer.footer_section_1_links_2_name}}</span>
21
+ </a>
22
+ <a href="{{site.Footer.footer_section_1_links_3_link | relative_url }}">
23
+ <svg class="svg-icon stackoverflow">
24
+ <use xlink:href="{{ 'assets/fica-icons.svg#stackoverflow' | relative_url }}"></use>
25
+ </svg>
26
+ <span>{{site.Footer.footer_section_1_links_3_name}}</span>
27
+ </a>
28
+ </div>
29
+ <div class="footer-col">
30
+ <p>{{site.Footer.footer_section_2_title}}</p>
31
+ <a href="{{site.Footer.footer_section_2_links_1_link | relative_url }}">
32
+ <svg class="svg-icon github">
33
+ <use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
34
+ </svg>
35
+ <span>{{site.Footer.footer_section_2_links_1_name}}</span>
36
+ </a>
37
+ <a href="{{site.Footer.footer_section_2_links_2_link | relative_url }}">
38
+ <svg class="svg-icon github">
39
+ <use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
40
+ </svg>
41
+ <span>{{site.Footer.footer_section_2_links_2_name}}</span>
42
+ </a>
43
+ <a href="{{site.Footer.footer_section_2_links_3_link | relative_url }}">
44
+ <svg class="svg-icon github">
45
+ <use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
46
+ </svg>
47
+ <span>{{site.Footer.footer_section_2_links_3_name}}</span>
48
+ </a>
49
+ </div>
50
+ <div class="footer-col">
51
+ <p>{{site.Footer.footer_section_3_title}}</p>
52
+ <a href="{{site.Footer.footer_section_3_links_1_link | relative_url }}">
53
+ <svg class="svg-icon github">
54
+ <use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
55
+ </svg>
56
+ <span>{{site.Footer.footer_section_3_links_1_name}}</span>
57
+ </a>
58
+ <a href="{{site.Footer.footer_section_3_links_2_link | relative_url }}">
59
+ <svg class="svg-icon github">
60
+ <use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
61
+ </svg>
62
+ <span>{{site.Footer.footer_section_3_links_2_name}}</span>
63
+ </a>
64
+ <a href="{{site.Footer.footer_section_3_links_3_link | relative_url }}">
65
+ <svg class="svg-icon github">
66
+ <use xlink:href="{{ 'assets/fica-icons.svg#github' | relative_url }}"></use>
67
+ </svg>
68
+ <span>{{site.Footer.footer_section_3_links_3_name}}</span>
69
+ </a>
95
70
  </div>
96
71
  </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>
72
+ </div>
73
+ {%- if site.Footer.show-footer-copyright -%}
74
+ <div class="footer-info text-muted">
75
+ <span>
76
+ © {{ 'now' | date: "%Y " }}
77
+ <a href="{{ site.socials.author-link }}"> {{ site.socials.name }}</a>
78
+ Some rights reserved.
79
+ </span>
80
+ <span>
81
+ Powered by
82
+ <a href="https://jekyllrb.com" target="_blank" rel="noopener">Jekyll</a>
83
+ with
84
+ <a href="https://github.com/Involts/jekyll-theme-fica" target="_blank" rel="noopener">jekyll-theme-fica</a>
85
+ </span>
86
+ </div>
87
+ {%- endif -%}
88
+ </footer>
data/_includes/Head.html CHANGED
@@ -3,10 +3,23 @@
3
3
  <meta charset="UTF-8" />
4
4
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9
+ <link href="https://fonts.googleapis.com/css2?family=Varela+Round&family=Roboto&display=swap" rel="stylesheet">
10
+
11
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ "/assets/favicons/apple-touch-icon.png" | relative_url }}">
12
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ "/assets/favicons/favicon-32x32.png" | relative_url }}">
13
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ "/assets/favicons/favicon-16x16.png" | relative_url }}">
14
+ <link rel="manifest" href="{{"/assets/favicons/site.webmanifest" | relative_url }}">
15
+ <link rel="mask-icon" href="{{"/assets/favicons/safari-pinned-tab.svg" | relative_url }}" color="#5bbad5">
16
+ <meta name="msapplication-TileColor" content="#adc6ff">
17
+ <meta name="theme-color" content="#adc6ff">
18
+
6
19
  {%- include assets/Google-Analytics.html -%}
7
20
  {%- if page.home-%}
8
- <title>{{site.title}} | {{site.description}}</title>
21
+ <title>{{site.title}}</title>
9
22
  {%- else -%}
10
23
  <title>{{page.site-title}} | {{site.title}}</title>
11
24
  {%- endif -%}
12
- </head>
25
+ </head>
@@ -1,17 +1,21 @@
1
1
 
2
2
  {%- unless page.layout == "home" -%}
3
- <nav class="site-nav" id="nav">
3
+ <nav class="site-nav" id="site-navnav">
4
4
  {%- else -%}
5
- <nav class="header-home-mod site-nav" id="nav">
5
+ <nav class="header-home-mod site-nav" id="site-nav">
6
6
  {%- endunless -%}
7
- <input type="checkbox" id="check" />
8
- <label for="check">
9
- <span class="material-icons checkbtn"> menu </span>
7
+
8
+ <a class="site-nav-logo" href="{{ site.baseurl }}/">
9
+ <img src="{{ 'logo.png' | relative_url }}" alt="logo">
10
+ <p>{{ site.title }}</p>
11
+ </a>
12
+ <input type="checkbox" id="site-nav-check" />
13
+ <label for="site-nav-check">
14
+ <span class="material-icons-round checkbtn"> menu </span>
10
15
  </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 class="site-nav-link-container">
17
+ <a href="{{ site.Header.header_link_1 | relative_url }}">{{site.Header.header_name_1}}</a>
18
+ <a href="{{ site.Header.header_link_2 | relative_url }}">{{site.Header.header_name_2}}</a>
19
+ <a href="{{ site.Header.header_link_3 | relative_url }}">{{site.Header.header_name_3}}</a>
16
20
  </div>
17
21
  </nav>
@@ -1,7 +1,7 @@
1
1
  <!-- BTT = Back To Top -->
2
2
 
3
3
  <buttton id="back-to-top">
4
- <i class="material-icons" style="font-family: 'Material Icons Round' ;">keyboard_arrow_up</i>
4
+ <i class="material-icons-round" style="font-family: 'Material Icons Round' ;">keyboard_arrow_up</i>
5
5
  </buttton>
6
6
 
7
7
  <script src="{{site.baseurl}}/js/back-to-top.js"></script>
data/_layouts/home.html CHANGED
@@ -8,9 +8,9 @@
8
8
  <div class="banner-content" id="banner-content">
9
9
  <p class="page-header-title">{{site.title}}</p>
10
10
  <p class="site-banner-description">{{site.description}}</p>
11
- <a href="{{ site.header.header_link_1 | relative_url }}">{{site.header.header_name_1}}</a>
11
+ <a href="{{ site.Header.header_link_1 | relative_url }}">{{site.Header.header_name_1}}</a>
12
12
  </div>
13
- <div class="img">
13
+ <div class="site-banner-img-container">
14
14
  <img src="{{site.baseurl}}/assets/img/homepage-pic.png">
15
15
  </div>
16
16
  </header>
data/_layouts/post.html CHANGED
@@ -4,8 +4,7 @@
4
4
 
5
5
  <body>
6
6
  {%- include Header.html-%}
7
- <main class="content">
8
- <div class="post-wrapper">
7
+ <main class="post-content">
9
8
  <article class="post">
10
9
  <header class="post-header">
11
10
  <h1 class="post-title">{{ page.title | escape }}</h1>
@@ -31,19 +30,18 @@
31
30
  </header>
32
31
  {% include assets/anchor-headings.html html=content anchorBody="#" %}
33
32
  <div class="post-footer">
34
- <a href="{{ site.baseurl }}{{ site.header.header_link_2 }}">
35
- <span class="material-icons-round post-nav-svg"> arrow_back_ios </span>
36
- </a>
33
+ <a href="{{ site.Header.header_link_2 | relative_url }}" class="material-icons-round post-nav-svg"> arrow_back_ios </a>
37
34
  </div>
38
35
  {%- if site.show_comments -%}
39
36
  {%- include assets/comments.html -%}
40
37
  {%- endif -%}
41
38
  </article>
42
- <div class="post-toc">
39
+ {%- unless page.post_toc == false -%}
40
+ <div class="post-toc" id="toc">
43
41
  <h2>Contents</h2>
44
42
  {% include assets/toc.html html=content h_min=1 h_max=3 %}
45
43
  </div>
46
- </div>
44
+ {%- endunless -%}
47
45
  </main>
48
46
  {%- include assets/BTT.html-%} {%- include Footer.html-%}
49
47
  </body>