From 49d004f2715a4f307af8c8b36c827f8a6e2b01e3 Mon Sep 17 00:00:00 2001
From: Eric Knibbe <enk3@outlook.com>
Date: Tue, 10 Jan 2023 14:23:21 -0500
Subject: [PATCH] Fixes minor spacing and comment nits (#1128)

This PR simply fixes a few spacing and comment nits I found.
---
 _config.yml                       | 2 +-
 _includes/components/sidebar.html | 8 ++++----
 _includes/icons/code_copy.html    | 2 +-
 _includes/nav.html                | 4 ++--
 _layouts/minimal.html             | 8 ++++----
 _sass/typography.scss             | 1 -
 6 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/_config.yml b/_config.yml
index 349a403b..03a6c567 100644
--- a/_config.yml
+++ b/_config.yml
@@ -76,7 +76,7 @@ search:
 # For copy button on code
 enable_copy_code_button: true
 
-# To disable support for mermaid diagrams (https://mermaid-js.github.io/mermaid/),
+# To disable support for mermaid diagrams (https://mermaid.js.org),
 # comment out the `mermaid` and `version` keys below
 # By default, consuming the theme as a gem leaves mermaid disabled; it is opt-in
 mermaid:
diff --git a/_includes/components/sidebar.html b/_includes/components/sidebar.html
index c9c1bb8f..7dd73053 100644
--- a/_includes/components/sidebar.html
+++ b/_includes/components/sidebar.html
@@ -7,10 +7,10 @@
   </div>
   <nav aria-label="Main" id="site-nav" class="site-nav">
     {% assign pages_top_size = site.html_pages
-        | where_exp:"item", "item.title != nil"
-        | where_exp:"item", "item.parent == nil"
-        | where_exp:"item", "item.nav_exclude != true"
-        | size %}
+          | where_exp:"item", "item.title != nil"
+          | where_exp:"item", "item.parent == nil"
+          | where_exp:"item", "item.nav_exclude != true"
+          | size %}
     {% if pages_top_size > 0 %}
       {% include nav.html pages=site.html_pages key=nil %}
     {% endif %}
diff --git a/_includes/icons/code_copy.html b/_includes/icons/code_copy.html
index 0538a232..fb6421ff 100644
--- a/_includes/icons/code_copy.html
+++ b/_includes/icons/code_copy.html
@@ -1,4 +1,4 @@
-<!-- Feather. MIT License: https://github.com/twbs/icons/blob/main/LICENSE.md -->
+<!-- Bootstrap Icons. MIT License: https://github.com/twbs/icons/blob/main/LICENSE.md -->
 <symbol id="svg-copy" viewBox="0 0 16 16">
   <title>Copy</title>
   <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16">
diff --git a/_includes/nav.html b/_includes/nav.html
index 8636e571..e80dfcda 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -58,7 +58,7 @@
 {%- endunless -%}
 
 {%- assign nav_order_pages = title_pages
-      | where_exp: "item", "item.nav_order != nil"  -%}
+      | where_exp: "item", "item.nav_order != nil" -%}
 {%- assign title_order_pages = title_pages
       | where_exp: "item", "item.nav_order == nil" -%}
 
@@ -174,7 +174,7 @@
           {%- if node.child_nav_order == 'desc' or node.child_nav_order == 'reversed' -%}
             {%- assign children_list = children_list | reverse -%}
           {%- endif -%}
-          <ul class="nav-list ">
+          <ul class="nav-list">
           {%- for child in children_list -%}
             {%- unless child.nav_exclude -%}
             <li class="nav-list-item {% if page.url == child.url or page.parent == child.title %} active{% endif %}">
diff --git a/_layouts/minimal.html b/_layouts/minimal.html
index 5cbac781..0fb95115 100644
--- a/_layouts/minimal.html
+++ b/_layouts/minimal.html
@@ -16,10 +16,10 @@ layout: table_wrappers
   {% endcomment %}
   {% capture nav %}
     {% assign pages_top_size = site.html_pages
-        | where_exp:"item", "item.title != nil"
-        | where_exp:"item", "item.parent == nil"
-        | where_exp:"item", "item.nav_exclude != true"
-        | size %}
+          | where_exp:"item", "item.title != nil"
+          | where_exp:"item", "item.parent == nil"
+          | where_exp:"item", "item.nav_exclude != true"
+          | size %}
     {% if pages_top_size > 0 %}
       {% include nav.html pages=site.html_pages key=nil %}
     {% endif %}
diff --git a/_sass/typography.scss b/_sass/typography.scss
index f31e1f6f..441dcae9 100644
--- a/_sass/typography.scss
+++ b/_sass/typography.scss
@@ -1,5 +1,4 @@
 // Typography
-
 // stylelint-disable selector-no-type, selector-max-type, selector-max-specificity, selector-max-id
 
 h1,
-- 
GitLab