Skip to content

Commit

Permalink
Merge pull request #69 from Dasharo/pcengines-seabios
Browse files Browse the repository at this point in the history
add more pcengines related redirections
  • Loading branch information
pietrushnic authored Jun 11, 2024
2 parents 417a4f5 + 2e91139 commit 93081b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/pcengines/buy/_index.md
Original file line number Diff line number Diff line change
@@ -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"
---
5 changes: 5 additions & 0 deletions content/pcengines/buy/seabios/_index.md
Original file line number Diff line number Diff line change
@@ -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"
---
5 changes: 3 additions & 2 deletions themes/dasharo/layouts/_default/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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/") -}}<url>
{{- if not (strings.HasSuffix .Permalink "/buy/hardware/") -}}
{{- if not (strings.HasSuffix .Permalink "/pcengines/buy/seabios/") -}}<url>
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
Expand All @@ -25,5 +26,5 @@
hreflang="{{ .Language.LanguageCode }}"
href="{{ .Permalink }}"
/>{{ end }}
</url>{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{- end -}}{{- end -}}
</url>{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{- end -}}{{- end -}}{{- end -}}
</urlset>

0 comments on commit 93081b3

Please sign in to comment.