From ebe2b109efe029dce0e14efb119d39041d97a895 Mon Sep 17 00:00:00 2001
From: bb1950328 <bb1950328@gmail.com>
Date: Sat, 30 Jan 2021 12:47:47 +0000
Subject: [PATCH] fixed some URL operations which don't work when hugos absolute root url is something like https://www.foo.bar (no slash at the end)
---
assets/js/variables.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/assets/js/variables.js b/assets/js/variables.js
index c351059..4b450d5 100644
--- a/assets/js/variables.js
+++ b/assets/js/variables.js
@@ -5,7 +5,7 @@
const menu = 'menu';
// defined in config.toml
-const parentURL = '{{ absURL "" }}';
+const rootURL = '{{ absURL "" }}';
// defined in i18n / translation files
const quickLinks = '{{ T "quick_links" }}';
--
Gitblit v1.10.0