diff --git a/.vscode/settings.json b/.vscode/settings.json index fc7d96ad..69d9c4a2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,5 +11,6 @@ "other": "off" }, "editor.minimap.enabled": false - } + }, + "frontMatter.panel.openOnSupportedFile": true } \ No newline at end of file diff --git a/frontmatter.json b/frontmatter.json index c0744c97..482d6f44 100644 --- a/frontmatter.json +++ b/frontmatter.json @@ -62,5 +62,8 @@ "frontMatter.taxonomy.categories": [], "frontMatter.content.autoUpdateDate": true, "frontMatter.dashboard.openOnStart": true, - "frontMatter.preview.host": "http://localhost:1313/" + "frontMatter.preview.host": "http://localhost:1313/", + "frontMatter.website.host": "https://blog.kestrelsnest.social", + "frontMatter.framework.startCommand": "hugo server -D -F", + "frontMatter.git.enabled": true } \ No newline at end of file diff --git a/layouts/_default/rss.xml b/layouts/_default/index.rss.xml similarity index 81% rename from layouts/_default/rss.xml rename to layouts/_default/index.rss.xml index 0ac39dd8..09b4add5 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/index.rss.xml @@ -11,7 +11,7 @@ {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} @@ -32,17 +32,8 @@ {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} - - {{- $content := .Content -}} - {{- if .Params.summary -}} - {{- $content = .Params.summary -}} - {{- else if .Truncated -}} - {{- $content = .Description -}} - {{- else -}} - {{- $content = .Plain | truncate 200 -}} - {{- end -}} - {{ $content | html }} - + {{ .Summary | html }} + {{ printf "" .Content | safeHTML }} {{ end }}