whiteblog-theme 0.0.2 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0d49d6794c0f72b8da3ff415faf3ce8fbaa2552d95ebad309ec8acb8cafd7ef
4
- data.tar.gz: e4dbb62795843cad648950c357b0679ccccedf06177b9872d9ec91b6d6cbda9c
3
+ metadata.gz: b7323276d21986d8baf1773a2976f82a76646bd6ff22921d7ea8104975ba61b4
4
+ data.tar.gz: 273f5c106b0ec030763c2b595eeb22d826abfef9ff2fe912243a0bdf86ce1ee0
5
5
  SHA512:
6
- metadata.gz: e6d762fc67ed08707ffcd6ae0d14cba1fce73100205fd7f4f19307da0bc7173d7bdced69f70415ab356d7816ea633994d9175302334437e2545b841bd0bbd6e1
7
- data.tar.gz: 3c37f831ea1c96869cc4a7d470b85aaa703a4e25c6c8fbfc445cc40ee840d009a6040ef69eece9cba8739a21eef2f02c0ce84abbc24641ea3d0c22e08cfdfab8
6
+ metadata.gz: a2a844b8aecb0b966cd8e4e85c54eeb975001c2a81bf6f786ed57199ddd15b032bcc4051116f8f6680dfac9792ebda21f7c3ea40019179dd32c8f0346b14251a
7
+ data.tar.gz: 5ed9cc71cca4f27870c65b9a0f1e05913cc50728b7ebdeedbd31e2d8c74da6a0cf66b9bd2a21b425afd1142c14423b7c1e5d1ecc4d8db52e128d228b887c6752
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2019
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.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019
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 CHANGED
@@ -1,70 +1,70 @@
1
- # whiteblog-theme
2
-
3
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
4
- ![Gem downloads](https://img.shields.io/gem/dt/whiteblog-theme.svg?colorB=brightgreen&style=flat)
5
-
6
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
7
-
8
- To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
9
-
10
-
11
- ## Live preview
12
-
13
- [https://whiteblog-theme.victorsilva.com.uy/](https://whiteblog-theme.victorsilva.com.uy/)
14
-
15
- ## Screenshot
16
-
17
- ![Screenshot of whiteblog-theme](https://raw.githubusercontent.com/vmsilvamolina/whiteblog-theme/master/screenshot.png)
18
-
19
- ## Installation
20
-
21
- Add this line to your Jekyll site's `Gemfile`:
22
-
23
- ```ruby
24
- gem "whiteblog-theme"
25
- ```
26
-
27
- And add this line to your Jekyll site's `_config.yml`:
28
-
29
- ```yaml
30
- theme: whiteblog-theme
31
- ```
32
-
33
- And then execute:
34
-
35
- $ bundle
36
-
37
- Or install it yourself as:
38
-
39
- $ gem install whiteblog-theme
40
-
41
- ## Usage
42
-
43
- ### Colorful Categories
44
-
45
- Bring color to your categories editing the following setting inside `_sass\whiteblog-theme\_category_colors.scss`. For example if you add a new category named "Markdown", you need to add the following code with the color selected:
46
-
47
- `
48
- a.badge-Markdown {
49
- color: #fff;
50
- background-color: #6967CE;
51
- }
52
- `
53
-
54
-
55
- ## Contributing
56
-
57
- Bug reports and pull requests are welcome on GitHub at https://github.com/vmsilvamolina/whiteblog-theme. 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.
58
-
59
- ## Development
60
-
61
- To set up your environment to develop this theme, run `bundle install`.
62
-
63
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
64
-
65
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
66
- To add a custom directory to your theme-gem, please edit the regexp in `whiteblog-theme.gemspec` accordingly.
67
-
68
- ## License
69
-
70
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
1
+ # whiteblog-theme
2
+
3
+ [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
4
+ ![Gem downloads](https://img.shields.io/gem/dt/whiteblog-theme.svg?colorB=brightgreen&style=flat)
5
+
6
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
7
+
8
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
9
+
10
+
11
+ ## Live preview
12
+
13
+ [https://whiteblog-theme.victorsilva.com.uy/](https://whiteblog-theme.victorsilva.com.uy/)
14
+
15
+ ## Screenshot
16
+
17
+ ![Screenshot of whiteblog-theme](https://raw.githubusercontent.com/vmsilvamolina/whiteblog-theme/master/screenshot.png)
18
+
19
+ ## Installation
20
+
21
+ Add this line to your Jekyll site's `Gemfile`:
22
+
23
+ ```ruby
24
+ gem "whiteblog-theme"
25
+ ```
26
+
27
+ And add this line to your Jekyll site's `_config.yml`:
28
+
29
+ ```yaml
30
+ theme: whiteblog-theme
31
+ ```
32
+
33
+ And then execute:
34
+
35
+ $ bundle
36
+
37
+ Or install it yourself as:
38
+
39
+ $ gem install whiteblog-theme
40
+
41
+ ## Usage
42
+
43
+ ### Colorful Categories
44
+
45
+ Bring color to your categories editing the following setting inside `_sass\whiteblog-theme\_category_colors.scss`. For example if you add a new category named "Markdown", you need to add the following code with the color selected:
46
+
47
+ `
48
+ a.badge-Markdown {
49
+ color: #fff;
50
+ background-color: #6967CE;
51
+ }
52
+ `
53
+
54
+
55
+ ## Contributing
56
+
57
+ Bug reports and pull requests are welcome on GitHub at https://github.com/vmsilvamolina/whiteblog-theme. 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.
58
+
59
+ ## Development
60
+
61
+ To set up your environment to develop this theme, run `bundle install`.
62
+
63
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
64
+
65
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
66
+ To add a custom directory to your theme-gem, please edit the regexp in `whiteblog-theme.gemspec` accordingly.
67
+
68
+ ## License
69
+
70
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,15 @@
1
+ {% if site.comments.disqus.shortname %}
2
+ <script>
3
+ var disqus_config = function () {
4
+ this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable
5
+ this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
6
+ };
7
+ (function() { // DON'T EDIT BELOW THIS LINE
8
+ var d = document, s = d.createElement('script');
9
+ s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
10
+ s.setAttribute('data-timestamp', +new Date());
11
+ (d.head || d.body).appendChild(s);
12
+ })();
13
+ </script>
14
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
15
+ {% endif %}
@@ -1,9 +1,9 @@
1
- <footer id="site-footer">
2
- <div class="container">
3
- <div class="row">
4
- <div class="col-12 col-lg">
5
- <p class="text-justify">Made with <i class="fas fa-heart"></i> and <i class="fas fa-coffee"></i>. Powered by Jekyll and whiteblog-theme</p>
6
- </div>
7
- </div>
8
- </div>
9
- </footer>
1
+ <footer id="site-footer">
2
+ <div class="container">
3
+ <div class="row">
4
+ <div class="col-12 col-lg">
5
+ <p class="text-justify">Made with <i class="fas fa-heart"></i> and <i class="fas fa-coffee"></i>. Powered by Jekyll and whiteblog-theme</p>
6
+ </div>
7
+ </div>
8
+ </div>
9
+ </footer>
data/_includes/head.html CHANGED
@@ -1,21 +1,21 @@
1
- <head>
2
- <!-- Required meta tags -->
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, shrink-to-fit=no">
6
-
7
- <!-- Bootstrap CSS -->
8
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
9
-
10
- <!-- FontAwesome-->
11
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
12
-
13
- <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
14
- <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
15
- <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
16
-
17
- {% if page.head_inline %}
18
- {{ page.head_inline }}
19
- {% endif %}
20
-
1
+ <head>
2
+ <!-- Required meta tags -->
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, shrink-to-fit=no">
6
+
7
+ <!-- Bootstrap CSS -->
8
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
9
+
10
+ <!-- FontAwesome-->
11
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
12
+
13
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
14
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
15
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
16
+
17
+ {% if page.head_inline %}
18
+ {{ page.head_inline }}
19
+ {% endif %}
20
+
21
21
  </head>
@@ -1,67 +1,37 @@
1
- <!-- Navigation
2
- <nav class="navbar navbar-expand-lg navbar-dark bg-light fixed-top" id="nav-header">
3
- <div class="container">
4
- {% assign default_paths = site.pages | map: "path" %}
5
- {% assign page_paths = site.header_pages | default: default_paths %}
6
- <a class="navbar-brand" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
7
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
8
- <span class="menu-icon">
9
- <svg viewBox="0 0 18 15" width="18px" height="15px">
10
- <path fill="#6f777d" 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.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
11
- <path fill="#6f777d" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
12
- <path fill="#6f777d" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
13
- </svg>
14
- </span>
15
- </button>
16
- <div class="collapse navbar-collapse" id="navbarResponsive">
17
- <ul class="navbar-nav ml-auto">
18
- {% if page_paths %}
19
- {% for path in page_paths %}
20
- {% assign my_page = site.pages | where: "path", path | first %}
21
- {% if my_page.title %}
22
- <li class="nav-item"><a class="nav-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
23
- {% endif %}
24
- {% endfor %}
25
- {% endif %}
26
- </ul>
27
- </div>
28
- </div>
29
- </nav>
30
- -->
31
- <div class="collapse bg-ligth" id="navbarHeader">
32
- <div class="container">
33
- <div class="row">
34
- <div class="col-sm-8 col-md-7 py-4">
35
- <h4>Contact</h4>
36
- <p class="text-muted">Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.</p>
37
- </div>
38
- <div class="col-sm-4 offset-md-1 py-4">
39
- <h4>Pages</h4>
40
- <ul class="list-unstyled">
41
- {% assign default_paths = site.pages | map: "path" %}
42
- {% assign page_paths = site.header_pages | default: default_paths %}
43
- {% if page_paths %}
44
- {% for path in page_paths %}
45
- {% assign my_page = site.pages | where: "path", path | first %}
46
- {% if my_page.title %}
47
- <li class="nav-item"><a class="nav-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
48
- {% endif %}
49
- {% endfor %}
50
- {% endif %}
51
- </ul>
52
- </div>
53
- </div>
54
- </div>
55
- </div>
56
- <div class="navbar navbar-dark box-shadow">
57
- <div class="container d-flex justify-content-between">
58
- <a class="navbar-brand d-flex align-items-center" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
59
- <div data-toggle="collapse" data-target="#navbarHeader" class="navbar-toggler-icon" id="nav-icon">
60
- <span></span>
61
- <span></span>
62
- <span></span>
63
- <span></span>
64
- </div>
65
-
66
- </div>
67
- </div>
1
+ <div class="collapse bg-ligth" id="navbarHeader">
2
+ <div class="container">
3
+ <div class="row">
4
+ <div class="col-sm-8 col-md-7 py-4">
5
+ <h4>Contact</h4>
6
+ <p class="text-muted">Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.</p>
7
+ </div>
8
+ <div class="col-sm-4 offset-md-1 py-4">
9
+ <h4>Pages</h4>
10
+ <ul class="list-unstyled">
11
+ {% assign default_paths = site.pages | map: "path" %}
12
+ {% assign page_paths = site.header_pages | default: default_paths %}
13
+ {% if page_paths %}
14
+ {% for path in page_paths %}
15
+ {% assign my_page = site.pages | where: "path", path | first %}
16
+ {% if my_page.title %}
17
+ <li class="nav-item"><a class="nav-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
18
+ {% endif %}
19
+ {% endfor %}
20
+ {% endif %}
21
+ </ul>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ <div class="navbar navbar-dark box-shadow">
27
+ <div class="container d-flex justify-content-between">
28
+ <a class="navbar-brand d-flex align-items-center" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
29
+ <div data-toggle="collapse" data-target="#navbarHeader" class="navbar-toggler-icon" id="nav-icon">
30
+ <span></span>
31
+ <span></span>
32
+ <span></span>
33
+ <span></span>
34
+ </div>
35
+
36
+ </div>
37
+ </div>
@@ -1,35 +1,35 @@
1
- ---
2
- layout: page
3
- ---
4
-
5
- {{ content }}
6
-
7
- {% for post in site.posts %}
8
-
9
- {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
10
-
11
- {% if forloop.first %}
12
- <h2>{{ year }}</h2>
13
- <table>
14
- {% elsif year != prev_year %}
15
- </table>
16
- <h2>{{ year }}</h2>
17
- <table>
18
- {% endif %}
19
-
20
- {% assign date_format = default: "%b %-d" %}
21
- <tr>
22
- <td><time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date: date_format }}</time></td>
23
- <td>|</td>
24
- <td><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></td>
25
- </tr>
26
-
27
- {% if forloop.last %}
28
- </table>
29
- {% endif %}
30
-
31
- {% capture prev_year %}{{ year }}{% endcapture %}
32
-
33
- {% endfor %}
34
-
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ {{ content }}
6
+
7
+ {% for post in site.posts %}
8
+
9
+ {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
10
+
11
+ {% if forloop.first %}
12
+ <h2>{{ year }}</h2>
13
+ <table>
14
+ {% elsif year != prev_year %}
15
+ </table>
16
+ <h2>{{ year }}</h2>
17
+ <table>
18
+ {% endif %}
19
+
20
+ {% assign date_format = default: "%b %-d" %}
21
+ <tr>
22
+ <td><time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date: date_format }}</time></td>
23
+ <td>|</td>
24
+ <td><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></td>
25
+ </tr>
26
+
27
+ {% if forloop.last %}
28
+ </table>
29
+ {% endif %}
30
+
31
+ {% capture prev_year %}{{ year }}{% endcapture %}
32
+
33
+ {% endfor %}
34
+
35
35
  <div></div>
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: default
3
+ permalink: /categories/
4
+ title: Categories
5
+ ---
6
+ <article class="post">
7
+ <h1 class="h1 category-title underline">Categories</h1>
8
+ <div class="posts">
9
+ {% for category in site.categories %}
10
+ <div class="archive-group">
11
+ {% capture category_name %}{{ category | first }}{% endcapture %}
12
+ <div id="#{{ category_name | slugize }}"></div>
13
+ <p></p>
14
+ <h3 style='color:white !important;'><a class="badge badge-{{ category_name }}">{{ category_name }}</a></h3>
15
+ <a name="{{ category_name | slugize }}"></a>
16
+ {% for post in site.categories[category_name] %}
17
+ <article class="archive-item">
18
+ <p class="text-justify"><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></p>
19
+ </article>
20
+ {% endfor %}
21
+ </div>
22
+ {% endfor %}
23
+ </div>
24
+ </article>
@@ -1,27 +1,27 @@
1
- ---
2
- ---
3
- <!DOCTYPE html>
4
- <html lang="{{ page.lang | default: site.lang | default: "en" }}">
5
-
6
- {% include head.html %}
7
-
8
- <body>
9
-
10
- {% include header.html %}
11
-
12
- <main>
13
- <div class="container">
14
- {{ content }}
15
- </div>
16
- </main>
17
-
18
- {% include footer.html %}
19
-
20
- <!-- jQuery, Popper.js, Bootstrap JS -->
21
- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
22
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
23
- <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
24
-
25
- </body>
26
-
1
+ ---
2
+ ---
3
+ <!DOCTYPE html>
4
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
5
+
6
+ {% include head.html %}
7
+
8
+ <body>
9
+
10
+ {% include header.html %}
11
+
12
+ <main>
13
+ <div class="container" id="post">
14
+ {{ content }}
15
+ </div>
16
+ </main>
17
+
18
+ {% include footer.html %}
19
+
20
+ <!-- jQuery, Popper.js, Bootstrap JS -->
21
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
22
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
23
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
24
+
25
+ </body>
26
+
27
27
  </html>
data/_layouts/home.html CHANGED
@@ -1,36 +1,36 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <header>
6
- {{ content }}
7
- </header>
8
-
9
- <div id="content">
10
-
11
- {% assign posts = site.posts %}
12
-
13
- <ul class="list-unstyled m-0 posts-list">
14
- {% assign date_format = "%b %-d, %Y" %}
15
- {% for post in posts %}
16
- <li class="py-2">
17
-
18
- <h1 class="mt-1 mb-3 h3 title-post-resume">
19
- <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
20
- </h1>
21
-
22
- <span class="text-secondary">{{ post.date | date: date_format }}</span>
23
-
24
- <div class="text-justify">
25
- {{ post.excerpt }}
26
- </div>
27
- </li>
28
- {% endfor %}
29
- </ul>
30
-
31
-
32
- {% if site.plugins contains "jekyll-feed" %}
33
- <a href="{{ "/feed.xml" | relative_url }}"><div id="rss-icon" class="mb-2"></div></a>
34
- {% endif %}
35
-
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <header>
6
+ {{ content }}
7
+ </header>
8
+
9
+ <div id="content">
10
+
11
+ {% assign posts = site.posts %}
12
+
13
+ <ul class="list-unstyled m-0 posts-list">
14
+ {% assign date_format = "%b %-d, %Y" %}
15
+ {% for post in posts %}
16
+ <li class="py-2">
17
+
18
+ <h1 class="mt-1 mb-3 h3 title-post-resume underline">
19
+ <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
20
+ </h1>
21
+
22
+ <span class="text-secondary">{{ post.date | date: date_format }}</span>
23
+
24
+ <div class="text-justify">
25
+ {{ post.excerpt }}
26
+ </div>
27
+ </li>
28
+ {% endfor %}
29
+ </ul>
30
+
31
+
32
+ {% if site.plugins contains "jekyll-feed" %}
33
+ <a href="{{ "/feed.xml" | relative_url }}"><div id="rss-icon" class="mb-2"></div></a>
34
+ {% endif %}
35
+
36
36
  </div>
data/_layouts/page.html CHANGED
@@ -1,14 +1,14 @@
1
- ---
2
- layout: default
3
- ---
4
- <article>
5
-
6
- <header>
7
- <h1>{{ page.title }}</h1>
8
- </header>
9
-
10
- <div id="content">
11
- {{ content }}
12
- </div>
13
-
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article>
5
+
6
+ <header>
7
+ <h1 class="underline">{{ page.title }}</h1>
8
+ </header>
9
+
10
+ <div id="content">
11
+ {{ content }}
12
+ </div>
13
+
14
14
  </article>