diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 661b8a2c..b6bb3fa4 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -22,7 +22,7 @@ defaultFeaturedImage = "/img/ocean.jpg" highlightCurrentMenuArea = true smartTOC = true -smartTOCHideUnfocusedChildren = true +smartTOCHideUnfocusedChildren = false [header] layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-fill-blur diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 105a9d31..ed2f308f 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -71,6 +71,7 @@ The theme currently supports the following languages by default: | 🇮🇩 Indonesian | `id` | | 🇮🇹 Italian | `it` | | 🇯🇵 Japanese | `ja` | +| 🇰🇷 Korean | `ko` | | 🇵🇱 Polish | `pl` | | 🇧🇷 Portuguese (Brazil) | `pt-br` | | 🇵🇹 Portuguese (Portugal) | `pt-pt` | @@ -110,8 +111,8 @@ The default file can be used as a template to create additional languages, or re #### Params -| Name | Default | Description | -| --------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Name | Default | Description | +| ---------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `params.displayName` | `"EN"` | The name used when the language appears on the website. | | `params.isoCode` | `"en"` | The ISO language code for HTML metadata purposes. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-AU`). | | `params.rtl` | `false` | Whether or not this is a RTL language. Set to `true` to reflow content from right-to-left. Blowfish fully supports using RTL and LTR languages at the same time and will dynamically adjust to both. | diff --git a/layouts/shortcodes/carousel.html b/layouts/shortcodes/carousel.html index 742bb747..1f424a1d 100644 --- a/layouts/shortcodes/carousel.html +++ b/layouts/shortcodes/carousel.html @@ -1,5 +1,4 @@ -{{ $time := now.UnixNano }} -{{ $id := delimit (slice "gallery" $time) "-" }} +{{ $id := delimit (slice "carousel" .Ordinal now.UnixNano) "-" }} {{ $aspect := default "16-9" (.Get "aspectRatio") }} {{ $images := .Page.Resources.Match (.Get "images") }} {{ $interval := default "2000" (.Get "interval") }} diff --git a/layouts/shortcodes/chart.html b/layouts/shortcodes/chart.html index 98ae8fa7..82c92aad 100644 --- a/layouts/shortcodes/chart.html +++ b/layouts/shortcodes/chart.html @@ -1,5 +1,5 @@ +{{ $id := delimit (slice "chart" .Ordinal now.UnixNano) "-" }}