Code optimization.

This commit is contained in:
Cotes Chung 2020-01-09 01:45:01 +08:00
parent 501036cafa
commit 53e01c1778
7 changed files with 15 additions and 6 deletions

View File

@ -140,6 +140,12 @@ defaults:
-
label: Home
url: /
-
scope:
path: assets/data
values:
layout: compress
sass:
sass_dir: /assets/css

View File

@ -25,7 +25,7 @@ SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('search-results'),
json: '{{ site.baseurl }}/assets/data/search.json',
searchResultTemplate: '{{ result_elem }}',
searchResultTemplate: '{{ result_elem | strip_newlines }}',
noResultsText: '{{ not_found }}'
});
</script>

View File

@ -1,4 +1,6 @@
---
---
{"proxyUrl":"{{ site.google_analytics.proxy_url }}"}
{
"proxyUrl": "{{ site.google_analytics.proxy_url }}"
}

View File

@ -1,5 +1,4 @@
---
layout: compress
---
[

View File

@ -1,10 +1,11 @@
---
layout: compress
# A part of the Favicons
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy
# © 2019 Cotes Chung
# MIT License
layout: compress
---
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>

View File

@ -1,10 +1,11 @@
---
layout: compress
# A part of the Favicons
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy
# © 2019 Cotes Chung
# MIT License
layout: compress
---
{

View File

@ -1,6 +1,6 @@
---
layout: compress
#
# The Sitemap template
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy