picklecore 0.15.5 → 0.16.0

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: 436c42ffb21a6d5c4ed033d534b7cca23d3c02344325b5bae6f9fd161e1b81ac
4
- data.tar.gz: 992736bf3ccd46947ab8d7124bbecc9432031e84fe8522054a5a857e6711984b
3
+ metadata.gz: fd2e51cbf3d15028e1c3951dd40b1d45280fdb40b89c92b0d8b07148cf50e810
4
+ data.tar.gz: 7b01e3f69d2cf2ce687eaf30cb80e115f8161106860ae3a49cd2ffe34fe196c8
5
5
  SHA512:
6
- metadata.gz: 97f61753afde42d261af6345c4ef99defd41cdcf04286791dc8532edc998d28018562376cd6d164803b45ac54bdf1c8e842291fb665110ebd65882f0aafb50c6
7
- data.tar.gz: 3e1302c57362f20b04a9f7ec574daa8e428a908b959332ef202a565c063a2ea9e8384373baf80c779c404184d167434ed2a5b722c01c4e2a5d3634ad4f2d2a8e
6
+ metadata.gz: 2e19464f9d3b7be28f1d7c33f237b4d2d284c9e1ab111d35ace26025abc0cc68d306f3f386528a69936586631787e21ca2692b401a80d2ba3ab1e7c86b8bbc8b
7
+ data.tar.gz: 9731226f3678446753842239a76cf35e7df343e75d6b978f97813f91b55e3988e2e0e3c428bb19b1442e07f5224c65fec77e83e828fca46c0504b0bee28d8591
@@ -1,4 +1,4 @@
1
- <div id="nav" class="nav">
1
+ <nav aria-label="site">
2
2
  <table>
3
3
  {%- if site.github -%}
4
4
  <tr>
@@ -71,4 +71,4 @@
71
71
  </tr>
72
72
  {%- endif -%}
73
73
  </table>
74
- </div>
74
+ </nav>
@@ -4,25 +4,28 @@ title: "Post Archives"
4
4
  ---
5
5
  {% include components/binds/sidebar-anchor.html %}
6
6
 
7
- {% if page.type == "year" %}
8
- <h1>Posts from {{ page.date | date: "%Y" }}</h1>
9
- {% endif %}
10
- {% if page.type == "month" %}
11
- <h1>Posts from {{ page.date | date: "%-d, %Y" }}</h1>
12
- {% endif %}
13
- {% if page.type == "day" %}
14
- <h1>Posts from {{ page.date | date: "%b %-d, %Y" }}</h1>
15
- {% endif %}
16
- {% if page.type == "tag" or page.type == "category" %}
17
- <h1>Posts with {{ page.type }} '{{ page.title }}'</h1>
18
- {% endif %}
19
7
 
20
- <ul class="posts">
21
- {% for post in page.posts %}
22
- <li>
23
- <span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>
24
- <span>-</span>
25
- <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
26
- </li>
27
- {% endfor %}
28
- </ul>
8
+ <main>
9
+ {% if page.type == "year" %}
10
+ <h1>Posts from {{ page.date | date: "%Y" }}</h1>
11
+ {% endif %}
12
+ {% if page.type == "month" %}
13
+ <h1>Posts from {{ page.date | date: "%-d, %Y" }}</h1>
14
+ {% endif %}
15
+ {% if page.type == "day" %}
16
+ <h1>Posts from {{ page.date | date: "%b %-d, %Y" }}</h1>
17
+ {% endif %}
18
+ {% if page.type == "tag" or page.type == "category" %}
19
+ <h1>Posts with {{ page.type }} '{{ page.title }}'</h1>
20
+ {% endif %}
21
+
22
+ <ul class="posts">
23
+ {% for post in page.posts %}
24
+ <li>
25
+ <span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>
26
+ <span>-</span>
27
+ <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
28
+ </li>
29
+ {% endfor %}
30
+ </ul>
31
+ </main>
@@ -5,9 +5,9 @@
5
5
  <link rel="stylesheet" href="/assets/css/main.css"></link>
6
6
  </head>
7
7
  <body>
8
- <div class="content">
8
+ <main class="content">
9
9
  {{ content }}
10
- </div>
10
+ </main>
11
11
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
12
12
  <script src="/assets/js/main.js"></script>
13
13
  </body>
data/_layouts/error.html CHANGED
@@ -1,18 +1,16 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
- {% include page-template/metadata.html pagename="You fell off my site!" %}
4
+ {% include metadata/metadata.html pagename=page.title %}
5
5
  <link rel="stylesheet" href="/assets/css/error.css"></link>
6
6
  </head>
7
7
  <body>
8
- <div class="error">
9
- <h1 class="animated fadeInRightBig">{{ site.errormessage | default: "Uh oh... You fell off our site!" }}</h1>
8
+ <main>
9
+ <h1 class="animated fadeInRightBig">{{ page.message | default: "Uh oh..." }}</h1>
10
10
  <p class="animated delay fadeInLeftBig">
11
11
  Error {{ page.code }} ({{ page.desc }})
12
- {% if site.email %}
13
- - If you think this is a mistake on our part, please <a href="mailto:{{ site.email }}">send us an email</a>.
14
- {% endif %}
12
+ {{ content }}
15
13
  </p>
16
- </div>
14
+ </main>
17
15
  </body>
18
16
  </html>
data/_layouts/post.html CHANGED
@@ -3,19 +3,21 @@ layout: default
3
3
  ---
4
4
  {% include components/binds/sidebar-anchor.html %}
5
5
 
6
- <h2>{{ page.title }}</h2>
6
+ <main>
7
+ <h1>{{ page.title }}</h1>
7
8
 
8
- <div>
9
- {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
10
- <i class="fas fa-user-edit"></i> Author: {{ page.author | default: "Administrator" }}
11
- <br />
12
- <i class="fas fa-calendar"></i> Date: {{ page.date | date: date_format }}
13
- {% if page.tag %}
9
+ <div>
10
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
11
+ <i class="fas fa-user-edit"></i> Author: {{ page.author | default: "Administrator" }}
14
12
  <br />
15
- <i class="fa fa-tag"></i> Tag: {{ page.tag }}
16
- {% endif %}
17
- </div>
13
+ <i class="fas fa-calendar"></i> Date: {{ page.date | date: date_format }}
14
+ {% if page.tag %}
15
+ <br />
16
+ <i class="fa fa-tag"></i> Tag: {{ page.tag }}
17
+ {% endif %}
18
+ </div>
18
19
 
19
- <hr />
20
+ <hr />
20
21
 
21
- {{ content }}
22
+ {{ content }}
23
+ </main>
@@ -8,7 +8,7 @@ body {
8
8
  background-color: {%- include styling/theme-color.css -%};
9
9
  }
10
10
 
11
- .error {
11
+ main {
12
12
  height: 100vh;
13
13
  display: flex;
14
14
  flex-direction: column;
data/assets/css/main.css CHANGED
@@ -9,7 +9,7 @@ body {
9
9
  background-color: {%- include styling/theme-color.css -%};
10
10
  }
11
11
 
12
- .content {
12
+ main {
13
13
  margin: 75px 100px;
14
14
  font-family: "Open Sans", sans-serif;
15
15
  color: white;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picklecore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.5
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reece Dunham
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-01-23 00:00:00.000000000 Z
12
+ date: 2020-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  requirements: []
160
- rubygems_version: 3.0.6
160
+ rubygems_version: 3.1.2
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: A Jekyll theme built to create personal and small websites, but can easily