From 37b82d803eb75a2e51c25c2f1d5a3b09872387b8 Mon Sep 17 00:00:00 2001 From: vhs Date: Tue, 12 Dec 2023 18:37:06 -0500 Subject: [PATCH] =?UTF-8?q?chore(remove):=20=F0=9F=94=A7=20=E2=9E=96=20noo?= =?UTF-8?q?pener=20no=20longer=20needed=20for=20security?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/install | 2 +- docs/config/_default/config.toml | 2 +- docs/content/_index.md | 4 ++-- docs/content/shortcode/external.md | 4 ++-- docs/layouts/index.html | 2 +- layouts/partials/components/external.html | 2 +- layouts/partials/components/figure.html | 2 +- layouts/partials/copyright-notice.html | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/install b/bin/install index f41a062b..c71bdc59 100755 --- a/bin/install +++ b/bin/install @@ -158,7 +158,7 @@ baseurl = "https://domain.example" # Controls base URL sitewide languageCode = "en-US" # Controls site language title = "$SITE_NAME" # Homepage title and page title suffix paginate = 11 # Number of posts to show before paginating -copyright = "Copyright © Copyright Owner. Licensed under CC-BY-ND-4.0." # Optional, remove to suppress copyright notices +copyright = "Copyright © Copyright Owner. Licensed under CC-BY-ND-4.0." # Optional, remove to suppress copyright notices # Controls default theme and theme components theme = [ diff --git a/docs/config/_default/config.toml b/docs/config/_default/config.toml index d5a1c076..ea81d551 100644 --- a/docs/config/_default/config.toml +++ b/docs/config/_default/config.toml @@ -20,7 +20,7 @@ baseurl = "https://localhost:1414/" # Controls base URL sitewide title = "After Dark" # Homepage title and page title suffix paginate = 40 # Number of items to show before paginating -copyright = "Copyright © VHS. Licensed under AGPL-3.0-or-later." +copyright = "Copyright © VHS. Licensed under AGPL-3.0-or-later." # Controls default theme and theme components theme = [ diff --git a/docs/content/_index.md b/docs/content/_index.md index 5d1de01b..a43ebcd7 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -16,7 +16,7 @@ images = [ [[spotlight]] name = "speed" title = "Incredibly Fast" - description = "With 0.615s average builds and decisecond page loads you could conceivably develop and serve your content from an ODROID in space." + description = "With 0.615s average builds and decisecond page loads you could conceivably develop and serve your content from an ODROID in space." icon = "lightning" [[spotlight.link]] href = "feature/fetch-injection/" @@ -28,7 +28,7 @@ images = [ href = "https://tools.pingdom.com/#5a399f9666400000" text = "Benchmark" target = "_blank" - rel = "external nofollow noopener" + rel = "external nofollow" [[spotlight]] name = "privacy" title = "Privacy Aware" diff --git a/docs/content/shortcode/external.md b/docs/content/shortcode/external.md index 35a97f63..71664b42 100644 --- a/docs/content/shortcode/external.md +++ b/docs/content/shortcode/external.md @@ -51,10 +51,10 @@ With a trusted URL: With external link styling removed: ```html -{{}} +{{}} ``` -{{< external rel="noopener" href="https://blog.domain.example" />}} +{{< external rel="author" href="https://blog.domain.example" />}} With internal link opening in a new window: diff --git a/docs/layouts/index.html b/docs/layouts/index.html index dd0bd99a..2a640197 100644 --- a/docs/layouts/index.html +++ b/docs/layouts/index.html @@ -97,7 +97,7 @@

A retro dark theme for Hugo

Source - + diff --git a/layouts/partials/components/external.html b/layouts/partials/components/external.html index 9a3836f4..04c86b3b 100644 --- a/layouts/partials/components/external.html +++ b/layouts/partials/components/external.html @@ -18,5 +18,5 @@ */ -}} {{- /**/ -}} -{{ .body | default (replaceRE "^https?://(.*)" "$1" .href) }} +{{ .body | default (replaceRE "^https?://(.*)" "$1" .href) }} {{- /**/ -}} diff --git a/layouts/partials/components/figure.html b/layouts/partials/components/figure.html index 2e682c6f..47261f82 100644 --- a/layouts/partials/components/figure.html +++ b/layouts/partials/components/figure.html @@ -19,7 +19,7 @@ {{ if .link }} -