Skip to content

Commit 86ee8d5

Browse files
committed
Update baseof.html to show rss feed button
1 parent 2a95828 commit 86ee8d5

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

layouts/docs/baseof.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!doctype html>
2+
<html itemscope itemtype="http://schema.org/WebPage"
3+
{{- with .Site.Language.LanguageDirection }} dir="{{ . }}" {{- end -}}
4+
{{ with .Site.Language.Lang }} lang="{{ . }}" {{- end }} {{/**/ -}}
5+
class="no-js">
6+
<head>
7+
{{ partial "head.html" . }}
8+
</head>
9+
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">
10+
<header>
11+
{{ partial "navbar.html" . }}
12+
</header>
13+
<div class="container-fluid td-outer">
14+
<div class="td-main">
15+
<div class="row flex-xl-nowrap">
16+
<aside class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none">
17+
{{ partial "sidebar.html" . }}
18+
</aside>
19+
<aside class="d-none d-xl-block col-xl-2 td-sidebar-toc d-print-none">
20+
{{ partial "page-meta-links.html" . }}
21+
{{ partial "toc.html" . }}
22+
{{ partial "taxonomy_terms_clouds.html" . }}
23+
</aside>
24+
<main class="col-12 col-md-9 col-xl-8 ps-md-5" role="main">
25+
{{ partial "version-banner.html" . }}
26+
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
27+
{{ with .CurrentSection.OutputFormats.Get "rss" -}}
28+
<a class="td-rss-button" title="RSS" href="{{ .RelPermalink | safeURL }}" target="_blank" rel="noopener">
29+
<i class="fa-solid fa-rss" aria-hidden="true"></i>
30+
</a>
31+
{{ end -}}
32+
{{ block "main" . }}{{ end }}
33+
</main>
34+
</div>
35+
</div>
36+
{{ partial "footer.html" . }}
37+
</div>
38+
{{ partial "scripts.html" . }}
39+
</body>
40+
</html>

0 commit comments

Comments
 (0)