aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2026-07-23 13:36:43 +0300
committerCem Keylan <cem@ckyln.com>2026-07-23 13:39:20 +0300
commit55831e2424332db9071b28924c658a57d26aea29 (patch)
tree51e1ec7765c769e2452d1ab76fc7e7bf557cfe52 /layouts/_default
parentfd2bd6f4e721cef0a18c80ba1219eb054f64c832 (diff)
downloadwebsite-55831e2424332db9071b28924c658a57d26aea29.tar.gz
Update layouts according to template changes in 0.146.0
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html11
-rw-r--r--layouts/_default/baseof.txt1
-rw-r--r--layouts/_default/rss.xml39
-rw-r--r--layouts/_default/single.html3
-rw-r--r--layouts/_default/single.txt3
5 files changed, 0 insertions, 57 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
deleted file mode 100644
index a4f747b..0000000
--- a/layouts/_default/baseof.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- {{- partial "head.html" . -}}
- <body>
- {{- partial "navbar.html" . -}}
- <div id="content">
- {{- block "main" . }}{{- end }}
- </div>
- {{- partial "footer.html" . -}}
- </body>
-</html>
diff --git a/layouts/_default/baseof.txt b/layouts/_default/baseof.txt
deleted file mode 100644
index 49d010f..0000000
--- a/layouts/_default/baseof.txt
+++ /dev/null
@@ -1 +0,0 @@
-{{- block "main" . }}{{- end }}
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
deleted file mode 100644
index e49c966..0000000
--- a/layouts/_default/rss.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-{{- $pctx := . -}}
-{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
-{{- $pages := slice -}}
-{{- if or $.IsHome $.IsSection -}}
-{{- $pages = $pctx.RegularPages -}}
-{{- else -}}
-{{- $pages = $pctx.Pages -}}
-{{- end -}}
-{{- $limit := .Site.Config.Services.RSS.Limit -}}
-{{- if ge $limit 1 -}}
-{{- $pages = $pages | first $limit -}}
-{{- end -}}
-{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
- <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
- <link>{{ .Permalink }}</link>
- <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
- <generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
- <language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
- <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
- <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
- <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
- <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
- {{- with .OutputFormats.Get "RSS" -}}
- {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
- {{- end -}}
- {{ range $pages }}
- <item>
- <title>{{ .Title }}</title>
- <link>{{ .Permalink }}</link>
- <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
- {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
- <guid>{{ .Permalink }}</guid>
- <description>{{ .Content | html }}</description>
- </item>
- {{ end }}
- </channel>
-</rss>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
deleted file mode 100644
index bfa8dcd..0000000
--- a/layouts/_default/single.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{{define "main"}}
-{{ .Content }}
-{{ end }}
diff --git a/layouts/_default/single.txt b/layouts/_default/single.txt
deleted file mode 100644
index bfa8dcd..0000000
--- a/layouts/_default/single.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-{{define "main"}}
-{{ .Content }}
-{{ end }}