minimal-categorized 0.0.17 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e9694f26a4f2ed6362b5454ac2fbd1bb60c14610c44d0a20e12f3f235a684df
4
- data.tar.gz: c987b221974e1cb6a7f5c6082dfb23967d7635d59fcb8c39a4ada0cd2c423c59
3
+ metadata.gz: 2e4f88c56d6dbf475d4db9292bf88a67ea0001c61f6d9591ea700e7139a9ec9a
4
+ data.tar.gz: 1da0dad324399ad201bdd919b922868eb57716cfbe4bb0a45ec0c2326ffed2a3
5
5
  SHA512:
6
- metadata.gz: 5b02096251c67c465352ff975d3156191dedb3e41f8e8e2f0ad1735b279f62e197ba5a8c58193606f8402000a4f51d817137c9ca695d650efcf4d75536aeb060
7
- data.tar.gz: 72d450171d2a92ba161ebacb13942fb1b6847670b98ceceb3cf9fd4cf750b454c042dba7797658e33c6918f718eec68e132d580885e54f23aec5f206a7e74d82
6
+ metadata.gz: b8e934ccfa792a46d06aad7831b9599914b2a55e97b2d28254db8a0f3da08b8d779fe4dd865b883b83528d44c04480f12e0d9e9085c40e2d0436aed55dfdd321
7
+ data.tar.gz: a7d58dfe1e2cda0034111811171b107fc694580ffc3582d4916959f235823051f069869fa9032c3199ccd7f0316c10c180cdacbdd770a4bbd1f95b98a4370cbe
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Patryk Bieszke
3
+ Copyright (c) 2021 Patryk Bieszke
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,35 +1,53 @@
1
- # [minimal-categorized Jekyll theme](https://github.com/ItsMeaga1n/minimal-categorized/)
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
  [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
4
4
  [![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.9-blue.svg)](https://jekyllrb.com/)
5
5
  [![Gem Version](https://badge.fury.io/rb/minimal-categorized.svg)](https://badge.fury.io/rb/minimal-categorized)
6
+ <a href="https://ko-fi.com/itspatrq">
7
+ <img height="20" src="https://www.ko-fi.com/img/githubbutton_sm.svg"
8
+ alt="Donate (Ko-fi)" />
9
+ </a>
10
+ <a href="https://jekyll-themes.com">
11
+ <img src="https://img.shields.io/badge/featured%20on-JekyllThemes-red.svg" height="20" alt="Jekyll Themes Shield" />
12
+ </a>
6
13
 
7
- minimal-categorized is a flexible Jekyll theme, designed for sites with content easily aggregated into categories. Demo is available [here](https://itsmeaga1n.github.io/minimal-categorized/).
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/).
8
15
 
9
16
  ![layout examples](screenshot.png)
10
17
 
11
18
  ## Installation
19
+ There are three ways to install:
12
20
 
13
- Add this line to your Jekyll site's `Gemfile`:
21
+ * As a ruby gem theme:
14
22
 
15
- ```ruby
16
- gem "minimal-categorized"
17
- ```
23
+ Add this line to your Jekyll site's `Gemfile`:
18
24
 
19
- And add this line to your Jekyll site's `_config.yml`:
25
+ ```ruby
26
+ gem "minimal-categorized"
27
+ ```
20
28
 
21
- ```yaml
22
- theme: minimal-categorized
23
- ```
29
+ And add this line to your Jekyll site's `_config.yml`:
24
30
 
25
- And then execute:
31
+ ```yaml
32
+ theme: minimal-categorized
33
+ ```
26
34
 
27
- $ bundle
35
+ And then execute:
28
36
 
29
- Or install it yourself as:
37
+ $ bundle
30
38
 
31
- $ gem install minimal-categorized
39
+ Or install it yourself as:
32
40
 
41
+ $ gem install minimal-categorized
42
+
43
+ * As a remote theme (GitHub Pages compatible)
44
+
45
+ In your Jekyll site's _config.yml remove other themes and add this entry:
46
+ ```
47
+ remote_theme: ItsPatrq/minimal-categorized
48
+ ```
49
+
50
+ * Forking/directly copying all of the theme files into your project.
33
51
  ## Usage
34
52
 
35
53
  This theme is based on separating content into categories, which is later shown on separated sites designated to the specific content type.
@@ -55,18 +73,20 @@ Structure of `_data/menu.yml`:
55
73
  * faicon: FavIcon to be displayed in menu
56
74
  * url: URL for href
57
75
  * target: target value of \<a> tag
58
- * cookies: customize information about site cookies
59
- * enabled: determine if should show cookies pop-up
60
- * message: text on cookie pop-up
61
- * agreeButtonText: text on agree button
62
76
 
63
- Structure of `_data/metaData.yml`:
64
- author: Site Author name
65
- avatar_url: URL for avatar (for about page)
66
77
 
78
+ Structure of `_data/metaData.yml`:
79
+ * author: Site Author name
80
+ * avatar_url: URL for avatar (for about page)
81
+ * lightTheme: Will work in future releases
82
+ * cookies: customize information about site cookies
83
+ * enabled: determine if should show cookies pop-up
84
+ * message: text on cookie pop-up
85
+ * agreeButtonText: text on agree button
86
+ * show_menu_logo_on_home_page: boolean value determining, if should display logo from "menu_logo" entry in default home page layout
67
87
  ## Contributing
68
88
 
69
- Bug reports and pull requests are welcome on [GitHub](https://github.com/ItsMeaga1n/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.
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.
70
90
 
71
91
  ## Development
72
92
 
@@ -80,4 +100,3 @@ To add a custom directory to your theme-gem, please edit the regexp in `minimal-
80
100
  ## License
81
101
 
82
102
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
83
-
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, witch are easily distinguishable
22
+ categories, which are easily distinguishable
23
23
  baseurl: "/minimal-categorized" # the subpath of your site, e.g. /blog
24
- url: "https://itsmeaga1n.github.io" # the base hostname & protocol for your site, e.g. http://example.com
25
- author: itsmeaga1n
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: itsmeaga1n
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: ItsMeaga1n/minimal-categorized
34
+ remote_theme: ItsPatrq/minimal-categorized
35
35
  # Exclude these files from production site
36
36
  exclude:
37
37
  - CHANGELOG.md
@@ -2,13 +2,13 @@
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
- <script src="https://kit.fontawesome.com/79c31398dc.js" crossorigin="anonymous"></script>
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 }}">
9
9
  <link rel="manifest" href="{{ '/assets/img/site.webmanifest' | relative_url }}">
10
10
  <link rel="mask-icon" href="{{ '/assets/img/safari-pinned-tab.svg'| relative_url }}" color="#5bbad5">
11
- <link rel="shortcut icon" href="{{' /assets/img/favicon.ico' | relative_url }}">
11
+ <link rel="shortcut icon" href="{{'/assets/img/favicon.ico' | relative_url }}">
12
12
  <meta name="msapplication-TileColor" content="#da532c">
13
13
  <meta name="msapplication-config" content="{{ '/assets/img/browserconfig.xml' | relative_url }}">
14
14
  <meta name="theme-color" content="#ffffff">
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;
@@ -1,10 +1,5 @@
1
- <script>
2
- window.addEventListener("load", () => {
3
- document.getElementsByClassName("copyrights")[0].innerHTML =
4
- `Copyrights &copy; ${new Date().getFullYear()} {{ site.data.metaData.author }}`;
5
- });
6
- </script>
7
1
  <footer>
8
2
  <p class="copyrights">
3
+ Copyrights &copy; {{ '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>
@@ -27,7 +27,7 @@
27
27
  <div class="menu-top">
28
28
  <div class="profile">
29
29
  <div class="avatar">
30
- <a href="{{ '/about.html' | relative_url }}" alt="avatar">
30
+ <a href="{{ '/about.html' | relative_url }}" >
31
31
  <img src="{{ site.data.menu.menu_logo | relative_url }}" alt="avatar" onerror="this.style.display='none'">
32
32
  </a>
33
33
  </div>
@@ -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">
@@ -41,7 +41,6 @@
41
41
  text-decoration: underline $primary;
42
42
  &:hover {
43
43
  color: $primary;
44
- font-weight: 500;
45
44
  }
46
45
  }
47
46
  }
Binary file
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <browserconfig>
3
+ <msapplication>
4
+ <tile>
5
+ <square150x150logo src="/assets/images/mstile-150x150.png"/>
6
+ <TileColor>#da532c</TileColor>
7
+ </tile>
8
+ </msapplication>
9
+ </browserconfig>
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg version="1" xmlns="http://www.w3.org/2000/svg" width="346.667" height="346.667" viewBox="0 0 260.000000 260.000000"><path d="M127.5 19.2c-1.1 1.1-7.4 6.5-14 12.1-20.2 17-24 20.2-24.5 20.7-.3.3-4.5 3.9-9.5 8-4.9 4.1-9.2 7.7-9.5 8-.3.3-6.1 5.3-13 11-6.9 5.8-12.7 10.7-13 11-.3.3-3.2 2.7-6.5 5.5-3.3 2.7-7.1 6-8.5 7.1-1.4 1.2-8.5 7.2-15.8 13.4C2.3 125.3 0 127.7.1 129.9c0 2.1 3.3 5.4 18.8 18.4 10.4 8.7 19.7 16.6 20.7 17.5 1.1.9 6 5.1 10.9 9.2 8 6.6 18.6 15.5 66.7 56.3l12.6 10.7 6.4-5.2c3.5-2.9 6.5-5.5 6.8-5.8.3-.3 2.1-1.8 4-3.4 1.9-1.5 5.8-4.8 8.5-7.1 9.1-7.8 21-17.9 26-22 2.6-2.2 8.2-6.9 12.4-10.5 4.2-3.6 9.9-8.4 12.6-10.7 2.8-2.3 6.1-5.1 7.5-6.3 1.4-1.2 4.5-3.8 6.9-5.8 2.4-2.1 10.8-9.1 18.5-15.7 7.8-6.6 15.6-13.2 17.4-14.7 6-5 5.7-5.4-22-28.9-61-51.5-101.9-86-103.9-87.5-1.1-.9-1.9-.7-3.4.8z"/></svg>
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "",
3
+ "short_name": "",
4
+ "icons": [
5
+ {
6
+ "src": "/assets/images/android-chrome-192x192.png",
7
+ "sizes": "192x192",
8
+ "type": "image/png"
9
+ },
10
+ {
11
+ "src": "/assets/images/android-chrome-256x256.png",
12
+ "sizes": "256x256",
13
+ "type": "image/png"
14
+ }
15
+ ],
16
+ "theme_color": "#ffffff",
17
+ "background_color": "#ffffff",
18
+ "display": "standalone"
19
+ }
@@ -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/ItsMeaga1n/minimal-categorized" target="_blank">GitHub</a>.
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/itsmeaga1n0929" target="_blank">
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.17
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: 2021-01-06 00:00:00.000000000 Z
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.0
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: 3.9.0
32
+ version: '5.0'
27
33
  description:
28
34
  email:
29
35
  - bieszke.patryk@gmail.com
@@ -69,14 +75,25 @@ files:
69
75
  - _sass/variables/_layout.scss
70
76
  - _sass/variables/_light-theme.scss
71
77
  - _sass/variables/_mixins.scss
78
+ - assets/img/android-chrome-192x192.png
79
+ - assets/img/android-chrome-256x256.png
80
+ - assets/img/apple-touch-icon.png
72
81
  - assets/img/avatar.png
82
+ - assets/img/browserconfig.xml
73
83
  - assets/img/category-1.jpg
74
84
  - assets/img/category-2.jpg
85
+ - assets/img/favicon-16x16.png
86
+ - assets/img/favicon-32x32.png
87
+ - assets/img/favicon.ico
75
88
  - assets/img/ko-fi.jpg
89
+ - assets/img/mstile-150x150.png
90
+ - assets/img/post-2.jpg
76
91
  - assets/img/project-1.png
77
92
  - assets/img/project-2.svg
78
93
  - assets/img/project-3.svg
79
94
  - assets/img/project-4.png
95
+ - assets/img/safari-pinned-tab.svg
96
+ - assets/img/site.webmanifest
80
97
  - assets/styles/highlight.css
81
98
  - assets/styles/styles.scss
82
99
  - pages/about.html
@@ -84,7 +101,7 @@ files:
84
101
  - pages/category-2.html
85
102
  - pages/gate.html
86
103
  - pages/super-cat.html
87
- homepage: https://github.com/ItsMeaga1n/minimal-categorized
104
+ homepage: https://github.com/ItsPatrq/minimal-categorized
88
105
  licenses:
89
106
  - MIT
90
107
  metadata: {}
@@ -103,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
120
  - !ruby/object:Gem::Version
104
121
  version: '0'
105
122
  requirements: []
106
- rubygems_version: 3.1.2
123
+ rubygems_version: 3.4.2
107
124
  signing_key:
108
125
  specification_version: 4
109
126
  summary: minimal-categorized is a Jekyll theme for GitHub Pages