Skip to content

Commit

Permalink
Revert "feat: Add link back to parent page on the sidebar"
Browse files Browse the repository at this point in the history
This reverts commit c27f19f.
  • Loading branch information
f-hollow committed Aug 22, 2024
1 parent ab09e46 commit 6ec37a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">
lg:top-[140px]{{ else }}lg:top-10{{ end }}">

{{ if and (.Params.showTableOfContents | default (.Site.Params.article.showTableOfContents | default false)) (in
.TableOfContents "<ul") }} {{ partial "back-to-parent.html" . }} {{ partial "toc.html" . }} {{ end }} {{ if .Site.Params.article.showRelatedPosts |
.TableOfContents "<ul") }} {{ partial "toc.html" . }} {{ end }} {{ if .Site.Params.article.showRelatedPosts |
default false }} sd {{ end }} </div>
</div>
{{ end }}
Expand Down
6 changes: 0 additions & 6 deletions layouts/partials/back-to-parent.html

This file was deleted.

0 comments on commit 6ec37a9

Please sign in to comment.