Code optimization.
This commit is contained in:
parent
501036cafa
commit
53e01c1778
7 changed files with 15 additions and 6 deletions
|
@ -140,6 +140,12 @@ defaults:
|
||||||
-
|
-
|
||||||
label: Home
|
label: Home
|
||||||
url: /
|
url: /
|
||||||
|
-
|
||||||
|
scope:
|
||||||
|
path: assets/data
|
||||||
|
values:
|
||||||
|
layout: compress
|
||||||
|
|
||||||
|
|
||||||
sass:
|
sass:
|
||||||
sass_dir: /assets/css
|
sass_dir: /assets/css
|
||||||
|
|
|
@ -25,7 +25,7 @@ SimpleJekyllSearch({
|
||||||
searchInput: document.getElementById('search-input'),
|
searchInput: document.getElementById('search-input'),
|
||||||
resultsContainer: document.getElementById('search-results'),
|
resultsContainer: document.getElementById('search-results'),
|
||||||
json: '{{ site.baseurl }}/assets/data/search.json',
|
json: '{{ site.baseurl }}/assets/data/search.json',
|
||||||
searchResultTemplate: '{{ result_elem }}',
|
searchResultTemplate: '{{ result_elem | strip_newlines }}',
|
||||||
noResultsText: '{{ not_found }}'
|
noResultsText: '{{ not_found }}'
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
|
@ -1,4 +1,6 @@
|
||||||
---
|
---
|
||||||
---
|
---
|
||||||
|
|
||||||
{"proxyUrl":"{{ site.google_analytics.proxy_url }}"}
|
{
|
||||||
|
"proxyUrl": "{{ site.google_analytics.proxy_url }}"
|
||||||
|
}
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
layout: compress
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
---
|
---
|
||||||
|
layout: compress
|
||||||
|
|
||||||
# A part of the Favicons
|
# A part of the Favicons
|
||||||
# v2.0
|
# v2.0
|
||||||
# https://github.com/cotes2020/jekyll-theme-chirpy
|
# https://github.com/cotes2020/jekyll-theme-chirpy
|
||||||
# © 2019 Cotes Chung
|
# © 2019 Cotes Chung
|
||||||
# MIT License
|
# MIT License
|
||||||
layout: compress
|
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<browserconfig>
|
<browserconfig>
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
---
|
---
|
||||||
|
layout: compress
|
||||||
|
|
||||||
# A part of the Favicons
|
# A part of the Favicons
|
||||||
# v2.0
|
# v2.0
|
||||||
# https://github.com/cotes2020/jekyll-theme-chirpy
|
# https://github.com/cotes2020/jekyll-theme-chirpy
|
||||||
# © 2019 Cotes Chung
|
# © 2019 Cotes Chung
|
||||||
# MIT License
|
# MIT License
|
||||||
layout: compress
|
|
||||||
---
|
---
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: compress
|
layout: compress
|
||||||
#
|
|
||||||
# The Sitemap template
|
# The Sitemap template
|
||||||
# v2.0
|
# v2.0
|
||||||
# https://github.com/cotes2020/jekyll-theme-chirpy
|
# https://github.com/cotes2020/jekyll-theme-chirpy
|
||||||
|
|
Loading…
Reference in a new issue