owasp-td-jekyll 2.1.0 → 2.1.1
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/_config.yaml +6 -0
- data/_includes/sidebar.html +3 -3
- data/assets/css/style.css +5 -4
- 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: 0def527e76a9d45dc4d931a0efef88448102ccb4b0b1d5bb6a64aee7a0cecdb0
|
|
4
|
+
data.tar.gz: 0f835a9e22450f168d7435e61d74cfede14b0bb6bad645140467d17936274b9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00ae331a6af0d3743c8d629fbf281b5419043a4fac9508526b74bc597c8cf9e8dbd6040d1b534ccb505bf364e87c3d03747fcce92ef41733345864a4bee4bafb
|
|
7
|
+
data.tar.gz: 39efe46bcfbf366bdda72e7e5a63fade101f247303702adea45f063ca7bd5c2ada39df2b81b2a6097057b1f0ef6556526270c696bc8ae29de0fe4495aeaa12ee
|
data/README.md
CHANGED
|
@@ -240,6 +240,8 @@ That command rebuilds the Jekyll site and validates the generated HTML in `_site
|
|
|
240
240
|
|
|
241
241
|
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
|
242
242
|
|
|
243
|
+
The repo also includes a `Development Fixtures` sidebar category in `_config.yaml` plus example pages under `testing/` to exercise both a single-page group and a multi-page dropdown group during local verification.
|
|
244
|
+
|
|
243
245
|
When your theme is released, only the files in `_layouts`, `_includes`, and `assets` tracked with Git will be bundled.
|
|
244
246
|
To add a custom directory to your theme-gem, please edit the regexp in `owasp-td-jekyll.gemspec` accordingly.
|
|
245
247
|
|
data/_config.yaml
CHANGED
|
@@ -52,6 +52,12 @@ nav:
|
|
|
52
52
|
fa_class: fas fa-project-diagram
|
|
53
53
|
- name: Icons
|
|
54
54
|
fa_class: fas fa-icons
|
|
55
|
+
- name: Development Fixtures
|
|
56
|
+
groups:
|
|
57
|
+
- name: Single Page Group
|
|
58
|
+
fa_class: fas fa-link
|
|
59
|
+
- name: Multi Page Group
|
|
60
|
+
fa_class: fas fa-layer-group
|
|
55
61
|
|
|
56
62
|
logo_src: assets/images/threatdragon_logo_image.svg
|
|
57
63
|
homeLinks:
|
data/_includes/sidebar.html
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{%- if pages.size == 1 -%}
|
|
17
17
|
<li class="sidebar-nav-item">
|
|
18
18
|
<a href="{{ pages | map: 'url' | first | relative_url }}"
|
|
19
|
-
class="bg-dark list-group-item list-group-item-action {% if activeCount > 0 %} active{%- endif -%}"
|
|
19
|
+
class="bg-dark list-group-item list-group-item-action sidebar-group-link {% if activeCount > 0 %} active{%- endif -%}"
|
|
20
20
|
data-sidebar-item="true"
|
|
21
21
|
data-bs-toggle-tooltip="tooltip"
|
|
22
22
|
data-bs-placement="right"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
data-bs-target="#{{ submenuId }}"
|
|
37
37
|
aria-controls="{{ submenuId }}"
|
|
38
38
|
aria-expanded="{%- if activeCount > 0 -%}true{%- else -%}false{%- endif -%}"
|
|
39
|
-
class="bg-dark list-group-item list-group-item-action
|
|
39
|
+
class="bg-dark list-group-item list-group-item-action sidebar-group-link flex-column align-items-start w-100 {% if activeCount > 0 %} active{%- endif -%}"
|
|
40
40
|
data-sidebar-item="true"
|
|
41
41
|
data-sidebar-submenu="{{ submenuId }}"
|
|
42
42
|
data-bs-toggle-tooltip="tooltip"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
<div id="{{ submenuId }}" class="{%- if activeCount == 0 -%}collapse{%- endif %} sidebar-submenu">
|
|
54
54
|
{%- for navPage in pages -%}
|
|
55
55
|
<a href="{{ navPage.url | relative_url }}"
|
|
56
|
-
class="list-group-item list-group-item-action bg-dark text-white {% if page.url == navPage.url %} active{%- endif -%}">
|
|
56
|
+
class="list-group-item list-group-item-action bg-dark text-white sidebar-page-link {% if page.url == navPage.url %} active{%- endif -%}">
|
|
57
57
|
<span class="menu-collapsed sidebar-link-label">{{ navPage.title }}</span>
|
|
58
58
|
</a>
|
|
59
59
|
{%- endfor -%}
|
data/assets/css/style.css
CHANGED
|
@@ -493,6 +493,7 @@ a:hover {
|
|
|
493
493
|
border-style: solid;
|
|
494
494
|
border-color: rgba(51, 51, 51, 0.125);
|
|
495
495
|
background-color: #343a40 !important;
|
|
496
|
+
color: var(--td-white);
|
|
496
497
|
}
|
|
497
498
|
|
|
498
499
|
#sidebar-container .list-group-item.bg-dark:hover,
|
|
@@ -564,12 +565,12 @@ a:hover {
|
|
|
564
565
|
display: none;
|
|
565
566
|
}
|
|
566
567
|
|
|
567
|
-
#sidebar-container .
|
|
568
|
-
background-color: var(--td-orange) !important;
|
|
568
|
+
#sidebar-container .sidebar-group-link.active {
|
|
569
|
+
background-color: var(--td-dark-orange) !important;
|
|
569
570
|
}
|
|
570
571
|
|
|
571
|
-
#sidebar-container .
|
|
572
|
-
background-color: var(--td-
|
|
572
|
+
#sidebar-container .sidebar-page-link.active {
|
|
573
|
+
background-color: var(--td-orange) !important;
|
|
573
574
|
}
|
|
574
575
|
|
|
575
576
|
.breadcrumb {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: owasp-td-jekyll
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leo Reading
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|