` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. |
-| `logo` | _Not set_ | The relative path to the site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. |
-| `mainSections` | _Not set_ | The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used. |
-| `showViews` | _Not set_ | Whether or not articles and list views are displayed. This requires firebase integrations to be enabled, look below. |
-| `showLikes` | _Not set_ | Whether or not articles and list likes are displayed. This requires firebase integrations to be enabled, look below. |
-| `robots` | _Not set_ | String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values. |
-| `disableImageZoom` | `false` | Disables image zoom feature across all the images in the site. |
-| `disableImageOptimization` | `false` | Disables image resize and optimization features across all the images in the site. |
-| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
+| Name | Default | Description |
+| ------------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `colorScheme` | `"blowfish"` | The theme colour scheme to use. Valid values are `blowfish` (default), `avocado`, `ocean`, `fire` and `slate`. Refer to the [Colour Schemes]({{< ref "getting-started#colour-schemes" >}}) section for more details. |
+| `defaultAppearance` | `"light"` | The default theme appearance, either `light` or `dark`. |
+| `autoSwitchAppearance` | `true` | Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`. |
+| `enableSearch` | `false` | Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#site-configuration) being set correctly. |
+| `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. |
+| `logo` | _Not set_ | The relative path to the site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. |
+| `mainSections` | _Not set_ | The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used. |
+| `showViews` | _Not set_ | Whether or not articles and list views are displayed. This requires firebase integrations to be enabled, look below. |
+| `showLikes` | _Not set_ | Whether or not articles and list likes are displayed. This requires firebase integrations to be enabled, look below. |
+| `robots` | _Not set_ | String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values. |
+| `disableImageZoom` | `false` | Disables image zoom feature across all the images in the site. |
+| `disableImageOptimization` | `false` | Disables image resize and optimization features across all the images in the site. |
+| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
+| `defaultBackgroundImage` | _Not set_ | Marks menu entries in the main manu when selected |
+| `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. |
+| `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. |
### Header
diff --git a/exampleSite/content/docs/cover.jpg b/exampleSite/content/docs/cover.jpg
deleted file mode 100644
index 6352a781..00000000
Binary files a/exampleSite/content/docs/cover.jpg and /dev/null differ
diff --git a/exampleSite/content/docs/getting-started/index.md b/exampleSite/content/docs/getting-started/index.md
index 401ae1b5..c7835c98 100644
--- a/exampleSite/content/docs/getting-started/index.md
+++ b/exampleSite/content/docs/getting-started/index.md
@@ -189,12 +189,63 @@ The `name` parameter specifies the text that is used in the menu link. You can a
The `pageRef` parameter allows you to easily reference Hugo content pages and taxonomies. It is the quickest way to configure the menu as you can simply refer to any Hugo content item and it will automatically build the correct link. To link to external URLs, the `url` parameter can be used.
-The `pre` parameter allows you to place an icon from [Blowfish's icon set](http://localhost:1313/samples/icons/) on the menu entry. This parameter can be used with `name` parameter or by itself. If you want to use multiple menu entries with just icons please set the `identifier`parameter otherwise Hugo will default to the naming tag as the id and probably not display all the menu entries.
+The `pre` parameter allows you to place an icon from [Blowfish's icon set]({{< ref "samples/icons" >}}) on the menu entry. This parameter can be used with `name` parameter or by itself. If you want to use multiple menu entries with just icons please set the `identifier`parameter otherwise Hugo will default to the naming tag as the id and probably not display all the menu entries.
Menu links will be sorted from lowest to highest `weight`, and then alphabetically by `name`.
Both menus are completely optional and can be commented out if not required. Use the template provided in the file as a guide.
+### Nested menus
+
+The theme also supports nested menus. In order to use them you just need to define a parent entry in `menu.toml` and its sub-menus using the `parent` parameter to reference the parent. All properties can be used for sub-menus. Note that `pageRef` and `url` will be ignored for the parent entry. Nested menus is only available in the main menu not for the footer.
+
+```toml
+# config/_default/menus.toml
+
+[[main]]
+ name = "Parent"
+ weight = 20
+
+[[main]]
+ name = "sub-menu 1"
+ parent = "Parent"
+ pageRef = "samples"
+ weight = 20
+
+[[main]]
+ name = "sub-menu 2"
+ parent = "Parent"
+ pageRef = "samples"
+ weight = 20
+
+[[main]]
+ name = "sub-menu 3"
+ parent = "Parent"
+ pre = "github"
+ pageRef = "samples"
+ weight = 20
+```
+
+### Sub-Navigation menu
+
+Additionally, you can also configure a sub-navigation menu. Just define new menu entries as `subnavigation` in `menu.toml`. This will render a second line with caregories below the main header menu.
+
+```toml
+# config/_default/menus.toml
+
+[[subnavigation]]
+ name = "An interesting topic"
+ pageRef = "tags/interesting-topic"
+ weight = 10
+
+[[subnavigation]]
+ name = "My Awesome Category"
+ pageRef = "categories/awesome"
+ weight = 20
+```
+
+
+
## Thumbnails & Backgrounds
Blowfish was built so it would be easy to add visual support to your articles. If your familiar with Hugo article strucutre, you just need to place an image file (almost all formats are supported bue we recommend `.png` or `.jpg`) that starts with `feature*` inside your article folder. And that's it, Blowfish will then able to both use the image as a thumbnail within your website as well as for oEmbed cards across social platforms.
@@ -205,4 +256,4 @@ Additionally, Blowfish also supports background hero images in articles and list
## Detailed configuration
-The steps above are the bare minimum configuration. If you now run `hugo server` you will be presented with a blank Blowfish website. Detailed configuration is covered in the [Configuration]({{< ref "configuration" >}}) section.
+The steps above are the bare minimum configuration. If you now run `hugo server` you will be presented with a blank Blowfish website. Detailed configuration is covered in the [Configuration]({{< ref "configuration" >}}) section.
\ No newline at end of file
diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md
index f49ab44e..511e77dc 100644
--- a/exampleSite/content/docs/shortcodes/index.md
+++ b/exampleSite/content/docs/shortcodes/index.md
@@ -365,3 +365,27 @@ consectetur adipiscing elit.
"I'm gonna make him an offer he can't refuse." The Godfather (1972)
"Toto, I've a feeling we're not in Kansas anymore." The Wizard of Oz (1939)
{{< /typeit >}}
+
+
+## GitHub Card
+
+[TypeIt](https://www.typeitjs.com) is the most versatile JavaScript tool for creating typewriter effects on the planet. With a straightforward configuration, it allows you to type single or multiple strings that break lines, delete & replace each other, and it even handles strings that contain complex HTML.
+
+Blowfish implements a sub-set of TypeIt features using a `shortcode`. Write your text within the `typeit` shortcode and use the following parameters to configure the behavior you want.
+
+
+| Parameter | Description |
+| --------- | ------------------------ |
+| `repor` | [String] github repo in the format of `username/repo` |
+
+
+
+
+
+**Example 1:**
+
+```md
+{{* github repo="nunocoracao/blowfish" */>}}
+```
+
+{{< github repo="nunocoracao/blowfish" >}}
\ No newline at end of file
diff --git a/exampleSite/content/guides/_index.md b/exampleSite/content/guides/_index.md
new file mode 100755
index 00000000..b34ef3ee
--- /dev/null
+++ b/exampleSite/content/guides/_index.md
@@ -0,0 +1,19 @@
+---
+title: "Recipes"
+description: "Recipes, guides, and tutorials for Blowfish"
+
+cascade:
+ showDate: false
+ showAuthor: false
+ invertPagination: true
+---
+
+{{< lead >}}
+Recipes, guides, and tutorials for Blowfish
+{{< /lead >}}
+
+**Blowfish user?** To add your guide to this list, [check the template](/guides/template/).
+
+This section contains guides for a variety of scnearios on how to configure your theme. If you're new, check out the [Installation]({{< ref "docs/installation" >}}) guide to begin or visit the [Samples]({{< ref "samples" >}}) section to see what Blowfish can do.
+
+---
diff --git a/exampleSite/content/guides/template/cover.png b/exampleSite/content/guides/template/cover.png
new file mode 100644
index 00000000..6f6659ae
Binary files /dev/null and b/exampleSite/content/guides/template/cover.png differ
diff --git a/exampleSite/content/guides/template/img/example.jpg b/exampleSite/content/guides/template/img/example.jpg
new file mode 100644
index 00000000..df153b3f
Binary files /dev/null and b/exampleSite/content/guides/template/img/example.jpg differ
diff --git a/exampleSite/content/guides/template/index.md b/exampleSite/content/guides/template/index.md
new file mode 100644
index 00000000..262ad18a
--- /dev/null
+++ b/exampleSite/content/guides/template/index.md
@@ -0,0 +1,36 @@
+---
+title: "Recipe Template"
+date: 1987-12-22
+draft: false
+description: "Template for creating a recipe for Blowfish theme"
+tags: ["template"]
+---
+
+Thank you for wanting to contribute to Blowfish's community.
+
+## How to start?
+This is a template article that will explain how to create a new article for Blowfish's guide section.
+
+## Clone Blowfish
+Clone this repo with the following command:
+
+```bash
+git clone https://github.com/nunocoracao/blowfish.git
+```
+
+## Setup your files
+Copy and paste the entire folder where this `.md` file is.
+
+Name it using the following convention `YYYYMM-title`, no white spaces are allowed.
+
+## Write your guide
+Write your guide :)
+
+Use the `img` folder to place your images and use them:
+
+![]()
+
+
+
+## Open a PR
+Open a PR and thanks in advance for your contribution.
\ No newline at end of file
diff --git a/exampleSite/content/samples/_index.md b/exampleSite/content/samples/_index.md
index 0db438bf..0378f4b1 100755
--- a/exampleSite/content/samples/_index.md
+++ b/exampleSite/content/samples/_index.md
@@ -1,5 +1,5 @@
---
-title: "Content Samples"
+title: "Samples"
description: "See what's possible with Blowfish."
cascade:
diff --git a/exampleSite/content/samples/cover.jpg b/exampleSite/content/samples/cover.jpg
deleted file mode 100644
index 6352a781..00000000
Binary files a/exampleSite/content/samples/cover.jpg and /dev/null differ
diff --git a/exampleSite/content/samples/icons/index.md b/exampleSite/content/samples/icons/index.md
index 09147f37..6ca29761 100644
--- a/exampleSite/content/samples/icons/index.md
+++ b/exampleSite/content/samples/icons/index.md
@@ -40,6 +40,7 @@ The full list of built-in icons and their corresponding names can referenced bel
| facebook | {{< icon facebook >}} |
| fire | {{< icon fire >}} |
| flickr | {{< icon flickr >}} |
+| fork | {{< icon fork >}} |
| foursquare | {{< icon foursquare >}} |
| ghost | {{< icon ghost >}} |
| github | {{< icon github >}} |
@@ -87,6 +88,7 @@ The full list of built-in icons and their corresponding names can referenced bel
| snapchat | {{< icon snapchat >}} |
| soundcloud | {{< icon soundcloud >}} |
| stack-overflow | {{< icon stack-overflow >}} |
+| star | {{< icon star >}} |
| steam | {{< icon steam >}} |
| stripe | {{< icon stripe >}} |
| sun | {{< icon sun >}} |
diff --git a/exampleSite/content/users/cover.jpg b/exampleSite/content/users/cover.jpg
deleted file mode 100644
index 6352a781..00000000
Binary files a/exampleSite/content/users/cover.jpg and /dev/null differ
diff --git a/exampleSite/content/users/index.md b/exampleSite/content/users/index.md
index d00e4c97..8ba0c8c5 100644
--- a/exampleSite/content/users/index.md
+++ b/exampleSite/content/users/index.md
@@ -60,6 +60,7 @@ Real websites that are built with Blowfish.
| [dizzytech.de](https://dizzytech.de) | Personal site |
| [blog.rotrixx.eu](https://blog.rotrixx.eu) | Personal site |
| [hexwiki.cz](https://hexwiki.cz/) | Personal site |
+| [alejandro-ao.com](https://alejandro-ao.com/) | Personal site |
diff --git a/exampleSite/resources/_gen/images/docs/advanced-customisation/featured_huc648350f543f5a6da75f60f86e4aecc9_625096_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/advanced-customisation/featured_huc648350f543f5a6da75f60f86e4aecc9_625096_600x0_resize_box_3.png
new file mode 100644
index 00000000..17f71051
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/advanced-customisation/featured_huc648350f543f5a6da75f60f86e4aecc9_625096_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/configuration/featured_hu61945c9a50a7e783444cb54fb71dc68a_650977_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/configuration/featured_hu61945c9a50a7e783444cb54fb71dc68a_650977_600x0_resize_box_3.png
new file mode 100644
index 00000000..becaf18b
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/configuration/featured_hu61945c9a50a7e783444cb54fb71dc68a_650977_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/content-examples/featured_hua9cafb9ef9e179b71d05f85e3ab9080d_648770_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/content-examples/featured_hua9cafb9ef9e179b71d05f85e3ab9080d_648770_600x0_resize_box_3.png
new file mode 100644
index 00000000..44de25f4
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/content-examples/featured_hua9cafb9ef9e179b71d05f85e3ab9080d_648770_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/firebase-views/featured_hu893b4009285a3fc236e74f3cf6b73d3e_4462659_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/firebase-views/featured_hu893b4009285a3fc236e74f3cf6b73d3e_4462659_600x0_resize_box_3.png
new file mode 100644
index 00000000..54d6a60f
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/firebase-views/featured_hu893b4009285a3fc236e74f3cf6b73d3e_4462659_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/front-matter/featured_hu2d8098f125aeb5b866c985ce18317fa7_5037509_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/front-matter/featured_hu2d8098f125aeb5b866c985ce18317fa7_5037509_600x0_resize_box_3.png
new file mode 100644
index 00000000..65004ecb
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/front-matter/featured_hu2d8098f125aeb5b866c985ce18317fa7_5037509_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/getting-started/featured_hu7b932db01f62f5127910b65e3cd14f9d_599809_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/getting-started/featured_hu7b932db01f62f5127910b65e3cd14f9d_599809_600x0_resize_box_3.png
new file mode 100644
index 00000000..3d30158c
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/getting-started/featured_hu7b932db01f62f5127910b65e3cd14f9d_599809_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/homepage-layout/featured_hu2b64bd3fbe5e1f5f3d9d27abc9d45f1e_648252_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/homepage-layout/featured_hu2b64bd3fbe5e1f5f3d9d27abc9d45f1e_648252_600x0_resize_box_3.png
new file mode 100644
index 00000000..989df218
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/homepage-layout/featured_hu2b64bd3fbe5e1f5f3d9d27abc9d45f1e_648252_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/hosting-deployment/featured_hu64bf821b067f4f95fc394dc0a744aa3f_4868715_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/hosting-deployment/featured_hu64bf821b067f4f95fc394dc0a744aa3f_4868715_600x0_resize_box_3.png
new file mode 100644
index 00000000..7a4067f6
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/hosting-deployment/featured_hu64bf821b067f4f95fc394dc0a744aa3f_4868715_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/installation/featured_hua34c938079c0c05729a2a4d4783f7807_634706_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/installation/featured_hua34c938079c0c05729a2a4d4783f7807_634706_600x0_resize_box_3.png
new file mode 100644
index 00000000..4bf413b9
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/installation/featured_hua34c938079c0c05729a2a4d4783f7807_634706_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/multi-author/featured_hub711b3bcf9ec72021fe99f7bb1f650e4_637127_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/multi-author/featured_hub711b3bcf9ec72021fe99f7bb1f650e4_637127_600x0_resize_box_3.png
new file mode 100644
index 00000000..33ca0cf9
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/multi-author/featured_hub711b3bcf9ec72021fe99f7bb1f650e4_637127_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/partials/featured_hue41d16dad4a5698d84d57019e7c71ba2_674943_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/partials/featured_hue41d16dad4a5698d84d57019e7c71ba2_674943_600x0_resize_box_3.png
new file mode 100644
index 00000000..786da147
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/partials/featured_hue41d16dad4a5698d84d57019e7c71ba2_674943_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/series/featured_hufd4b98ca40f354dfe40e970226ab02f1_1752805_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/series/featured_hufd4b98ca40f354dfe40e970226ab02f1_1752805_600x0_resize_box_3.png
new file mode 100644
index 00000000..57245b0c
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/series/featured_hufd4b98ca40f354dfe40e970226ab02f1_1752805_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/shortcodes/featured_huccf4470440ae6b15644c014dfa031fdc_4868633_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/shortcodes/featured_huccf4470440ae6b15644c014dfa031fdc_4868633_600x0_resize_box_3.png
new file mode 100644
index 00000000..87087bca
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/shortcodes/featured_huccf4470440ae6b15644c014dfa031fdc_4868633_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/thumbnails/featured_hu93f196360c2371d7e9554814ee21804a_5014315_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/thumbnails/featured_hu93f196360c2371d7e9554814ee21804a_5014315_600x0_resize_box_3.png
new file mode 100644
index 00000000..5edbc380
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/thumbnails/featured_hu93f196360c2371d7e9554814ee21804a_5014315_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/docs/welcome/featured_hu6c1a40751b0ecb38722eba3ab5726016_6942334_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/welcome/featured_hu6c1a40751b0ecb38722eba3ab5726016_6942334_600x0_resize_box_3.png
new file mode 100644
index 00000000..e06e38e0
Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/welcome/featured_hu6c1a40751b0ecb38722eba3ab5726016_6942334_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/examples/blowfish-artist/feature_hu1cdf8b02fc0b671e3f7e2360a08cfa4e_1096919_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-artist/feature_hu1cdf8b02fc0b671e3f7e2360a08cfa4e_1096919_600x0_resize_box_3.png
new file mode 100644
index 00000000..01d8889a
Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-artist/feature_hu1cdf8b02fc0b671e3f7e2360a08cfa4e_1096919_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/examples/blowfish-lite/feature_huea2010905fc2363ca391de86e4a7c51c_109478_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-lite/feature_huea2010905fc2363ca391de86e4a7c51c_109478_600x0_resize_box_3.png
new file mode 100644
index 00000000..7947bda3
Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-lite/feature_huea2010905fc2363ca391de86e4a7c51c_109478_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/examples/blowfish-lowkey/feature_hu14ac5609178de8411be379f0f3102a14_720107_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-lowkey/feature_hu14ac5609178de8411be379f0f3102a14_720107_600x0_resize_box_3.png
new file mode 100644
index 00000000..947e32ba
Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-lowkey/feature_hu14ac5609178de8411be379f0f3102a14_720107_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template-repo/feature_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/feature_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png
new file mode 100644
index 00000000..54de70a8
Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/feature_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template/feature_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template/feature_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png
new file mode 100644
index 00000000..54de70a8
Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template/feature_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/examples/repo-blowfish-artist/feature_hu1cdf8b02fc0b671e3f7e2360a08cfa4e_1096919_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/repo-blowfish-artist/feature_hu1cdf8b02fc0b671e3f7e2360a08cfa4e_1096919_600x0_resize_box_3.png
new file mode 100644
index 00000000..01d8889a
Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/repo-blowfish-artist/feature_hu1cdf8b02fc0b671e3f7e2360a08cfa4e_1096919_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/examples/repo-blowfish-lite/feature_huea2010905fc2363ca391de86e4a7c51c_109478_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/repo-blowfish-lite/feature_huea2010905fc2363ca391de86e4a7c51c_109478_600x0_resize_box_3.png
new file mode 100644
index 00000000..7947bda3
Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/repo-blowfish-lite/feature_huea2010905fc2363ca391de86e4a7c51c_109478_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/examples/repo-blowfish-lowkey/feature_hu14ac5609178de8411be379f0f3102a14_720107_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/repo-blowfish-lowkey/feature_hu14ac5609178de8411be379f0f3102a14_720107_600x0_resize_box_3.png
new file mode 100644
index 00000000..947e32ba
Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/repo-blowfish-lowkey/feature_hu14ac5609178de8411be379f0f3102a14_720107_600x0_resize_box_3.png differ
diff --git a/exampleSite/resources/_gen/images/users/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_600x0_resize_q75_box.jpg b/exampleSite/resources/_gen/images/users/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_600x0_resize_q75_box.jpg
new file mode 100644
index 00000000..6e0a8786
Binary files /dev/null and b/exampleSite/resources/_gen/images/users/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_600x0_resize_q75_box.jpg differ
diff --git a/layouts/partials/article-link/card.html b/layouts/partials/article-link/card.html
index 5e732749..cbe02471 100644
--- a/layouts/partials/article-link/card.html
+++ b/layouts/partials/article-link/card.html
@@ -19,7 +19,7 @@
{{ end }}
{{ else }}
- {{ with .Fill "600x600" }}
+ {{ with .Resize "600x" }}
{{ end }}
{{ end }}
diff --git a/layouts/partials/article-link/simple.html b/layouts/partials/article-link/simple.html
index b44aaf77..6ed058db 100644
--- a/layouts/partials/article-link/simple.html
+++ b/layouts/partials/article-link/simple.html
@@ -46,7 +46,7 @@
{{ end }}
{{ else }}
- {{ with .Fill "600x400" }}
+ {{ with .Resize "600x" }}
{{ end }}
{{ end }}
diff --git a/layouts/partials/article-meta/basic.html b/layouts/partials/article-meta/basic.html
index 3d75b98a..456220f2 100644
--- a/layouts/partials/article-meta/basic.html
+++ b/layouts/partials/article-meta/basic.html
@@ -65,7 +65,7 @@
{{ if (eq $taxonomy "authors")}}
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
{{ range $i, $a := $context.GetTerms $taxonomy }}
- {{ if not (eq $i 0) }} , {{ end }} {{ $a.LinkTitle }}
+ {{ if not (eq $i 0) }} , {{ end }} {{ $a.LinkTitle }}
{{ end }}
{{ end }}
{{ end }}
@@ -80,7 +80,7 @@
{{ if and (not (eq $taxonomy "authors")) (not (eq $taxonomy "series"))}}
{{ if (gt (len ($context.GetTerms $taxonomy)) 0) }}
{{ range $context.GetTerms $taxonomy }}
-
+
{{ partial "badge.html" .LinkTitle }}
{{ end }}
diff --git a/layouts/partials/author-extra.html b/layouts/partials/author-extra.html
index 05195738..ccab16a7 100644
--- a/layouts/partials/author-extra.html
+++ b/layouts/partials/author-extra.html
@@ -13,7 +13,7 @@
{{ i18n "author.byline_title" | markdownify | emojify }}
-
+
{{ . }}
{{ end }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 31db44bf..327b2d59 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -49,9 +49,6 @@
"sha512" }}
- {{ $jsMain := resources.Get "js/main.js" }}
- {{ $jsMain = $jsMain | resources.Minify | resources.Fingerprint "sha512" }}
-
{{ $jsAppearance := resources.Get "js/appearance.js" }}
{{ $jsAppearance = $jsAppearance | resources.Minify | resources.Fingerprint "sha512" }}
+{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/header/header-mobile-option-nested.html b/layouts/partials/header/header-mobile-option-nested.html
new file mode 100644
index 00000000..9f21bb5d
--- /dev/null
+++ b/layouts/partials/header/header-mobile-option-nested.html
@@ -0,0 +1,31 @@
+
+
+ {{ if .Pre }}
+
+ {{ partial "icon.html" .Pre }}
+
+ {{ end }}
+
+ {{ .Name | markdownify | emojify }}
+
+
+ {{ partial "icon.html" "chevron-down" }}
+
+
+
+{{ range .Children }}
+
+
+ {{ if .Pre }}
+
+ {{ partial "icon.html" .Pre }}
+
+ {{ end }}
+
+ {{ .Name | markdownify | emojify }}
+
+
+
+{{ end }}
+
\ No newline at end of file
diff --git a/layouts/partials/header/header-mobile-option-simple.html b/layouts/partials/header/header-mobile-option-simple.html
new file mode 100644
index 00000000..acc4cdf1
--- /dev/null
+++ b/layouts/partials/header/header-mobile-option-simple.html
@@ -0,0 +1,13 @@
+
+
+ {{ if .Pre }}
+
+ {{ partial "icon.html" .Pre }}
+
+ {{ end }}
+
+ {{ .Name | markdownify | emojify }}
+
+
+
\ No newline at end of file
diff --git a/layouts/partials/header/header-mobile-option.html b/layouts/partials/header/header-mobile-option.html
new file mode 100644
index 00000000..17031197
--- /dev/null
+++ b/layouts/partials/header/header-mobile-option.html
@@ -0,0 +1,5 @@
+{{ if .HasChildren }}
+ {{ partial "header/header-mobile-option-nested.html" . }}
+{{ else }}
+ {{ partial "header/header-mobile-option-simple.html" . }}
+{{ end }}
diff --git a/layouts/partials/header/header-option-nested.html b/layouts/partials/header/header-option-nested.html
new file mode 100644
index 00000000..1cc761b4
--- /dev/null
+++ b/layouts/partials/header/header-option-nested.html
@@ -0,0 +1,34 @@
+
+
\ No newline at end of file
diff --git a/layouts/partials/header/header-option-simple.html b/layouts/partials/header/header-option-simple.html
new file mode 100644
index 00000000..d4174601
--- /dev/null
+++ b/layouts/partials/header/header-option-simple.html
@@ -0,0 +1,11 @@
+
+ {{ if .Pre }}
+
+
+
+ {{ partial "icon.html" .Pre }}
+
+ {{ end }}
+
+ {{ .Name | markdownify | emojify }}
+
+
\ No newline at end of file
diff --git a/layouts/partials/header/header-option.html b/layouts/partials/header/header-option.html
new file mode 100644
index 00000000..2a27da7d
--- /dev/null
+++ b/layouts/partials/header/header-option.html
@@ -0,0 +1,5 @@
+{{ if .HasChildren }}
+ {{ partial "header/header-option-nested.html" . }}
+{{ else }}
+ {{ partial "header/header-option-simple.html" . }}
+{{ end }}
diff --git a/layouts/partials/hero/background.html b/layouts/partials/hero/background.html
index 8a10ef43..ec3a9db9 100644
--- a/layouts/partials/hero/background.html
+++ b/layouts/partials/hero/background.html
@@ -33,7 +33,7 @@
+ class="absolute inset-0 opacity-60 bg-gradient-to-t from-neutral dark:from-neutral-800 to-neutral-100 dark:to-neutral-800 mix-blend-normal">
{{ if $shouldBlur | default false }}
diff --git a/layouts/partials/home/background.html b/layouts/partials/home/background.html
index 9bee6d8a..868880d5 100644
--- a/layouts/partials/home/background.html
+++ b/layouts/partials/home/background.html
@@ -13,7 +13,7 @@
class="absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-transparent mix-blend-normal">
+ class="opacity-60 absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-neutral-100 dark:to-neutral-800 mix-blend-normal">
{{ end }}
diff --git a/layouts/partials/term-link/card.html b/layouts/partials/term-link/card.html
index 9b9edee9..6bc7e9f1 100644
--- a/layouts/partials/term-link/card.html
+++ b/layouts/partials/term-link/card.html
@@ -17,7 +17,7 @@
{{ end }}
{{ else }}
- {{ with .Fill "600x600" }}
+ {{ with .Resize "600x" }}
{{ end }}
{{ end }}
diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html
index a41b3d20..87958096 100644
--- a/layouts/partials/toc.html
+++ b/layouts/partials/toc.html
@@ -1,24 +1,65 @@
+ class="py-1 text-lg font-semibold cursor-pointer bg-neutral-100 text-neutral-800 ltr:-ml-5 ltr:pl-5 rtl:-mr-5 rtl:pr-5 dark:bg-neutral-700 dark:text-neutral-100 lg:hidden">
{{ i18n "article.table_of_contents" }}
+ class="py-2 border-dotted border-neutral-300 ltr:-ml-5 ltr:border-l ltr:pl-5 rtl:-mr-5 rtl:border-r rtl:pr-5 dark:border-neutral-600">
{{ .TableOfContents | emojify }}
+
+{{ if .Site.Params.smartTOC }}
+
+{{ end }}
\ No newline at end of file
diff --git a/layouts/partials/vendor.html b/layouts/partials/vendor.html
index 1bed98ae..1eb90134 100644
--- a/layouts/partials/vendor.html
+++ b/layouts/partials/vendor.html
@@ -1,3 +1,7 @@
+{{/* jQuery */}}
+{{ $jqueryLib := resources.Get "lib/jquery/jquery.slim.min.js" }}
+
+
{{/* Mermaid */}}
{{ if .Page.HasShortcode "mermaid" }}
{{ $mermaidLib := resources.Get "lib/mermaid/mermaid.min.js" }}
@@ -40,6 +44,5 @@
{{/* TypeIt */}}
{{ if .Page.HasShortcode "typeit" }}
{{ $typeitLib := resources.Get "lib/typeit/typeit.umd.js" }}
-
+
{{ end }}
\ No newline at end of file
diff --git a/layouts/shortcodes/github.html b/layouts/shortcodes/github.html
new file mode 100644
index 00000000..5c7e21b0
--- /dev/null
+++ b/layouts/shortcodes/github.html
@@ -0,0 +1,46 @@
+{{- $githubData := getJSON (print "https://api.github.com/repos/" (.Get "repo")) -}}
+{{- $githubColors := .Site.Data.githubColors -}}
+{{- with $githubData -}}
+
+
+
+
+
+
+ {{ partial "icon.html" "github" }}
+
+
+ {{ .full_name | markdownify | emojify }}
+
+
+
+
+ {{ .description | markdownify | emojify }}
+
+
+
+
+
+
+ {{ .language }}
+
+
+
+ {{ partial "icon.html" "star" }}
+
+
+ {{ .stargazers_count }}
+
+
+
+ {{ partial "icon.html" "fork" }}
+
+
+ {{ .forks }}
+
+
+
+
+
+
+{{- end -}}
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index a2a0180e..99c8e92d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,30 +1,31 @@
{
"name": "hugo-blowfish-theme",
- "version": "2.23.1",
+ "version": "2.24.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "hugo-blowfish-theme",
- "version": "2.23.1",
+ "version": "2.24.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.13",
"@tailwindcss/forms": "^0.5.3",
- "commander": "^9.4.1"
+ "commander": "^9.5.0"
},
"devDependencies": {
- "@tailwindcss/typography": "^0.5.8",
+ "@tailwindcss/typography": "^0.5.9",
"chart.js": "^4.1.2",
"fuse.js": "^6.6.2",
+ "jquery": "^3.6.3",
"katex": "^0.16.4",
"mermaid": "^9.3.0",
- "prettier": "^2.8.1",
+ "prettier": "^2.8.2",
"prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.2.1",
- "rimraf": "^3.0.2",
+ "rimraf": "^4.0.4",
"tailwindcss": "^3.2.4",
"typeit": "^8.7.1",
"vendor-copy": "^3.0.1"
@@ -109,9 +110,9 @@
}
},
"node_modules/@tailwindcss/typography": {
- "version": "0.5.8",
- "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.8.tgz",
- "integrity": "sha512-xGQEp8KXN8Sd8m6R4xYmwxghmswrd0cPnNI2Lc6fmrC3OojysTBJJGSIVwPV56q4t6THFUK3HJ0EaWwpglSxWw==",
+ "version": "0.5.9",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.9.tgz",
+ "integrity": "sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==",
"dev": true,
"dependencies": {
"lodash.castarray": "^4.4.0",
@@ -169,12 +170,6 @@
"resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
"integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="
},
- "node_modules/balanced-match": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true
- },
"node_modules/binary-extensions": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
@@ -183,16 +178,6 @@
"node": ">=8"
}
},
- "node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
"node_modules/braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
@@ -272,19 +257,13 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/commander": {
- "version": "9.4.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-9.4.1.tgz",
- "integrity": "sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw==",
+ "version": "9.5.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz",
+ "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==",
"engines": {
"node": "^12.20.0 || >=14"
}
},
- "node_modules/concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true
- },
"node_modules/cssesc": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
@@ -807,12 +786,6 @@
"node": ">=8"
}
},
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
- },
"node_modules/fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
@@ -840,26 +813,6 @@
"node": ">=10"
}
},
- "node_modules/glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dev": true,
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
"node_modules/glob-parent": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
@@ -894,22 +847,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/inflight": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "dev": true,
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
- },
"node_modules/internmap": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",
@@ -968,6 +905,12 @@
"node": ">=0.12.0"
}
},
+ "node_modules/jquery": {
+ "version": "3.6.3",
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.3.tgz",
+ "integrity": "sha512-bZ5Sy3YzKo9Fyc8wH2iIQK4JImJ6R0GWI9kL1/k7Z91ZBNgkRXE6U0JfHIizZbort8ZunhSI3jw9I6253ahKfg==",
+ "dev": true
+ },
"node_modules/js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
@@ -1095,18 +1038,6 @@
"mini-svg-data-uri": "cli.js"
}
},
- "node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
"node_modules/minimist": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
@@ -1160,24 +1091,6 @@
"node": ">= 6"
}
},
- "node_modules/once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "dev": true,
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/path-parse": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
@@ -1328,9 +1241,9 @@
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="
},
"node_modules/prettier": {
- "version": "2.8.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.1.tgz",
- "integrity": "sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==",
+ "version": "2.8.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.2.tgz",
+ "integrity": "sha512-BtRV9BcncDyI2tsuS19zzhzoxD8Dh8LiCx7j7tHzrkz8GFXAexeWFdi22mjE1d16dftH2qNaytVxqiRTGlMfpw==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
@@ -1469,15 +1382,15 @@
}
},
"node_modules/rimraf": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
- "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.0.4.tgz",
+ "integrity": "sha512-R0hoVr9xTwemarQjoWlNt/nb5dEGVTBhVdkRmEX2zEkT8T6onH0XKiGjuaC7rNNj/gYzY2p4NVRJ3sjO1ascHQ==",
"dev": true,
- "dependencies": {
- "glob": "^7.1.3"
- },
"bin": {
- "rimraf": "bin.js"
+ "rimraf": "dist/cjs/src/bin.js"
+ },
+ "engines": {
+ "node": ">=14"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
@@ -1653,12 +1566,6 @@
"node": ">=12"
}
},
- "node_modules/wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
- "dev": true
- },
"node_modules/xtend": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
@@ -1735,9 +1642,9 @@
}
},
"@tailwindcss/typography": {
- "version": "0.5.8",
- "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.8.tgz",
- "integrity": "sha512-xGQEp8KXN8Sd8m6R4xYmwxghmswrd0cPnNI2Lc6fmrC3OojysTBJJGSIVwPV56q4t6THFUK3HJ0EaWwpglSxWw==",
+ "version": "0.5.9",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.9.tgz",
+ "integrity": "sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==",
"dev": true,
"requires": {
"lodash.castarray": "^4.4.0",
@@ -1780,27 +1687,11 @@
"resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
"integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="
},
- "balanced-match": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true
- },
"binary-extensions": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="
},
- "brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
- "requires": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
"braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
@@ -1859,15 +1750,9 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"commander": {
- "version": "9.4.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-9.4.1.tgz",
- "integrity": "sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw=="
- },
- "concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true
+ "version": "9.5.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz",
+ "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ=="
},
"cssesc": {
"version": "3.0.0",
@@ -2264,12 +2149,6 @@
"to-regex-range": "^5.0.1"
}
},
- "fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
- },
"fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
@@ -2287,20 +2166,6 @@
"integrity": "sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==",
"dev": true
},
- "glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dev": true,
- "requires": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- }
- },
"glob-parent": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
@@ -2326,22 +2191,6 @@
"safer-buffer": ">= 2.1.2 < 3.0.0"
}
},
- "inflight": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "dev": true,
- "requires": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
- },
"internmap": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",
@@ -2382,6 +2231,12 @@
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
},
+ "jquery": {
+ "version": "3.6.3",
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.3.tgz",
+ "integrity": "sha512-bZ5Sy3YzKo9Fyc8wH2iIQK4JImJ6R0GWI9kL1/k7Z91ZBNgkRXE6U0JfHIizZbort8ZunhSI3jw9I6253ahKfg==",
+ "dev": true
+ },
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
@@ -2486,15 +2341,6 @@
"resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz",
"integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg=="
},
- "minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "requires": {
- "brace-expansion": "^1.1.7"
- }
- },
"minimist": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
@@ -2533,21 +2379,6 @@
"resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
"integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw=="
},
- "once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "dev": true,
- "requires": {
- "wrappy": "1"
- }
- },
- "path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "dev": true
- },
"path-parse": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
@@ -2628,9 +2459,9 @@
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="
},
"prettier": {
- "version": "2.8.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.1.tgz",
- "integrity": "sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==",
+ "version": "2.8.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.2.tgz",
+ "integrity": "sha512-BtRV9BcncDyI2tsuS19zzhzoxD8Dh8LiCx7j7tHzrkz8GFXAexeWFdi22mjE1d16dftH2qNaytVxqiRTGlMfpw==",
"dev": true
},
"prettier-plugin-go-template": {
@@ -2710,13 +2541,10 @@
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw=="
},
"rimraf": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
- "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
- "dev": true,
- "requires": {
- "glob": "^7.1.3"
- }
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.0.4.tgz",
+ "integrity": "sha512-R0hoVr9xTwemarQjoWlNt/nb5dEGVTBhVdkRmEX2zEkT8T6onH0XKiGjuaC7rNNj/gYzY2p4NVRJ3sjO1ascHQ==",
+ "dev": true
},
"robust-predicates": {
"version": "3.0.1",
@@ -2839,12 +2667,6 @@
"ncp": "^2.0.0"
}
},
- "wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
- "dev": true
- },
"xtend": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
diff --git a/package.json b/package.json
index 2650e6d9..8802bf43 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hugo-blowfish-theme",
- "version": "2.24.0",
+ "version": "2.25.0",
"description": "Blowfish theme for Hugo",
"scripts": {
"fullinstall": "npm run preinstall && npm install && npm run postinstall",
@@ -34,15 +34,16 @@
},
"homepage": "https://github.com/nunocoracao/blowfish#readme",
"devDependencies": {
- "@tailwindcss/typography": "^0.5.8",
+ "@tailwindcss/typography": "^0.5.9",
"chart.js": "^4.1.2",
"fuse.js": "^6.6.2",
+ "jquery": "^3.6.3",
"katex": "^0.16.4",
"mermaid": "^9.3.0",
- "prettier": "^2.8.1",
+ "prettier": "^2.8.2",
"prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.2.1",
- "rimraf": "^3.0.2",
+ "rimraf": "^4.0.4",
"tailwindcss": "^3.2.4",
"typeit": "^8.7.1",
"vendor-copy": "^3.0.1"
@@ -80,12 +81,16 @@
{
"from": "node_modules/typeit/dist/index.umd.js",
"to": "assets/lib/typeit/typeit.umd.js"
+ },
+ {
+ "from": "node_modules/jquery/dist/jquery.slim.min.js",
+ "to": "assets/lib/jquery/jquery.slim.min.js"
}
],
"dependencies": {
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.13",
"@tailwindcss/forms": "^0.5.3",
- "commander": "^9.4.1"
+ "commander": "^9.5.0"
}
}
diff --git a/tailwind.config.js b/tailwind.config.js
index 53ac2ef1..1b552085 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -136,6 +136,12 @@ module.exports = {
'p::after': {
display: 'none'
},
+ 'a.active': {
+ "text-decoration-color": theme("colors.primary.600 / 1"),
+ },
+ 'p.active': {
+ "text-decoration-color": theme("colors.primary.600 / 1"),
+ }
},
},
invert: {
@@ -153,6 +159,12 @@ module.exports = {
code:{
backgroundColor: theme("colors.neutral.700 / 1"),
},
+ 'a.active': {
+ "text-decoration-color": theme("colors.primary.400 / 1")
+ },
+ 'p.active': {
+ "text-decoration-color": theme("colors.primary.400 / 1")
+ }
},
},
}),