From 5f65fa6ce415ec339053c5620ca6832c57099568 Mon Sep 17 00:00:00 2001
From: Pelle van der Knaap
Date: Mon, 26 Dec 2022 11:35:59 +0100
Subject: [PATCH] add target _about to all external links
---
.../bubblegum/src/components/AboutTheTheme.astro | 4 ++--
.../bubblegum/src/components/CodePenEmbed.astro | 2 +-
.../templates/bubblegum/src/components/Footer.astro | 4 ++--
.../templates/bubblegum/src/components/Header.astro | 2 ++
.../templates/bubblegum/src/components/Intro.astro | 10 +++++-----
.../minimal/src/components/AboutTheTheme.astro | 4 ++--
.../templates/minimal/src/components/Footer.astro | 4 ++--
.../templates/minimal/src/components/Header.astro | 2 ++
.../templates/minimal/src/components/Intro.astro | 10 +++++-----
.../newspaper/src/components/AboutTheTheme.astro | 4 ++--
.../templates/newspaper/src/components/Footer.astro | 4 ++--
.../templates/newspaper/src/components/Intro.astro | 12 +++++++-----
.../sleek/src/components/AboutTheTheme.astro | 4 ++--
.../templates/sleek/src/components/Footer.astro | 4 ++--
.../templates/sleek/src/components/Header.astro | 2 ++
.../templates/sleek/src/components/Intro.astro | 10 +++++-----
themes/bubblegum/src/components/AboutTheTheme.astro | 2 +-
themes/bubblegum/src/components/Header.astro | 1 +
themes/minimal/src/components/AboutTheTheme.astro | 2 +-
themes/minimal/src/components/Header.astro | 1 +
themes/newspaper/src/components/AboutTheTheme.astro | 2 +-
themes/newspaper/src/components/Intro.astro | 2 ++
themes/sleek/src/components/AboutTheTheme.astro | 4 ++--
themes/sleek/src/components/Header.astro | 2 ++
24 files changed, 56 insertions(+), 42 deletions(-)
diff --git a/packages/create-blogster/templates/bubblegum/src/components/AboutTheTheme.astro b/packages/create-blogster/templates/bubblegum/src/components/AboutTheTheme.astro
index fabf725..3e1f22e 100644
--- a/packages/create-blogster/templates/bubblegum/src/components/AboutTheTheme.astro
+++ b/packages/create-blogster/templates/bubblegum/src/components/AboutTheTheme.astro
@@ -8,7 +8,7 @@
-
Bubblegum.
- A colorful Astro theme built with Tailwind.
+ A colorful Astro theme built with Tailwind.
-
Fast.
@@ -36,7 +36,7 @@
-
Extended markdown with
- Markdoc.
+ Markdoc.
Type-safe custom components like YouTube embed, Twitter embed (or
diff --git a/packages/create-blogster/templates/bubblegum/src/components/CodePenEmbed.astro b/packages/create-blogster/templates/bubblegum/src/components/CodePenEmbed.astro
index 9c65bd5..159b019 100644
--- a/packages/create-blogster/templates/bubblegum/src/components/CodePenEmbed.astro
+++ b/packages/create-blogster/templates/bubblegum/src/components/CodePenEmbed.astro
@@ -15,7 +15,7 @@ const { url, title } = Astro.props;
data-user="ruphaa"
style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;"
>
- {title}
+ {title}
diff --git a/packages/create-blogster/templates/bubblegum/src/components/Footer.astro b/packages/create-blogster/templates/bubblegum/src/components/Footer.astro
index a60cdc7..36f801f 100644
--- a/packages/create-blogster/templates/bubblegum/src/components/Footer.astro
+++ b/packages/create-blogster/templates/bubblegum/src/components/Footer.astro
@@ -7,13 +7,13 @@
Twitter
diff --git a/packages/create-blogster/templates/bubblegum/src/components/Intro.astro b/packages/create-blogster/templates/bubblegum/src/components/Intro.astro
index 9000e7d..1bdf9b4 100644
--- a/packages/create-blogster/templates/bubblegum/src/components/Intro.astro
+++ b/packages/create-blogster/templates/bubblegum/src/components/Intro.astro
@@ -20,12 +20,12 @@
Hello! This is a starter template to build your own blog with
- Blogster.
+ Blogster.
Available in four themes
- minimal,
- sleek,
- newspaper and
- bubblegum.
+ minimal,
+ sleek,
+ newspaper and
+ bubblegum.
This blog is a demo for bubblegum theme.
Get started with one simple command.
diff --git a/packages/create-blogster/templates/minimal/src/components/AboutTheTheme.astro b/packages/create-blogster/templates/minimal/src/components/AboutTheTheme.astro
index 290d2c4..d9c1045 100644
--- a/packages/create-blogster/templates/minimal/src/components/AboutTheTheme.astro
+++ b/packages/create-blogster/templates/minimal/src/components/AboutTheTheme.astro
@@ -8,7 +8,7 @@
-
Minimal.
- A lightweight Astro theme that looks great.
+ A lightweight Astro theme that looks great.
-
Lean.
@@ -39,7 +39,7 @@
Extended markdown with MarkdocMarkdoc.
diff --git a/packages/create-blogster/templates/minimal/src/components/Footer.astro b/packages/create-blogster/templates/minimal/src/components/Footer.astro
index 3dbfdc7..6f4c9fb 100644
--- a/packages/create-blogster/templates/minimal/src/components/Footer.astro
+++ b/packages/create-blogster/templates/minimal/src/components/Footer.astro
@@ -4,9 +4,9 @@
diff --git a/packages/create-blogster/templates/minimal/src/components/Header.astro b/packages/create-blogster/templates/minimal/src/components/Header.astro
index 7b4d5c8..2399929 100644
--- a/packages/create-blogster/templates/minimal/src/components/Header.astro
+++ b/packages/create-blogster/templates/minimal/src/components/Header.astro
@@ -20,6 +20,7 @@ import TwitterIcon from "../components/ui/icons/twitter.astro";
class="centered"
href="https://github.com/flexdinesh/blogster"
aria-label="Blogster on GitHub"
+ target="_blank" rel="noopener"
>
@@ -27,6 +28,7 @@ import TwitterIcon from "../components/ui/icons/twitter.astro";
class="centered"
href="https://twitter.com/flexdinesh"
aria-label="Dinesh on Twitter"
+ target="_blank" rel="noopener"
>
diff --git a/packages/create-blogster/templates/minimal/src/components/Intro.astro b/packages/create-blogster/templates/minimal/src/components/Intro.astro
index f041693..4936953 100644
--- a/packages/create-blogster/templates/minimal/src/components/Intro.astro
+++ b/packages/create-blogster/templates/minimal/src/components/Intro.astro
@@ -12,12 +12,12 @@ import Heading from "./ui/Heading.astro";
Web Developer. OSS Wizard. Blogger.
Hello! This is a starter template to build your own blog with
- Blogster.
+ Blogster.
Available in four themes
- minimal,
- sleek,
- newspaper and
- bubblegum.
+ minimal,
+ sleek,
+ newspaper and
+ bubblegum.
This blog is a demo for minimal theme.
Get started with one simple command.
diff --git a/packages/create-blogster/templates/newspaper/src/components/AboutTheTheme.astro b/packages/create-blogster/templates/newspaper/src/components/AboutTheTheme.astro
index cb0fc80..4cbc3c1 100644
--- a/packages/create-blogster/templates/newspaper/src/components/AboutTheTheme.astro
+++ b/packages/create-blogster/templates/newspaper/src/components/AboutTheTheme.astro
@@ -8,7 +8,7 @@
-
Newspaper.
- A crispy Astro theme built with Tailwind.
+ A crispy Astro theme built with Tailwind.
-
Fast.
@@ -36,7 +36,7 @@
-
Extended markdown with
- Markdoc.
+ Markdoc.
Type-safe custom components like YouTube embed, Twitter embed (or
diff --git a/packages/create-blogster/templates/newspaper/src/components/Footer.astro b/packages/create-blogster/templates/newspaper/src/components/Footer.astro
index a60cdc7..36f801f 100644
--- a/packages/create-blogster/templates/newspaper/src/components/Footer.astro
+++ b/packages/create-blogster/templates/newspaper/src/components/Footer.astro
@@ -7,13 +7,13 @@
Blogster and hosted in
Netlify.
diff --git a/packages/create-blogster/templates/newspaper/src/components/Intro.astro b/packages/create-blogster/templates/newspaper/src/components/Intro.astro
index 600b4a4..d8a69e8 100644
--- a/packages/create-blogster/templates/newspaper/src/components/Intro.astro
+++ b/packages/create-blogster/templates/newspaper/src/components/Intro.astro
@@ -18,6 +18,7 @@
@@ -36,17 +38,17 @@
Hello! This is a starter template to build your own blog with
- Blogster. Available in four themes
- minimal,
- sleek,
- sleek,
+ newspaper and
- bubblegum. This blog is a demo for newspaper theme. Get started with
one simple command.
diff --git a/packages/create-blogster/templates/sleek/src/components/AboutTheTheme.astro b/packages/create-blogster/templates/sleek/src/components/AboutTheTheme.astro
index a13dd98..a385309 100644
--- a/packages/create-blogster/templates/sleek/src/components/AboutTheTheme.astro
+++ b/packages/create-blogster/templates/sleek/src/components/AboutTheTheme.astro
@@ -8,7 +8,7 @@
-
Sleek.
- A beautiful Astro theme built with Tailwind.
+ A beautiful Astro theme built with Tailwind.
-
Fast.
@@ -36,7 +36,7 @@
-
Extended markdown with
- Markdoc.
+ Markdoc.
Type-safe custom components like YouTube embed, Twitter embed (or
diff --git a/packages/create-blogster/templates/sleek/src/components/Footer.astro b/packages/create-blogster/templates/sleek/src/components/Footer.astro
index a60cdc7..36f801f 100644
--- a/packages/create-blogster/templates/sleek/src/components/Footer.astro
+++ b/packages/create-blogster/templates/sleek/src/components/Footer.astro
@@ -7,13 +7,13 @@
Blogster and hosted in
Netlify.
diff --git a/packages/create-blogster/templates/sleek/src/components/Header.astro b/packages/create-blogster/templates/sleek/src/components/Header.astro
index 22562cd..96f7bd9 100644
--- a/packages/create-blogster/templates/sleek/src/components/Header.astro
+++ b/packages/create-blogster/templates/sleek/src/components/Header.astro
@@ -25,6 +25,7 @@ import DarkModeToggle from "./DarkModeToggle.astro";
Hello! This is a starter template to build your own blog with
- Blogster.
+ Blogster.
Available in four themes
- minimal,
- sleek,
- newspaper and
- bubblegum.
+ minimal,
+ sleek,
+ newspaper and
+ bubblegum.
This blog is a demo for sleek theme.
Get started with one simple command.
diff --git a/themes/bubblegum/src/components/AboutTheTheme.astro b/themes/bubblegum/src/components/AboutTheTheme.astro
index fabf725..e28bf54 100644
--- a/themes/bubblegum/src/components/AboutTheTheme.astro
+++ b/themes/bubblegum/src/components/AboutTheTheme.astro
@@ -8,7 +8,7 @@
-
Bubblegum.
- A colorful Astro theme built with Tailwind.
+ A colorful Astro theme built with Tailwind.
-
Fast.
diff --git a/themes/bubblegum/src/components/Header.astro b/themes/bubblegum/src/components/Header.astro
index f48663e..293fd0c 100644
--- a/themes/bubblegum/src/components/Header.astro
+++ b/themes/bubblegum/src/components/Header.astro
@@ -17,6 +17,7 @@ import DarkModeToggle from "./DarkModeToggle.astro";
GitHub
diff --git a/themes/minimal/src/components/AboutTheTheme.astro b/themes/minimal/src/components/AboutTheTheme.astro
index 290d2c4..02ff0a4 100644
--- a/themes/minimal/src/components/AboutTheTheme.astro
+++ b/themes/minimal/src/components/AboutTheTheme.astro
@@ -8,7 +8,7 @@
-
Minimal.
- A lightweight Astro theme that looks great.
+ A lightweight Astro theme that looks great.
-
Lean.
diff --git a/themes/minimal/src/components/Header.astro b/themes/minimal/src/components/Header.astro
index 7b4d5c8..59e9d11 100644
--- a/themes/minimal/src/components/Header.astro
+++ b/themes/minimal/src/components/Header.astro
@@ -20,6 +20,7 @@ import TwitterIcon from "../components/ui/icons/twitter.astro";
class="centered"
href="https://github.com/flexdinesh/blogster"
aria-label="Blogster on GitHub"
+ target="_blank" rel="noopener"
>
diff --git a/themes/newspaper/src/components/AboutTheTheme.astro b/themes/newspaper/src/components/AboutTheTheme.astro
index cb0fc80..413b26a 100644
--- a/themes/newspaper/src/components/AboutTheTheme.astro
+++ b/themes/newspaper/src/components/AboutTheTheme.astro
@@ -8,7 +8,7 @@
-
Newspaper.
- A crispy Astro theme built with Tailwind.
+ A crispy Astro theme built with Tailwind.
-
Fast.
diff --git a/themes/newspaper/src/components/Intro.astro b/themes/newspaper/src/components/Intro.astro
index 600b4a4..39213e4 100644
--- a/themes/newspaper/src/components/Intro.astro
+++ b/themes/newspaper/src/components/Intro.astro
@@ -18,6 +18,7 @@
GitHub
@@ -26,6 +27,7 @@
class="unset ml-4 hover:text-text-link"
href="https://twitter.com/flexdinesh"
aria-label="Dinesh on Twitter"
+ target="_blank" rel="noopener"
>
Twitter
diff --git a/themes/sleek/src/components/AboutTheTheme.astro b/themes/sleek/src/components/AboutTheTheme.astro
index a13dd98..a385309 100644
--- a/themes/sleek/src/components/AboutTheTheme.astro
+++ b/themes/sleek/src/components/AboutTheTheme.astro
@@ -8,7 +8,7 @@
-
Sleek.
- A beautiful Astro theme built with Tailwind.
+ A beautiful Astro theme built with Tailwind.
-
Fast.
@@ -36,7 +36,7 @@
-
Extended markdown with
- Markdoc.
+ Markdoc.
Type-safe custom components like YouTube embed, Twitter embed (or
diff --git a/themes/sleek/src/components/Header.astro b/themes/sleek/src/components/Header.astro
index 22562cd..96f7bd9 100644
--- a/themes/sleek/src/components/Header.astro
+++ b/themes/sleek/src/components/Header.astro
@@ -25,6 +25,7 @@ import DarkModeToggle from "./DarkModeToggle.astro";