termina-plex 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/_layouts/home.html +6 -1
- data/_sass/termina-plex/layout/posts.scss +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3191be0873ad818c702c14a73f27416b07493521b34d6d4bf38cbe5f1649ee7d
|
4
|
+
data.tar.gz: 2dea759a907ff919189b21123c6215cfc2ad9311ce48aef8dca9da5f3b3b30dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce516d997c7f4429acc38d33feb76ef45673879ef9bad0c1df614860a29874ac7e7b3d0be82f4489f9d5420e3fc3e87923385358093297a2cc97b35a221dfb13
|
7
|
+
data.tar.gz: 469abddfad9057fa6218e7b4cc007adaf1483a9940652d31c056202f7770a4093669d59f9694b7c94d892c7bff9bb06c4fcc040491dbf5cce2426b89e1cd7bf0
|
data/README.md
CHANGED
@@ -50,6 +50,8 @@ The social links displayed under the site title in the main section of the landi
|
|
50
50
|
|
51
51
|
If centered tables are preferred, the `termina-plex.centered_tables` setting can be set to `true`. By default, it uses the user agent's default alignment.
|
52
52
|
|
53
|
+
By default, the theme will transform post titles to be capitalized on pages that use the `home` layout. If you prefer to have post titles not be transformed, you can set `termina-plex.standard_titles` to `true`.
|
54
|
+
|
53
55
|
## Screenshots
|
54
56
|
|
55
57
|

|
data/_layouts/home.html
CHANGED
@@ -7,7 +7,8 @@ layout: base
|
|
7
7
|
{%- assign posts = site.posts -%}
|
8
8
|
{% endif %}
|
9
9
|
{%- assign date_format = site.termina-plex.date_format | default: "%d %b %Y" -%}
|
10
|
-
{%- assign blog_path = site.blog_path | default: "/blog"
|
10
|
+
{%- assign blog_path = site.blog_path | default: "/blog" -%}
|
11
|
+
{%- assign standard_titles = site.termina-plex.standard_titles -%}
|
11
12
|
|
12
13
|
<article class="postWrapper">
|
13
14
|
<header class="postHeader">
|
@@ -18,7 +19,11 @@ layout: base
|
|
18
19
|
<div class="postsEntries">
|
19
20
|
{%- for post in posts -%}
|
20
21
|
<div class="postInfo">
|
22
|
+
{%- if standard_titles -%}
|
21
23
|
<h2 class="postTitle">
|
24
|
+
{%- else -%}
|
25
|
+
<h2 class="postTitle capitalize-title">
|
26
|
+
{%- endif -%}
|
22
27
|
<a class="postListLink" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
23
28
|
</h2>
|
24
29
|
{%- if post.date -%}
|
@@ -18,12 +18,15 @@
|
|
18
18
|
font-family: $header-font-family;
|
19
19
|
font-size: 1.2em;
|
20
20
|
font-weight: 400;
|
21
|
-
text-transform: capitalize;
|
22
21
|
float: left;
|
23
22
|
width: 75%;
|
24
23
|
margin: 0 0 1rem 0;
|
25
24
|
}
|
26
25
|
|
26
|
+
.postTitle.capitalize-title {
|
27
|
+
text-transform: capitalize;
|
28
|
+
}
|
29
|
+
|
27
30
|
.postHeader {
|
28
31
|
overflow: hidden;
|
29
32
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: termina-plex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Linh Pham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|