Skip to content

Commit

Permalink
Remove backlinks panel from main page (because was listing every page…
Browse files Browse the repository at this point in the history
… on wiki)
  • Loading branch information
IFcoltransG committed Aug 15, 2023
1 parent fc37bdc commit bfa7e0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _layouts/note.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h1 id="title">{{ page.title }}</h1>
<p><a href="{{ site.baseurl }}/sitemap#random">Random page</a></p>
<p><a href="{{ site.baseurl }}/">Home</a></p>
<p><a href="{{ site.baseurl }}/sitemap">Page list</a></p>
{% if page.no-backlinks != true %}
<h3 id="links-here" style="margin-bottom: 1em">Pages that link here</h3>
{% if page.backlinks.size > 0 %}
<div style="display: grid; grid-gap: 1em; grid-template-columns: repeat(1fr);">
Expand All @@ -46,6 +47,7 @@ <h3 id="links-here" style="margin-bottom: 1em">Pages that link here</h3>
</p>
</div>
{% endif %}
{% endif %}
</side>
</div>
</article>
Expand Down
1 change: 1 addition & 0 deletions _wiki/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ id: main-page
title: Main Page
permalink: /
tags: ['Special']
no-backlinks: true
---

# BUUZA!! Wiki
Expand Down

0 comments on commit bfa7e0b

Please sign in to comment.