From c0ee0b0088f14e27ce99b7876f3646c385e88ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 7 Apr 2024 23:58:08 +0200 Subject: [PATCH] docs: fix double wording --- exampleSite/content/basics/branding/_index.en.md | 2 +- exampleSite/content/basics/customization/_index.en.md | 2 +- exampleSite/content/basics/migration/_index.en.md | 4 ++-- exampleSite/content/cont/markdown.en.md | 4 ++-- exampleSite/content/shortcodes/mermaid.en.md | 2 +- exampleSite/layouts/partials/menu-footer.html | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/exampleSite/content/basics/branding/_index.en.md b/exampleSite/content/basics/branding/_index.en.md index a999a7d074..f62dac7b46 100644 --- a/exampleSite/content/basics/branding/_index.en.md +++ b/exampleSite/content/basics/branding/_index.en.md @@ -4,7 +4,7 @@ title = "Branding" weight = 24 +++ -The Relearn theme provides configuration options to change your your site's colors, favicon and logo. This allows you to easily align your site visuals to your desired style. Most of these options are exposed thru so called color variants. +The Relearn theme provides configuration options to change your site's colors, favicon and logo. This allows you to easily align your site visuals to your desired style. Most of these options are exposed thru so called color variants. A color variant lets you customize various visual effects of your site like almost any color, used fonts, color schemes of print, syntax highligtning, Mermaid and the OpenAPI shortcode, etc. It contains of a CSS file and optional configuration options in your `hugo.toml`. diff --git a/exampleSite/content/basics/customization/_index.en.md b/exampleSite/content/basics/customization/_index.en.md index 9cefff8a7b..ad511c4a41 100644 --- a/exampleSite/content/basics/customization/_index.en.md +++ b/exampleSite/content/basics/customization/_index.en.md @@ -257,7 +257,7 @@ This theme defines the following partials : - `meta.html`: HTML meta tags, if you want to change default behavior - `menu-pre.html`: side-wide configuration to prepend to menu items. If you override this, it is your responsibility to take the page's `menuPre` setting into account. - `menu-post.html`: side-wide configuration to append to menu items. If you override this, it is your responsibility to take the page's `menuPost` setting into account. -- `menu-footer.html`: footer of the the left menu +- `menu-footer.html`: footer of the left menu - `toc.html`: table of contents - `content.html`: the content page itself. This can be overridden if you want to display page's meta data above or below the content. - `content-header.html`: header above the title, has a default implementation but you can overwrite it if you don't like it. diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index 845f174035..d507e6a0f4 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -22,7 +22,7 @@ This document shows you what's new in the latest release and flags it with one o - {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.121.0{{% /badge %}} This release requires a newer Hugo version. -- {{% badge style="note" title=" " %}}Change{{% /badge %}} If the theme is configured to to generate warnings or errors during build by setting `image.errorlevel` to either `warning` or `error` in your `hugo.toml`, it will now also generate output if a link fragment is not found in the target page. +- {{% badge style="note" title=" " %}}Change{{% /badge %}} If the theme is configured to generate warnings or errors during build by setting `image.errorlevel` to either `warning` or `error` in your `hugo.toml`, it will now also generate output if a link fragment is not found in the target page. - {{% badge style="note" title=" " %}}Change{{% /badge %}} The [dependency loader](basics/customization#own-shortcodes-with-javascript-dependencies) was made more versatile. @@ -485,7 +485,7 @@ This document shows you what's new in the latest release and flags it with one o Pressing `CTRL+ALT+t` now will not only toggle the TOC overlay but also places the focus to the first heading on opening. Subsequently this makes it possible to easily select headings by using the `TAB` key. - The search received its own brand new keyboard shortcut `CTRL+ALT+f`. This will focus the cursor inside of the the search box so you can immediately start your search by typing. + The search received its own brand new keyboard shortcut `CTRL+ALT+f`. This will focus the cursor inside of the search box so you can immediately start your search by typing. - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} You are now able to turn off the generation of generator meta tags in your HTML head to hide the used versions of Hugo and this theme. diff --git a/exampleSite/content/cont/markdown.en.md b/exampleSite/content/cont/markdown.en.md index f1cbe83752..235d544857 100644 --- a/exampleSite/content/cont/markdown.en.md +++ b/exampleSite/content/cont/markdown.en.md @@ -455,7 +455,7 @@ For quoting blocks of content from another source within your document add `>` b Blockquotes can also be nested. ````md -> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi. +> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue, aliquam non hendrerit ac, commodo vel nisi. > > > Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam. > @@ -463,7 +463,7 @@ Blockquotes can also be nested. ```` {{% notice style="secondary" icon="eye" title="Result" %}} -> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi. +> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue, aliquam non hendrerit ac, commodo vel nisi. > > > Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam. > diff --git a/exampleSite/content/shortcodes/mermaid.en.md b/exampleSite/content/shortcodes/mermaid.en.md index 96b3a0f91a..ddf5a7e062 100644 --- a/exampleSite/content/shortcodes/mermaid.en.md +++ b/exampleSite/content/shortcodes/mermaid.en.md @@ -59,7 +59,7 @@ graph LR; {{% /tab %}} {{< /tabs >}} -The generated graphs can be be panned by dragging them and zoomed by using the mousewheel. On mobile devices you can use finger gestures. +The generated graphs can be panned by dragging them and zoomed by using the mousewheel. On mobile devices you can use finger gestures. ### Parameter diff --git a/exampleSite/layouts/partials/menu-footer.html b/exampleSite/layouts/partials/menu-footer.html index 5e180bc42a..579e8d5a04 100644 --- a/exampleSite/layouts/partials/menu-footer.html +++ b/exampleSite/layouts/partials/menu-footer.html @@ -33,7 +33,7 @@ }); } document.addEventListener( 'themeVariantLoaded', function( e ){ - // we have to wait until the CSS class .default-animation has settled and and the buttons have loaded to recalculate the scheme again + // we have to wait until the CSS class .default-animation has settled and the buttons have loaded to recalculate the scheme again setTimeout( githubButtonsInit, 400 ); }); window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => {