jekyll-theme-fica 0.1.4 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yaml +27 -0
  3. data/404.html +16 -0
  4. data/License.md +2 -0
  5. data/README.md +81 -43
  6. data/_includes/BTT.html +9 -0
  7. data/_includes/Custom-Head.html +2 -2
  8. data/_includes/Google-Analytics.html +11 -10
  9. data/_includes/Head.html +5 -4
  10. data/_includes/Header.html +14 -19
  11. data/_layouts/default.html +12 -11
  12. data/_layouts/home.html +46 -17
  13. data/_layouts/page.html +1 -0
  14. data/_layouts/post.html +51 -34
  15. data/_layouts/post_home.html +72 -47
  16. data/_posts/2022-03-31-To-Know-if-the-nav-works.md +8 -0
  17. data/_posts/2022-04-1-Demo.md +114 -0
  18. data/_posts/2022-04-5-Getting-Started.md +103 -0
  19. data/_posts/2022-04-6-Creating-a-new-post.md +124 -0
  20. data/_sass/custom/styles.scss +1 -0
  21. data/_sass/custom/variables.scss +1 -0
  22. data/_sass/jekyll-theme-fica.scss +7 -0
  23. data/_sass/layouts/base.scss +587 -0
  24. data/_sass/layouts/layout.scss +677 -0
  25. data/_sass/layouts/variables.scss +89 -0
  26. data/_sass/themes/dark theme/highlight.scss +363 -0
  27. data/_sass/themes/dark theme/theme-dark.scss +135 -0
  28. data/_sass/themes/light theme/highlight.scss +199 -0
  29. data/_sass/themes/light theme/theme-light.scss +132 -0
  30. data/assets/404.svg +22 -0
  31. data/assets/css/Style.scss +42 -0
  32. data/assets/css/fica-icons.svg +68 -0
  33. data/assets/fica-icons.svg +64 -54
  34. data/assets/img/fica_ad.png +0 -0
  35. data/bin/build +7 -0
  36. data/bin/server +7 -0
  37. data/docs/contributing.md +69 -0
  38. data/js/back-to-top.js +48 -0
  39. data/post/index.html +4 -0
  40. metadata +41 -9
  41. data/_sass/Base.scss +0 -397
  42. data/_sass/Color_scheme.scss +0 -121
  43. data/_sass/Custom-Styles.scss +0 -2
  44. data/_sass/Custom-Variables.scss +0 -1
  45. data/_sass/Initialize.scss +0 -71
  46. data/_sass/Layout.scss +0 -462
  47. data/assets/css/Styles.scss +0 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ec04477a6ed001e626c13403d6249d7b135f7cb4eb320b3a6e1f0a671f1e6f6
4
- data.tar.gz: 653d8463cb6d551d283dc9e9124939fc3ad763a82bba5fe5cd0998ef3c5980b5
3
+ metadata.gz: e5f062c96b2097cb5601effd3a3324b9230b3afdeaaece3bd2b921efd7eb8d6b
4
+ data.tar.gz: 8bf8122d4d317925949f5e539b6294349481d821ba8686a00fb54429c14798b4
5
5
  SHA512:
6
- metadata.gz: d5ecbff44f07354e64419f7836c503e9fd368c7cc47fe5828e484792524e8bb0e64e2e6a896dd6d085510f7a305c1f5b7ee1e900724c4dcb0483b5aaaf48d622
7
- data.tar.gz: 55e35b081aa779887b16eec7ceed95e5b6923be248ebde08e78ff10e2e641c39cb94f0c18ba085391d4ca72ac39d442d6b6f9f3f2283decdd590ab1a6b5e77e5
6
+ metadata.gz: 0b9c70b04b0823c7f792f8b518d5bd8a067f8ee9d27ad7565d142cbca8edbbdfdc6e9451e4a98c56e2ea6b7a7953761fc5a403cdd925c616909d413fba857a30
7
+ data.tar.gz: 36d069ef8230ba619ef0bd43be64fd0d7e04ab8f61859f8f0ff52193fe778035487c2d013681cc633d81806fe56ab93182d85fcc241b10489b2c5b2e9e1892f5
@@ -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
data/404.html ADDED
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ permalink: /404.html
4
+ site-title: Page not found
5
+ ---
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
+ <p>It seems like we couldn't</p>
13
+ <p>find the page you were</p>
14
+ <p>looking for</p>
15
+ <a class="btn-error" href="{{site.baseurl}}/">Home</a>
16
+ </div>
data/License.md CHANGED
@@ -2,6 +2,8 @@
2
2
  layout: default
