From ebef2543c3f499166e8e80fef09ae58035dfe1b1 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 10 Feb 2021 07:57:23 +0000 Subject: [PATCH] feat: remove special Book sort for folder named `updates` --- wowchemy/layouts/partials/book_sidebar.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/wowchemy/layouts/partials/book_sidebar.html b/wowchemy/layouts/partials/book_sidebar.html index 5b26d090..d8408080 100644 --- a/wowchemy/layouts/partials/book_sidebar.html +++ b/wowchemy/layouts/partials/book_sidebar.html @@ -52,8 +52,6 @@ {{/* Case where first section is a book. */}} {{ $menu_name = (path.Base (path.Split .FirstSection).Dir) }} - {{/* For any folder named `updates`, use descending title order (e.g. latest release note first). */}} - {{ $order_by = cond (eq $menu_name "updates") "title_desc" $order_by }} {{- if eq $order_by "title" -}} {{- $query = where .Site.Home.Sections.ByTitle "Section" $menu_name -}} {{- else if eq $order_by "title_desc" -}}