jekyll-theme-buttery-biscuit 0.3.0 → 0.3.2

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: a8a3b3a4ef9fca6a1aaf4f393b5472a0119c040132aef7c67f01398d53c17145
4
- data.tar.gz: af5947a7871ddc32c3a8c3876d565a0dbbdb8c38f15e99ec44140f11f3248eec
3
+ metadata.gz: a936bd949b2aee410d2a7369fc5df2b9190d29b800b258ef470e0460e63fdff9
4
+ data.tar.gz: 9b15532ccb8d1dc2cdf7ff30f5afbf48f5b4c4138bba91888e80cc49c151c135
5
5
  SHA512:
6
- metadata.gz: 531768e22f85302e60539cab72130258b7652622fe2e4179d6ce1ee42c7dcb9dc01faa8ed00975aeb18bcd0aaaa9c09ba3864bce2ff5a810f8d62c27ffed1b9a
7
- data.tar.gz: e0f13b2aaa857ef316777db4c44ee0ac4743a373bd7752a059894916919e13be3532812e2c139d7071dc531b24fd99074d917b6a9f0242504fc649dfe5d8f4b8
6
+ metadata.gz: 9f5e5c0d13a12f94566195466078bf461cd7ffdf056c420fae3c727166bd2fd24f34411c44e1ff4fae990a1ce42d15612bd278c6b087ff5ddd826cb6f108dc66
7
+ data.tar.gz: 74f877bb360f9631fd833830f6ce32b05605a7407b19ef91acdcc17b093ae354fe81d70cb3de987f32d3c79e2da4c24907454eb9e47dd5a6c23eb4db8d55d32d
data/_config.yml CHANGED
@@ -4,14 +4,14 @@
4
4
  # You can create any custom variable you would like, and they will be accessible
5
5
  # in the templates via {{ site.myvariable }}.
6
6
 
7
- title: Your awesome title
7
+ title: Buttery Biscuit
8
8
  email: your-email@example.com
9
9
  description: >- # this means to ignore newlines until "baseurl:"
10
10
  Write an awesome description for your new site here. You can edit this
11
11
  line in _config.yml. It will appear in your document head meta (for
12
12
  Google search results) and in your feed.xml site description.
13
- baseurl: "" # the subpath of your site, e.g. /blog
14
- url: "" # the base hostname & protocol for your site, e.g. http://example.com
13
+ baseurl: "/jekyll-theme-buttery-biscuit" # the subpath of your site, e.g. /blog
14
+ url: "lukeossevoort.github.io" # the base hostname & protocol for your site, e.g. http://example.com
15
15
  twitter_username: jekyllrb
16
16
  github_username: jekyll
17
17
 
@@ -23,12 +23,18 @@ plugins:
23
23
  - jekyll-spaceship
24
24
  - jekyll-seo-tag
25
25
  - jekyll-paginate
26
+ - jekyll_picture_tag
26
27
 
27
28
  buttery-biscuit:
28
29
  theme: default
29
30
  darkmode: dark
30
31
  fixed-navbar: false
31
32
 
33
+ picture:
34
+ source: "assets/img/fullsize"
35
+ output: "assets/img/generated"
36
+ nomarkdown: true
37
+
32
38
  exclude:
33
39
  - readme.md
34
40
 
@@ -1,8 +1,8 @@
1
1
  <nav class="nav is-vertical-align is-full-width no-print" id="navbar">
2
2
  <div class="nav-left hide-xs">
3
- <a class="brand" href="#">{{ site.title }}</a>
3
+ <a class="brand" href="{{ site.url }}{{ site.baseurl }}/">{{ site.title }}</a>
4
4
  {% for item in site.data.navigation %}
5
- <a href="{{ item.link }}" {% if page.url == item.link %}class="active"{% endif %}>
5
+ <a href="{{ site.baseurl }}{{ item.link }}" {% if page.url == item.link %}class="active"{% endif %}>
6
6
  {{ item.name }}
7
7
  </a>
8
8
  {% endfor %}
@@ -20,7 +20,7 @@
20
20
  </summary>
21
21
  <div class="card" style="padding-left: 0; padding-right: 0; margin-left: -30%;">
22
22
  {% for item in site.data.navigation %}
23
- <p><a href="{{ item.link }}" {% if page.url == item.link %}class="active"{% endif %}>
23
+ <p><a href="{{ site.baseurl }}{{ item.link }}" {% if page.url == item.link %}class="active"{% endif %}>
24
24
  {{ item.name }}
25
25
  </a></p>
26
26
  {% endfor %}
@@ -4,9 +4,12 @@
4
4
  <!-- Post heading -->
5
5
  <div class="row">
6
6
  <div class="col">
7
- <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
7
+ <h1 style="margin-bottom: 0;"><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
8
8
  <p>
9
- Published {{ post.date | date: "%Y-%m-%d" }}
9
+ {% if post.author %}
10
+ By {{ post.author }} &emsp;
11
+ {% endif %}
12
+ Published {{ post.date | date: "%Y-%m-%d" }} &emsp;
10
13
  {% for tag in post.tags %}
11
14
  <span class="tag">{{ tag }}</span>
12
15
  {% endfor %}
@@ -18,7 +21,11 @@
18
21
  <div class="row">
19
22
  {% if post.img %}
20
23
  <div class="col-4">
21
- <img src="{{ post.img }}">
24
+ {% if post.cropkeep %}
25
+ {% picture "{{ post.img }}" 3:2 {{ post.cropkeep }} %}
26
+ {% else %}
27
+ {% picture "{{ post.img }}" %}
28
+ {% endif %}
22
29
  </div>
23
30
  {% endif %}
24
31
 
data/_layouts/post.html CHANGED
@@ -5,10 +5,25 @@ layout: page
5
5
 
6
6
  <div class="row">
7
7
  <div class="col">
8
- <h1>{{ page.title }}</h1>
9
- {% if page.img %}
10
- <img src="{{ img }}">
11
- {% endif %}
12
- {{ content }}
8
+ <article>
9
+ <h1>{{ page.title }}</h1>
10
+ <p>
11
+ {% if page.author %}
12
+ By {{ page.author }} &emsp;
13
+ {% endif %}
14
+ Published {{ page.date | date: "%Y-%m-%d" }} &emsp;
15
+ {% for tag in page.tags %}
16
+ <span class="tag">{{ tag }}</span>
17
+ {% endfor %}
18
+ </p>
19
+ {% if page.img %}
20
+ {% if page.cropkeep %}
21
+ {% picture postheader "{{ page.img }}" 3:2 {{ page.cropkeep }} %}
22
+ {% else %}
23
+ {% picture postheader "{{ page.img }}" %}
24
+ {% endif %}
25
+ {% endif %}
26
+ {{ content }}
27
+ </article>
13
28
  </div>
14
29
  </div>
@@ -1,3 +1,12 @@
1
1
  .paginateindex {
2
2
  padding: 0 2px;
3
3
  }
4
+
5
+ // Built in option to print in 2 columns
6
+ @media print {
7
+ .twocolprint {
8
+ column-count: 2;
9
+ -webkit-column-count: 2;
10
+ -moz-column-count: 2;
11
+ }
12
+ }
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-buttery-biscuit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Ossevoort
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-11 00:00:00.000000000 Z
11
+ date: 2024-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description:
97
+ description:
98
98
  email:
99
99
  - luke@ossevoort.xyz
100
100
  executables: []
@@ -121,6 +121,8 @@ files:
121
121
  - _sass/themes/_dark.scss
122
122
  - _sass/themes/_default.scss
123
123
  - assets/css/main.scss
124
+ - assets/img/fullsize/squirrel.jpg
125
+ - assets/img/fullsize/superb-fairywren.jpg
124
126
  - assets/js/darkmode.js
125
127
  - assets/js/fixednavbar.js
126
128
  - readme.md
@@ -128,7 +130,7 @@ homepage: https://github.com/LukeOssevoort/jekyll-theme-buttery-biscuit
128
130
  licenses:
129
131
  - MIT
130
132
  metadata: {}
131
- post_install_message:
133
+ post_install_message:
132
134
  rdoc_options: []
133
135
  require_paths:
134
136
  - lib
@@ -143,8 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
145
  - !ruby/object:Gem::Version
144
146
  version: '0'
145
147
  requirements: []
146
- rubygems_version: 3.2.5
147
- signing_key:
148
+ rubygems_version: 3.3.15
149
+ signing_key:
148
150
  specification_version: 4
149
151
  summary: A Jekyll theme that acts as a base, a buttery biscuit base.
150
152
  test_files: []