diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d2ea25c --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +_site/* +Makefile +*.py +*.png +*.jpg +*.gif +*.jpeg +gitignore +.jekyll-cache/ +.jekyll-metadata diff --git a/Makefile b/Makefile index 556d445..952d8ca 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ IP=$(shell ifconfig | grep 192.168 | awk '{print $$2}') dev: @echo "Listen to http://$(IP):4000" - @bundle exec jekyll serve --host 0.0.0.0 --port 4000 + @bundle exec jekyll serve --host 0.0.0.0 update: diff --git a/_config.yml b/_config.yml index 16c48fc..a307ffe 100644 --- a/_config.yml +++ b/_config.yml @@ -9,7 +9,7 @@ encoding: utf-8 title: Berry's blog brief-intro: Do what you love & Love what you do. baseurl: '' # the subpath of your site, e.g. /blog -url: 'https://berrysleaf.github.io' # the base hostname & protocol for your site +url: 'https://blog.atomicstep.org' # the base hostname & protocol for your site permalink: /:year/:month/:day/:title/ diff --git a/_includes/sidebar-search.html b/_includes/sidebar-search.html index e0da7c5..9bbaf33 100644 --- a/_includes/sidebar-search.html +++ b/_includes/sidebar-search.html @@ -54,7 +54,7 @@ searchResultTemplate: '
  • {title}
  • ', noResultsText: 'No results found', limit: 10, - fuzzy: false, + fuzzy: true, templateMiddleware: function(prop, value, template) { if (prop === 'title') { var v = document.getElementById('search_box').value;