3
3
  site-title: Fica Theme License
4
4
  permalink: /License/
5
+ pagination:
6
+ enabled: false
5
7
  ---
6
8
 
7
9
  # The MIT License (MIT)
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <img src="https://user-images.githubusercontent.com/100028421/160099110-7571a93c-a1a1-4f45-b969-d7f4dccc3b4c.png"/>
2
2
 
3
-
4
3
  You can preview the theme to [see what it looks like](https://involts.github.io/jekyll-theme-fica/) or
5
- [download it today !](https://github.com/Involts/jekyll-theme-fica/zipball/master)
4
+ [download it today!](https://github.com/Involts/jekyll-theme-fica/zipball/master)
6
5
 
7
6
  [![Gem Version](https://badge.fury.io/rb/jekyll-theme-fica.svg)](https://badge.fury.io/rb/jekyll-theme-fica)
7
+
8
8
  ## Installation and first use
9
9
 
10
10
  Add this line to your Jekyll site's `Gemfile`:
@@ -16,52 +16,73 @@ gem "jekyll-theme-fica"
16
16
  And add this line to your Jekyll site's `_config.yml`:
17
17
 
18
18
  ```yaml
19
+ # if you run it locally:
19
20
  theme: jekyll-theme-fica
20
- ```
21
-
22
21
 
22
+ # if you using GitHub-Pages:
23
+ remote_theme: Involts/jekyll-theme-fica
24
+ ```
23
25
  to install all the dependencies:
26
+ ```
27
+ $ bin/build
28
+ ```
24
29
 
25
- $ script/bootstrap
30
+ ### `bin/build` installs all the dependencies and runs the server **LOCALY**
31
+ or
32
+ ```
33
+ $ bundle install
34
+ ```
26
35
 
27
- and run, to run your jekyll site:
36
+ ### `bin/build` installs all the dependencies and runs the server **LOCALY**
28
37
 
29
- $ script/build
38
+ OR run, to run your jekyll site:
39
+ ```
40
+ $ bin/server
41
+ ```
42
+ or
43
+ ```
44
+ $ bundle exec jekyll serve
45
+ ```
30
46
  ## Note:
31
- Before publishing the site to github-pages, replace the varable of baseurl:
32
47
 
33
- if you have brought a doman remove the varable below:
34
- ```
35
- # _config.yml
36
- baseurl: [Your Repository Name]
37
- ```
38
- If you want to create a external link in the headers Links remove `{{site.baseurl}}` on `_includes/Header.html`:
48
+ `bin/build` installs all the dependencies and runs the server **LOCALY**
49
+
50
+ Before publishing the site to github-pages, replace the varable of baseurl:
51
+
52
+ if you have brought a doman remove the varable below:
53
+
54
+ ```
55
+ # _config.yml
56
+ baseurl: /jekyll-fica-theme
57
+ ```
58
+
59
+ If you want to create a external link in the headers Links remove `{{site.baseurl}}` on `_includes/Header.html`:
39
60
 
40
61
  Before:
41
- ```
42
- <div class="trigger">
43
- <a class="page-link" href="{{site.header.header_link_1}}">{{site.header.header_name_1}}</a>
44
- <a class="page-link" href="{{site.baseurl}}{{site.header.header_link_2}}">{{site.header.header_name_2}}</a>
45
- <a class="page-link" href="{{site.baseurl}}{{site.header.header_link_3}}">{{site.header.header_name_3}}</a>
46
- </div>
47
- ```
48
62
 
49
- After:
50
- ```
51
- <div class="trigger">
52
- <a class="page-link" href="{{site.header.header_link_1}}">{{site.header.header_name_1}}</a>
53
- <a class="page-link" href="{{site.header.header_link_2}}">{{site.header.header_name_2}}</a>
54
- <a class="page-link" href="{{site.header.header_link_3}}">{{site.header.header_name_3}}</a>
55
- </div>
56
- ```
63
+ ```
64
+ <div class="trigger">
65
+ <a class="page-link" href="{{site.header.header_link_1}}">{{site.header.header_name_1}}</a>
66
+ <a class="page-link" href="{{site.baseurl}}{{site.header.header_link_2}}">{{site.header.header_name_2}}</a>
67
+ <a class="page-link" href="{{site.baseurl}}{{site.header.header_link_3}}">{{site.header.header_name_3}}</a>
68
+ </div>
69
+ ```
57
70
 
71
+ After:
58
72
 
73
+ ```
74
+ <div class="trigger">
75
+ <a class="page-link" href="{{site.header.header_link_1}}">{{site.header.header_name_1}}</a>
76
+ <a class="page-link" href="{{site.header.header_link_2}}">{{site.header.header_name_2}}</a>
77
+ <a class="page-link" href="{{site.header.header_link_3}}">{{site.header.header_name_3}}</a>
78
+ </div>
79
+ ```
59
80
 
60
81
  # Customizations
61
82
 
62
- ## Customizing '_config.yml'
83
+ ## Customizing `_config.yml`
63
84
 
64
- Fica Theme will respect the following variables, in your '_config.yml' file:
85
+ Fica Theme will respect the following variables, in your `_config.yml` file:
65
86
 
66
87
  ```
67
88
  title: [The title of your site]
@@ -69,7 +90,9 @@ author: [The auther of the site]
69
90
  name: [The owner of the site]
70
91
  description: [A short description of your site's purpose]
71
92
  ```
93
+
72
94
  Change the links of your site header:
95
+
73
96
  ```
74
97
  header:
75
98
  header_name_1: Download
@@ -79,25 +102,41 @@ header:
79
102
  header_name_3: About
80
103
  header_link_3: /About/
81
104
  ```
105
+
82
106
  ## Customizing the Styles, Vriables and Color Scheme:
83
- if you like to override the default styles of the theme, go to '_sass/Custom-Styles.scss'.
84
107
 
85
- if you like to override the default Variables of the theme, go to '_sass/Custom-Variable.scss'.
108
+ if you like to override the default styles of the theme, go to `_sass/Custom/Styles.scss`.
109
+
110
+ if you like to override the default Variables of the theme, go to `_sass/Custom/Variable.scss`.
86
111
 
87
- if you like to change the colors of the site, go to '_sass/Color_scheme.scss'.
112
+ if you like to change the colors of the Dark Theme in the site, go to `_sass/themes/dark theme/Dark_Theme.scss`.
88
113
 
114
+ if you like to change the colors of the Light Theme in the site, go to `_sass/themes/dark theme/Light_Theme.scss`.
89
115
 
116
+ Want to change [the themes?](#how-to-change-dark-mode-to-light-mode)
90
117
  ## How to replace the logo on the header ?
91
118
 
92
119
  Replace logo.png at the top of your site.
93
- Make sure that the logo is 16x16 px to avoid overlapping the title.
120
+ Make sure that the logo is 36x36 pixels to avoid overlapping the title.
94
121
 
95
122
  ## how to replace the pictue at the homepage ?
96
123
 
97
- Replace 'assets/img/fica_ad.png'.
124
+ Replace `assets/img/fica_ad.png`
98
125
  # Customizing Google Analytics code
99
126
 
100
- 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.
127
+ 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.
128
+
129
+ ## how to change dark mode to light mode
130
+
131
+ Replace:
132
+
133
+ ```diff
134
+ - "themes/dark theme/theme-dark",
135
+
136
+ + "themes/light theme/theme-light",
137
+ ```
138
+ in `_sass/jekyll-theme-fica.scss`.
139
+
101
140
 
102
141
  ## Contributing
103
142
 
@@ -109,14 +148,13 @@ If you'd like to preview the theme locally (for example, in the process of propo
109
148
 
110
149
  1. Clone down the theme's repository (`git clone https://github.com/Involts/jekyll-theme-fica`)
111
150
  2. `cd` into the theme's directory
112
- 3. Run `script/bootstrap` to install the necessary dependencies
113
- 4. Run `script/bootstrap` to start the preview server
114
- 5. Visit [`localhost:4000`](http://localhost:4000) or [`localhost:4000/jekyll-theme-fica`](http://localhost:4000/jekyll-theme-fica) in your browser to preview the theme
151
+ 3. Run `bin/build` to install the necessary dependencies
152
+
153
+ ### `bin/build` installs all the dependencies and runs the server **LOCALY**
115
154
 
116
- ### Running tests
155
+ 4. Run `script/server` to start the preview server
156
+ 5. Visit [`localhost:4000`](http://localhost:4000) or [`localhost:4000/jekyll-theme-fica`](http://localhost:4000/jekyll-theme-fica) in your browser to preview the theme
117
157
 
118
- The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/build`. You'll need to run `script/bootstrap` once before the test script will work.
119
158
  ## License
120
159
 
121
160
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
122
-
@@ -0,0 +1,9 @@
1
+ <!-- BTT = Back To Top -->
2
+
3
+ <buttton id="back-to-top" role="button" title=" Return to top" data-toggle="tooltip" data-placement="left">
4
+ <svg viewBox="0 0 24 24" width="40px" height="40px">
5
+ <path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6 1.41 1.41z" />
6
+ </svg>
7
+ </buttton>
8
+
9
+ <script src="{{site.baseurl}}/js/back-to-top.js"></script>
@@ -1,9 +1,9 @@
1
1
  <!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
2
2
 
3
3
  <!-- Setup Google Analytics -->
4
- {% include google-analytics.html %}
4
+ {% include Google-Analytics.html %}
5
5
 
6
6
  <!-- You can set your favicon here -->
7
7
  <!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->
8
8
 
9
- <!-- end custom head snippets -->
9
+ <!-- end custom head snippets -->
@@ -1,10 +1,11 @@
1
- {% if site.google_analytics %}
2
- <script>
3
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
5
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
7
- ga('create', '{{ site.google_analytics }}', 'auto');
8
- ga('send', 'pageview');
9
- </script>
10
- {% endif %}
1
+ {%- if site.google_analytics -%}
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
3
+ <script>
4
+ window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
5
+ window.dataLayer = window.dataLayer || [];
6
+ function gtag(){window.dataLayer.push(arguments);}
7
+ gtag('js', new Date());
8
+
9
+ gtag('config', '{{ site.google_analytics }}');
10
+ </script>
11
+ {%- endif -%}
data/_includes/Head.html CHANGED
@@ -2,10 +2,11 @@
2
2
  <meta charset="utf-8">
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
- <link rel="stylesheet" href="{{ "/assets/css/Styles.css" | relative_url }}">
5
+ <link rel="stylesheet" href="{{ "/assets/css/Style.css" | relative_url }}">
6
6
  {%- if page.home-%}
7
- <title>{{page.site-title}}</title>
7
+ <title>{{site.title}} | {{site.description}}</title>
8
+ {%- else -%}
9
+ <title>{{page.site-title}} | {{site.title}}</title>
8
10
  {%- endif -%}
9
- <title>{{page.site-title}} | {{site.title}}</title>
10
- {% include Google-Analytics.html %}
11
+ {%- include Custom-Head.html-%}
11
12
  </head>
@@ -1,28 +1,23 @@
1
1
  <header class="site-header">
2
- <data class="u-url" href="{{ "{{site.baseurl}}/" | relative_url }}"></data>
2
+ <data class="u-url" href="{{ " {{site.baseurl}}/" | relative_url }}"></data>
3
3
  {%- assign default_paths = site.pages | map: "path" -%}
4
- <div class="wrapper_header"><a class="site-title" rel="author" href="{{site.baseurl}}/">{{site.title}}</a><nav class="site-nav">
4
+ <div class="wrapper_header"><a class="site-title" rel="author" href="{{site.baseurl}}/">{{site.title}}</a>
5
+ <nav class="site-nav">
5
6
  <input type="checkbox" id="nav-trigger" class="nav-trigger" />
6
7
  <label for="nav-trigger">
7
8
  <span class="menu-icon">
8
9
  <svg viewBox="0 0 18 15" width="18px" height="15px">
9
- <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
10
+ <path
11
+ d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z" />
10
12
  </svg>
11
13
  </span>
12
14
  </label>
13
- <div class="trigger">
14
- <a class="page-link" href="{{site.header.header_link_1}}">{{site.header.header_name_1}}</a>
15
- <a class="page-link" href="{{site.baseurl}}{{site.header.header_link_2}}">{{site.header.header_name_2}}</a>
16
- <a class="page-link" href="{{site.baseurl}}{{site.header.header_link_3}}">{{site.header.header_name_3}}</a>
17
- </div>
18
- </nav></div>
19
- <div class="trigger">
20
- {%- for path in page_paths -%}
21
- {%- assign my_page = site.pages | where: "path", path | first -%}
22
- {%- if my_page.title -%}
23
- <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
24
- {%- endif -%}
25
- {%- endfor -%}
26
- </div>
27
- </nav>
28
- </header>
15
+ <div class="trigger">
16
+ <a class="page-link" href="{{site.header.header_link_1}}">{{site.header.header_name_1}}</a>
17
+ <a class="page-link" href="{{site.baseurl}}{{site.header.header_link_2}}">{{site.header.header_name_2}}</a>
18
+ <a class="page-link" href="{{site.baseurl}}{{site.header.header_link_3}}">{{site.header.header_name_3}}</a>
19
+ </div>
20
+ </nav>
21
+ </div>
22
+ </nav>
23
+ </header>
@@ -1,13 +1,14 @@
1
1
  <!DOCTYPE html>
2
- <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
- {% include Head.html %}
4
- <body>
5
- {% include Header.html %}
6
- <main class="page-content" aria-label="Content">
7
- <div class="wrapper">
8
- {{ content }}
9
- </div>
10
- </main>
11
- {% include Footer.html %}
12
- </body>
2
+ <html>
3
+ {%- include Head.html-%}
4
+
5
+ <body>
6
+ {%- include Header.html-%}
7
+
8
+ <main class="page-content">
9
+ <div class="wrapper">{{ content }}</div>
10
+ </main>
11
+ {%- include BTT.html-%}
12
+ {%- include Footer.html-%}
13
+ </body>
13
14
  </html>
data/_layouts/home.html CHANGED
@@ -1,22 +1,51 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- {%- include Head.html -%}
3
+ {%- include Head.html -%}
4
4
 
5
- <body>
6
- {%- include Header.html -%}
7
- <header class="page-header" role="banner">
8
- <div class="wrapper">
9
- <p class="page-header-title">{{site.title}}</p>
10
- <p class="page-header-description">{{site.description}}</p>
11
- <img src="{{site.baseurl}}/assets/img/fica_ad.png" class="header-pic">
12
- </div>
13
- </header>
14
- <main class="page-content" aria-label="Content">
15
- <div class="wrapper">
16
- {{ content }}
17
- </div>
18
- </main>
19
- {%- include Footer.html -%}
20
- </body>
5
+ <body>
6
+ <header class="site-header-home">
7
+ {%- assign default_paths = site.pages | map: "path" -%}
8
+ <div class="wrapper_header"><a class="site-title" rel="author"
9
+ href="{{site.baseurl}}/">{{site.title}}</a><nav class="site-nav">
10
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
11
+ <label for="nav-trigger">
12
+ <span class="menu-icon">
13
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
14
+ <path
15
+ d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0
16
+ h15.032C17.335,0,18,0.665,18,1.484L18,1.484z
17
+ M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0
18
+ c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z
19
+ M18,13.516C18,14.335,17.335,15,16.516,15H1.484
20
+ C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"
21
+ />
22
+ </svg>
23
+ </span>
24
+ </label>
25
+ <div class="trigger">
26
+ <a class="page-link" href="{{site.header.header_link_1}}">{{site.header.header_name_1}}</a>
27
+ <a class="page-link"
28
+ href="{{site.baseurl}}{{site.header.header_link_2}}">{{site.header.header_name_2}}</a>
29
+ <a class="page-link"
30
+ href="{{site.baseurl}}{{site.header.header_link_3}}">{{site.header.header_name_3}}</a>
31
+ </div>
32
+ </nav></div>
33
+ </nav>
34
+ </header>
35
+ <header class="page-header" role="banner">
36
+ <div class="wrapper">
37
+ <p class="page-header-title">{{site.title}}</p>
38
+ <p class="page-header-description">{{site.description}}</p>
39
+ <img src="{{site.baseurl}}/assets/img/fica_ad.png" class="header-pic">
40
+ </div>
41
+ </header>
42
+ <main class="page-content" aria-label="Content">
43
+ <div class="wrapper">
44
+ {{ content }}
45
+ </div>
46
+ {%- include BTT.html-%}
47
+ </main>
48
+ {%- include Footer.html -%}
49
+ </body>
21
50
 
22
51
  </html>
data/_layouts/page.html CHANGED
@@ -8,6 +8,7 @@
8
8
  {{ content }}
9
9
  </div>
10
10
  </main>
11
+ {%- include BTT.html-%}
11
12
  {% include Footer.html %}
12
13
  </body>
13
14
  </html>
data/_layouts/post.html CHANGED
@@ -1,34 +1,51 @@
1
- ---
2
- layout: default
3
- ---
4
- <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
-
6
- <header class="post-header">
7
- <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8
- <p class="post-meta">
9
- {%- assign date_format = site.fica.date_format | default: "%b %-d, %Y" -%}
10
- <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
11
- {{ page.date | date: date_format }}
12
- </time>
13
- {%- if page.modified_date -%}
14
- ~
15
- {%- assign mdate = page.modified_date | date_to_xmlschema -%}
16
- <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
17
- {{ mdate | date: date_format }}
18
- </time>
19
- {%- endif -%}
20
- {%- if page.author -%}
21
- {% for author in page.author %}
22
- <span itemprop="author" itemscope itemtype="http://schema.org/Person">
23
- <span class="p-author h-card" itemprop="name">{{ author }}</span></span>
24
- {%- if forloop.last == false %}, {% endif -%}
25
- {% endfor %}
26
- {%- endif -%}</p>
27
- <a href="{{site.baseurl}}/Post/" class="btn">Go Back</a>
28
- </header>
29
- <div class="post-content e-content" itemprop="articleBody">
30
- {{ content }}
31
-
32
-
33
- <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
34
- </article>
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post h-entry" itemscope
5
+ itemtype="http://schema.org/BlogPosting">
6
+
7
+ <header class="post-header">
8
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title |
9
+ escape }}</h1>
10
+ <div class="post-meta text-muted">
11
+ {% if site.author %}
12
+ {% assign author = site.author %}
13
+ {% endif %}
14
+ {% if page.author %}
15
+ {% assign author = page.author %}
16
+ {% endif %}
17
+ By
18
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
19
+ <span class="p-author h-card text-unmuted" itemprop="name">{{ author }}</span></span>
20
+ </div>
21
+ <span class="post-meta text-muted">
22
+ Posted
23
+ {%- assign date_format = site.fica.date_format | default: "%b %-d, %Y" -%}
24
+ <time class="dt-published text-unmuted"datetime="{{ page.date |
25
+ date_to_xmlschema }}" itemprop="datePublished">
26
+ {{ page.date | date: date_format }}
27
+ </time>
28
+ </span>
29
+ <span class="post-meta text-muted">
30
+ {%- if page.modified_date -%}
31
+
32
+ Modified
33
+ {%- assign mdate = page.modified_date | date_to_xmlschema -%}
34
+ <time class="dt-modified text-unmuted" datetime="{{ mdate }}" itemprop="dateModified">
35
+ {{ mdate | date: date_format }}
36
+ </time>
37
+ {%- endif -%}
38
+ </span>
39
+ </header>
40
+ <div class="post-content e-content" itemprop="articleBody">
41
+ {{ content }}
42
+ <div class="post-footer">
43
+ <a href="{{ site.baseurl }}{{ site.header.header_link_2 }}">
44
+ <svg>
45
+ <use xlink:href="{{ 'assets/fica-icons.svg#arw-back' | relative_url
46
+ }}"></use>
47
+ </svg>
48
+ </a>
49
+ </div>
50
+ <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
51
+ </article>