From 07982f681ae5abdf6318b4f2f231e7ca925b4470 Mon Sep 17 00:00:00 2001 From: Julien Duchesne Date: Thu, 18 Jul 2019 15:38:50 -0400 Subject: [PATCH] Optimized nav generation - Trimmed whitespace between html elements This reduced one of my files from 850KB to 115KB - Do not sort the whole list of pages on every iteration This made build 3x faster --- _includes/nav.html | 64 ++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 34 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index 2c4bf1e..d561a42 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,44 +1,40 @@