From 06fc4d29e5229edf4bfacd45b73040227055e6e1 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 9 Mar 2018 02:24:36 +0000 Subject: [PATCH] site: fetch js/css from hledger.org More precisely, fetch js/css from the same site you're viewing. This keeps page styles working when you're previewing pages without an internet connection (eg with site-preview). It presumably adds an extra couple of fetches for each visitor on first visit to hledger.org, probably not noticeable. --- site/site.tmpl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/site/site.tmpl b/site/site.tmpl index 0d5323171..e639806c8 100644 --- a/site/site.tmpl +++ b/site/site.tmpl @@ -8,10 +8,18 @@ hledger: $title$ - - - - + + + + + + + + + + + +