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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a2b21b43f586bb1d428b0f70f9800ebaee2a28acd286be0bdda077233f521cb
4
- data.tar.gz: 66054e1dce6e9b848eae76b9452ff8d59dd4e4858d5cb9009332e8af35f1d813
3
+ metadata.gz: 0def527e76a9d45dc4d931a0efef88448102ccb4b0b1d5bb6a64aee7a0cecdb0
4
+ data.tar.gz: 0f835a9e22450f168d7435e61d74cfede14b0bb6bad645140467d17936274b9d
5
5
  SHA512:
6
- metadata.gz: 4d3976fb33f8f48019ba57745d43912280213922ab073fbb054595d62a8478b6998c1c05ee3d5ac0fdb5ac30f4a726fc48879d6c0de6b3ae5180bf2b694d6558
7
- data.tar.gz: 77ac1c8e7fdb76a536a4b48f242c8a2e46d91c106220463211c4e9b5ff4364c09047f62f559616c810c0fb07f7437d65d1637411d5f50e4049ff03587df76119
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:
@@ -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 grou-nav flex-column align-items-start w-100 {% if activeCount > 0 %} active{%- endif -%}"
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 .list-group-item.active {
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 .grou-nav.active {
572
- background-color: var(--td-dark-orange) !important;
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.0
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-09 00:00:00.000000000 Z
11
+ date: 2026-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll