Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head_includes.html')
-rw-r--r--layouts/partials/head_includes.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html
index 2812f1e..75ede81 100644
--- a/layouts/partials/head_includes.html
+++ b/layouts/partials/head_includes.html
@@ -48,8 +48,12 @@
}
</style>
<link href={{"css/speed.min.css" | absURL }} rel="stylesheet">
-{{- if (isset $.Site.Params "rss_subscribe" ) -}}
- <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{$.Site.Params.rss_subscribe}}"/>
-{{- else -}}
- <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{"episode/index.xml" | absURL }}"/>
-{{- end -}}
+{{ if eq .Section "blog" }}
+ <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{"blog/index.xml" | absURL }}"/>
+{{ else }}
+ {{- if (isset $.Site.Params "rss_subscribe" ) -}}
+ <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{$.Site.Params.rss_subscribe}}"/>
+ {{- else -}}
+ <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{"episode/index.xml" | absURL }}"/>
+ {{- end -}}
+{{ end }} \ No newline at end of file