From 7afe7efa3d6d1ca64c9cadbebc1612d33bee9749 Mon Sep 17 00:00:00 2001 From: Jin Date: Sat, 15 Jun 2019 09:04:46 +0900 Subject: [PATCH 1/2] Update search.html Fix url link after search --- search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.html b/search.html index fa87186a..9960af34 100644 --- a/search.html +++ b/search.html @@ -22,7 +22,7 @@ "author": "{{ post.author | xml_escape }}", "category": "{{ post.category | xml_escape }}", "content": {{ post.content | strip_html | strip_newlines | jsonify }}, - "url": "{{ site.baseurl }}/{{ post.url | xml_escape }}" + "url": "{{ site.url }}/{{ post.url | xml_escape }}" } {% unless forloop.last %},{% endunless %} {% endfor %} From 45ded926b70b7b90f5d9baed72db2eeb9d7d2731 Mon Sep 17 00:00:00 2001 From: Jin Date: Sat, 15 Jun 2019 09:08:54 +0900 Subject: [PATCH 2/2] Update search.html --- search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.html b/search.html index 9960af34..f7a91d3b 100644 --- a/search.html +++ b/search.html @@ -22,7 +22,7 @@ "author": "{{ post.author | xml_escape }}", "category": "{{ post.category | xml_escape }}", "content": {{ post.content | strip_html | strip_newlines | jsonify }}, - "url": "{{ site.url }}/{{ post.url | xml_escape }}" + "url": "{{ site.url }}{{ post.url | xml_escape }}" } {% unless forloop.last %},{% endunless %} {% endfor %}