From bfa7e0bc40e7e9404d1d908b8f67289deec98b45 Mon Sep 17 00:00:00 2001 From: IFcoltransG <47414286+IFcoltransG@users.noreply.github.com> Date: Tue, 15 Aug 2023 22:56:21 +1200 Subject: [PATCH] Remove backlinks panel from main page (because was listing every page on wiki) --- _layouts/note.html | 2 ++ _wiki/index.md | 1 + 2 files changed, 3 insertions(+) diff --git a/_layouts/note.html b/_layouts/note.html index 95406f5..a213c7e 100644 --- a/_layouts/note.html +++ b/_layouts/note.html @@ -28,6 +28,7 @@

{{ page.title }}

Random page

Home

Page list

+ {% if page.no-backlinks != true %} {% if page.backlinks.size > 0 %}
@@ -46,6 +47,7 @@

{% endif %} + {% endif %} diff --git a/_wiki/index.md b/_wiki/index.md index 8878cdb..b01418a 100644 --- a/_wiki/index.md +++ b/_wiki/index.md @@ -3,6 +3,7 @@ id: main-page title: Main Page permalink: / tags: ['Special'] +no-backlinks: true --- # BUUZA!! Wiki