Revert "Add RSS icon to archive pages (#1156)" (#1183)

This reverts commit a636c9eaee.
This commit is contained in:
Aditya Telange 2023-04-02 00:17:01 +05:30 committed by GitHub
parent a636c9eaee
commit 1d151a4a02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,7 @@
{{- define "main" }} {{- define "main" }}
<header class="page-header"> <header class="page-header">
<h1> <h1>{{ .Title }}</h1>
{{ .Title }}
{{- if and (or (eq .Kind `term`) (eq .Kind `section`)) (.Param "ShowRssButtonInSectionTermList") }}
<a href="index.xml" title="RSS" aria-label="RSS">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round" height="23">
<path d="M4 11a9 9 0 0 1 9 9" />
<path d="M4 4a16 16 0 0 1 16 16" />
<circle cx="5" cy="19" r="1" />
</svg>
</a>
{{- end }}
</h1>
{{- if .Description }} {{- if .Description }}
<div class="post-description"> <div class="post-description">
{{ .Description }} {{ .Description }}