Skip to content

Commit

Permalink
fix(config): change site.url to blog.atomicstep.org
Browse files Browse the repository at this point in the history
  • Loading branch information
GaoangLiu committed Dec 22, 2023
1 parent 62df4e3 commit 1f37388
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
_site/*
Makefile
*.py
*.png
*.jpg
*.gif
*.jpeg
gitignore
.jekyll-cache/
.jekyll-metadata
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down
2 changes: 1 addition & 1 deletion _includes/sidebar-search.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
searchResultTemplate: '<li><a href="{url}">{title}</a></li>',
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;
Expand Down

0 comments on commit 1f37388

Please sign in to comment.