This commit is contained in:
parent
1d20596607
commit
f56b2f3de4
@ -54,6 +54,7 @@ frontmatter:
|
|||||||
|
|
||||||
params:
|
params:
|
||||||
mainSections: ["post"]
|
mainSections: ["post"]
|
||||||
|
description: "A blog documenting my homelab journey, covering automation, self-hosted services, and hands-on experiments with open source technologies."
|
||||||
favicon: "/favicon-32x32.png"
|
favicon: "/favicon-32x32.png"
|
||||||
|
|
||||||
sidebar:
|
sidebar:
|
||||||
@ -135,6 +136,11 @@ related:
|
|||||||
- name: categories
|
- name: categories
|
||||||
weight: 20
|
weight: 20
|
||||||
|
|
||||||
|
sitemap:
|
||||||
|
ChangeFreq: "weekly"
|
||||||
|
Priority: 0.6
|
||||||
|
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
home:
|
home:
|
||||||
- HTML
|
- HTML
|
||||||
|
7
layouts/404.html
Normal file
7
layouts/404.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{{- define "main" -}}
|
||||||
|
<div class="FourOhFourCentered">
|
||||||
|
<h1>404 - Page Not Found</h1>
|
||||||
|
<p>Looks like the page you're looking for doesn't exist.</p>
|
||||||
|
<p><a href="/">Go back home</a></p>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
34
layouts/_default/sitemap.xml
Normal file
34
layouts/_default/sitemap.xml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
|
{{ range .Data.Pages }}
|
||||||
|
{{ if or (.IsPage) (.IsHome) }}
|
||||||
|
<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 }}
|
||||||
|
<priority>{{ .Sitemap.Priority }}</priority>
|
||||||
|
{{ end }}
|
||||||
|
{{ if .IsTranslated }}
|
||||||
|
{{ range .Translations }}
|
||||||
|
<xhtml:link
|
||||||
|
rel="alternate"
|
||||||
|
hreflang="{{ .Language.LanguageCode }}"
|
||||||
|
href="{{ .Permalink }}"
|
||||||
|
/>
|
||||||
|
{{ end }}
|
||||||
|
<xhtml:link
|
||||||
|
rel="alternate"
|
||||||
|
hreflang="{{ .Language.LanguageCode }}"
|
||||||
|
href="{{ .Permalink }}"
|
||||||
|
/>
|
||||||
|
{{ end }}
|
||||||
|
</url>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</urlset>
|
3
static/robots.txt
Normal file
3
static/robots.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
User-agent: *
|
||||||
|
Disallow: /tags/
|
||||||
|
Disallow: /categories/
|
@ -1 +1 @@
|
|||||||
Subproject commit 7cf752f8644fea1fc3dc7299352718d492c55182
|
Subproject commit ee1e0f3aa3c3575a756c9b17be5823e21de09c30
|
Loading…
x
Reference in New Issue
Block a user