Skip to content

Commit c8fafb9

Browse files
authored
ENGDOCS-2413b (#22048)
<!--Delete sections as needed --> ## Description Moves tags placement on pages ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent 7c42a9f commit c8fafb9

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

layouts/partials/aside.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,11 @@
55
<div id="TableOfContents">
66
{{ partialCached "pagemeta.html" . . }}
77
</div>
8+
{{- if ne .Type "guides" }}
9+
{{ with .GetTerms "tags" }}
10+
<div class="not-prose mt-8 px-4">
11+
{{- partial "tags.html" . }}
12+
</div>
13+
{{- end }}
14+
{{- end }}
815
</aside>

layouts/partials/content-default.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22
<article class="prose min-w-0 flex-[2_2_0%] max-w-4xl dark:prose-invert">
33
{{ partial "breadcrumbs.html" . }}
44
<h1 data-pagefind-weight="10" class="scroll-mt-36">{{ .Title }}</h1>
5-
{{- if ne .Type "guides" }}
6-
{{ with .GetTerms "tags" }}
7-
<div class="not-prose">
8-
{{- partial "tags.html" . }}
9-
</div>
10-
{{- end }}
11-
{{- end }}
5+
126
<div class="block lg:hidden">
137
{{ partialCached "pagemeta.html" . . }}
148
<hr />

0 commit comments

Comments
 (0)