minimal-categorized 0.0.18 → 0.0.19
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 +5 -5
- data/_config.yml +5 -5
- data/_includes/common-head.html +1 -1
- data/_includes/cookies.js +2 -2
- data/_includes/footer.html +2 -7
- data/_includes/menu.html +4 -4
- data/_layouts/home.html +1 -1
- data/pages/category-1.html +2 -2
- metadata +14 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e4f88c56d6dbf475d4db9292bf88a67ea0001c61f6d9591ea700e7139a9ec9a
|
|
4
|
+
data.tar.gz: 1da0dad324399ad201bdd919b922868eb57716cfbe4bb0a45ec0c2326ffed2a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8e934ccfa792a46d06aad7831b9599914b2a55e97b2d28254db8a0f3da08b8d779fe4dd865b883b83528d44c04480f12e0d9e9085c40e2d0436aed55dfdd321
|
|
7
|
+
data.tar.gz: a7d58dfe1e2cda0034111811171b107fc694580ffc3582d4916959f235823051f069869fa9032c3199ccd7f0316c10c180cdacbdd770a4bbd1f95b98a4370cbe
|
data/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<h1><a href="https://github.com/
|
|
1
|
+
<h1><a href="https://github.com/ItsPatrq/minimal-categorized/"><img src="https://raw.githubusercontent.com/ItsPatrq/minimal-categorized/master/assets/img/favicon.ico" height="21" alt="minimal-categorized logo" /> minimal-categorized Jekyll theme </h1></a>
|
|
2
2
|
|
|
3
3
|
[](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
|
4
4
|
[](https://jekyllrb.com/)
|
|
5
5
|
[](https://badge.fury.io/rb/minimal-categorized)
|
|
6
|
-
<a href="https://ko-fi.com/
|
|
6
|
+
<a href="https://ko-fi.com/itspatrq">
|
|
7
7
|
<img height="20" src="https://www.ko-fi.com/img/githubbutton_sm.svg"
|
|
8
8
|
alt="Donate (Ko-fi)" />
|
|
9
9
|
</a>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<img src="https://img.shields.io/badge/featured%20on-JekyllThemes-red.svg" height="20" alt="Jekyll Themes Shield" />
|
|
12
12
|
</a>
|
|
13
13
|
|
|
14
|
-
minimal-categorized is a flexible Jekyll theme, designed for sites with content easily aggregated into two categories. It's main focus is on separating two main categories, while maintaining minimal style and full customization. Demo is available [here](https://
|
|
14
|
+
minimal-categorized is a flexible Jekyll theme, designed for sites with content easily aggregated into two categories. It's main focus is on separating two main categories, while maintaining minimal style and full customization. Demo is available [here](https://itspatrq.github.io/minimal-categorized/).
|
|
15
15
|
|
|
16
16
|

|
|
17
17
|
|
|
@@ -44,7 +44,7 @@ There are three ways to install:
|
|
|
44
44
|
|
|
45
45
|
In your Jekyll site's _config.yml remove other themes and add this entry:
|
|
46
46
|
```
|
|
47
|
-
remote_theme:
|
|
47
|
+
remote_theme: ItsPatrq/minimal-categorized
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
* Forking/directly copying all of the theme files into your project.
|
|
@@ -86,7 +86,7 @@ Structure of `_data/metaData.yml`:
|
|
|
86
86
|
* show_menu_logo_on_home_page: boolean value determining, if should display logo from "menu_logo" entry in default home page layout
|
|
87
87
|
## Contributing
|
|
88
88
|
|
|
89
|
-
Bug reports and pull requests are welcome on [GitHub](https://github.com/
|
|
89
|
+
Bug reports and pull requests are welcome on [GitHub](https://github.com/ItsPatrq/minimal-categorized). 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.
|
|
90
90
|
|
|
91
91
|
## Development
|
|
92
92
|
|
data/_config.yml
CHANGED
|
@@ -19,19 +19,19 @@ email: email@example.com
|
|
|
19
19
|
description: >- # this means to ignore newlines until "baseurl:"
|
|
20
20
|
This website was created as a demonstration for Jekyll custom theme
|
|
21
21
|
named minimal-categorized. Its main feature is to aggregate posts into
|
|
22
|
-
categories,
|
|
22
|
+
categories, which are easily distinguishable
|
|
23
23
|
baseurl: "/minimal-categorized" # the subpath of your site, e.g. /blog
|
|
24
|
-
url: "https://
|
|
25
|
-
author:
|
|
24
|
+
url: "https://itspatrq.github.io" # the base hostname & protocol for your site, e.g. http://example.com
|
|
25
|
+
author: itspatrq
|
|
26
26
|
twitter:
|
|
27
|
-
username:
|
|
27
|
+
username: itspatrq
|
|
28
28
|
card: summary
|
|
29
29
|
plugins:
|
|
30
30
|
- jekyll-seo-tag
|
|
31
31
|
|
|
32
32
|
# Build settings
|
|
33
33
|
markdown: kramdown
|
|
34
|
-
remote_theme:
|
|
34
|
+
remote_theme: ItsPatrq/minimal-categorized
|
|
35
35
|
# Exclude these files from production site
|
|
36
36
|
exclude:
|
|
37
37
|
- CHANGELOG.md
|
data/_includes/common-head.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
3
3
|
<link rel="stylesheet" href="{{ '/assets/styles/styles.css' | relative_url }}">
|
|
4
4
|
<link rel="stylesheet" href="https://indestructibletype.com/fonts/Jost.css" type="text/css" charset="utf-8" />
|
|
5
|
-
<
|
|
5
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
6
6
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/img/apple-touch-icon.png' | relative_url }}">
|
|
7
7
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/img/favicon-32x32.png' | relative_url }}">
|
|
8
8
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/img/favicon-16x16.png' | relative_url }}">
|
data/_includes/cookies.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
const consentPropName = "cookies_consent";
|
|
3
3
|
const storageType = localStorage;
|
|
4
4
|
|
|
5
|
-
shouldShowCookieConsent = () => !storageType.getItem(consentPropName);
|
|
6
|
-
acceptCookieConsent = () => storageType.setItem(consentPropName, true);
|
|
5
|
+
const shouldShowCookieConsent = () => !storageType.getItem(consentPropName);
|
|
6
|
+
const acceptCookieConsent = () => storageType.setItem(consentPropName, true);
|
|
7
7
|
window.addEventListener("load", () => {
|
|
8
8
|
if(!shouldShowCookieConsent()) {
|
|
9
9
|
return;
|
data/_includes/footer.html
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
window.addEventListener("load", () => {
|
|
3
|
-
document.getElementsByClassName("copyrights")[0].innerHTML =
|
|
4
|
-
`Copyrights © ${new Date().getFullYear()} {{ site.data.metaData.author }}`;
|
|
5
|
-
});
|
|
6
|
-
</script>
|
|
7
1
|
<footer>
|
|
8
2
|
<p class="copyrights">
|
|
3
|
+
Copyrights © {{ 'now' | date: "%Y" }} {{ site.data.metaData.author }}
|
|
9
4
|
</p>
|
|
10
|
-
</footer>
|
|
5
|
+
</footer>
|
data/_includes/menu.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<ul class="navigation">
|
|
6
6
|
{% for menu_item in site.data.menu.menu_pages %}
|
|
7
7
|
<li>
|
|
8
|
-
<a href="{{ menu_item.url | relative_url }}" category="{{ menu_item.category }}" title="{{ menu_item.tooltip }}">
|
|
8
|
+
<a href="{{ menu_item.url | relative_url }}" data-category="{{ menu_item.category }}" title="{{ menu_item.tooltip }}">
|
|
9
9
|
<i class="{{ menu_item.icon_name }}"> </i>
|
|
10
10
|
</a>
|
|
11
11
|
</li>
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
<ul class="navigation">
|
|
40
40
|
{% for menu_item in site.data.menu.menu_pages %}
|
|
41
41
|
<li>
|
|
42
|
-
<a href="{{ menu_item.url | relative_url }}" category="{{ menu_item.category }}" title="{{ menu_item.tooltip }}">
|
|
42
|
+
<a href="{{ menu_item.url | relative_url }}" data-category="{{ menu_item.category }}" title="{{ menu_item.tooltip }}">
|
|
43
43
|
<i class="{{ menu_item.icon_name }}"> </i>
|
|
44
44
|
<span>{{ menu_item.title }}</span>
|
|
45
45
|
</a>
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
const selectedCategory = navigation.getElementsByTagName("a");
|
|
66
66
|
const currCategory = "{{ page.category }}";
|
|
67
67
|
|
|
68
|
-
for(menuItem of selectedCategory) {
|
|
69
|
-
if(menuItem.getAttribute("category") === currCategory) {
|
|
68
|
+
for(const menuItem of selectedCategory) {
|
|
69
|
+
if(menuItem.getAttribute("data-category") === currCategory) {
|
|
70
70
|
menuItem.classList.add("selected");
|
|
71
71
|
return;
|
|
72
72
|
}
|
data/_layouts/home.html
CHANGED
|
@@ -17,7 +17,7 @@ category: home
|
|
|
17
17
|
<div class="category_container">
|
|
18
18
|
<div class="category_image">
|
|
19
19
|
<a href="{{ menu_item.url | relative_url }}">
|
|
20
|
-
<img class="category" src="{{ menu_item.image_url | relative_url}}">
|
|
20
|
+
<img class="category" src="{{ menu_item.image_url | relative_url}}" alt="{{ menu_item.title }}">
|
|
21
21
|
</a>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="category_description">
|
data/pages/category-1.html
CHANGED
|
@@ -3,7 +3,7 @@ title: Category 1
|
|
|
3
3
|
layout: category-aggregator
|
|
4
4
|
permalink: category-1.html
|
|
5
5
|
category: category-1
|
|
6
|
-
summary: Summary of a category. It is just a special placeholder wrapped in a particular class, so it looks more interesting. You can always make your own layout for a category, or make a category.html look the way you want. If you want to see the source code of this theme, feel free to check out the repository on <a href="https://github.com/
|
|
6
|
+
summary: Summary of a category. It is just a special placeholder wrapped in a particular class, so it looks more interesting. You can always make your own layout for a category, or make a category.html look the way you want. If you want to see the source code of this theme, feel free to check out the repository on <a href="https://github.com/ItsPatrq/minimal-categorized" target="_blank">GitHub</a>.
|
|
7
7
|
---
|
|
8
8
|
<hr>
|
|
9
9
|
<h2>Showcase of customizing aggregator site</h2>
|
|
@@ -43,7 +43,7 @@ summary: Summary of a category. It is just a special placeholder wrapped in a pa
|
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
</a>
|
|
46
|
-
<a class="item" href="https://ko-fi.com/
|
|
46
|
+
<a class="item" href="https://ko-fi.com/itspatrq" target="_blank">
|
|
47
47
|
<div class="icon"><img src="assets/img/ko-fi.jpg"></div>
|
|
48
48
|
<div class="content">
|
|
49
49
|
<h4>Ko-fi</h4>
|
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minimal-categorized
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patryk Bieszke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-07-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.9
|
|
19
|
+
version: '3.9'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '5.0'
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '3.9'
|
|
30
|
+
- - "<"
|
|
25
31
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
32
|
+
version: '5.0'
|
|
27
33
|
description:
|
|
28
34
|
email:
|
|
29
35
|
- bieszke.patryk@gmail.com
|
|
@@ -95,7 +101,7 @@ files:
|
|
|
95
101
|
- pages/category-2.html
|
|
96
102
|
- pages/gate.html
|
|
97
103
|
- pages/super-cat.html
|
|
98
|
-
homepage: https://github.com/
|
|
104
|
+
homepage: https://github.com/ItsPatrq/minimal-categorized
|
|
99
105
|
licenses:
|
|
100
106
|
- MIT
|
|
101
107
|
metadata: {}
|
|
@@ -114,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
114
120
|
- !ruby/object:Gem::Version
|
|
115
121
|
version: '0'
|
|
116
122
|
requirements: []
|
|
117
|
-
rubygems_version: 3.
|
|
123
|
+
rubygems_version: 3.4.2
|
|
118
124
|
signing_key:
|
|
119
125
|
specification_version: 4
|
|
120
126
|
summary: minimal-categorized is a Jekyll theme for GitHub Pages
|