From dfad1ec43b34f84ddcee2b94ea2641fe0d798a6c Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Wed, 05 Feb 2020 19:12:28 +0000
Subject: [PATCH] save work

---
 assets/js/search.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/assets/js/search.js b/assets/js/search.js
index 05e3bdd..e2608fe 100644
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -7,7 +7,7 @@
   {{ range $index, $page := .Site.Pages }}
   this.add({
     "id": "{{ $index }}",
-    "link": "{{ .RelPermalink }}",
+    "link": "{{ .Permalink }}",
     "title": "{{ .Title }}",
     "body": "{{ .PlainWords }}",
   });
@@ -18,7 +18,7 @@
   {{ range $index, $page := .Site.Pages }}
    {
      id: {{ $index }},
-     link: "{{ .RelPermalink }}",
+     link: "{{ .Permalink }}",
      title: "{{ .Title }}",
    },
   {{ end }}

--
Gitblit v1.10.0