From 2e911394c58b11dfbba5f2bb5dc6968f0956475e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kr=C3=B3l?= Date: Tue, 11 Jun 2024 22:39:03 +0200 Subject: [PATCH] add more pcengines related redirections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piotr Król --- content/pcengines/buy/_index.md | 2 +- content/pcengines/buy/seabios/_index.md | 5 +++++ themes/dasharo/layouts/_default/sitemap.xml | 5 +++-- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 content/pcengines/buy/seabios/_index.md diff --git a/content/pcengines/buy/_index.md b/content/pcengines/buy/_index.md index 1532ff4..2cc2eba 100644 --- a/content/pcengines/buy/_index.md +++ b/content/pcengines/buy/_index.md @@ -1,5 +1,5 @@ --- -title: "Dasharo Entry Subscription for PC Engines Redirect" +title: "Dasharo (coreboot+UEFI) Entry Subscription for PC Engines Redirect" redirect_url: "https://shop.3mdeb.com/shop/dasharo-entry-subscription/1-year-dasharo-entry-subscription-for-network-appliance/" layout: "redirect" --- diff --git a/content/pcengines/buy/seabios/_index.md b/content/pcengines/buy/seabios/_index.md new file mode 100644 index 0000000..71fadb2 --- /dev/null +++ b/content/pcengines/buy/seabios/_index.md @@ -0,0 +1,5 @@ +--- +title: "Dasharo (coreboot+SeaBIOS) Entry Subscription for PC Engines Redirect" +redirect_url: "https://shop.3mdeb.com/shop/dasharo-entry-subscription/1-year-dasharo-entry-subscription-for-network-appliance-corebootseabios/" +layout: "redirect" +--- diff --git a/themes/dasharo/layouts/_default/sitemap.xml b/themes/dasharo/layouts/_default/sitemap.xml index 5b95834..b7f7fe0 100644 --- a/themes/dasharo/layouts/_default/sitemap.xml +++ b/themes/dasharo/layouts/_default/sitemap.xml @@ -10,7 +10,8 @@ {{- if not (strings.HasSuffix .Permalink "/buy/") -}} {{- if not (strings.HasSuffix .Permalink "/pcengines/") -}} {{- if not (strings.HasSuffix .Permalink "/pcengines/buy/") -}} - {{- if not (strings.HasSuffix .Permalink "/buy/hardware/") -}} + {{- if not (strings.HasSuffix .Permalink "/buy/hardware/") -}} + {{- if not (strings.HasSuffix .Permalink "/pcengines/buy/seabios/") -}} {{ .Permalink }}{{ if not .Lastmod.IsZero }} {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }} {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} @@ -25,5 +26,5 @@ hreflang="{{ .Language.LanguageCode }}" href="{{ .Permalink }}" />{{ end }} - {{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{- end -}}{{- end -}} + {{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{- end -}}{{- end -}}{{- end -}}