File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ before_install:
88script :
99 - gem install bundler
1010 - bundle exec jekyll build
11- - bundle exec htmlproofer ./_site --only-4xx --check-favicon --check-html
11+ - bundle exec htmlproofer ./_site --only-4xx --disable-external=true --enforce-https=false
1212env :
1313 global :
1414 - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
Original file line number Diff line number Diff line change @@ -7,13 +7,17 @@ all: build test
77clean :
88 rm -f Gemfile.lock
99
10+ .PHONY : install-packages
11+ install-packages :
12+ bundle install
13+
1014.PHONY : build
1115build :
1216 bundle exec jekyll build --safe
1317
1418.PHONY : test
1519test :
16- bundle exec htmlproofer ./_site --only-4xx --check-favicon --check-html
20+ bundle exec htmlproofer ./_site --only-4xx --disable-external=true --enforce-https=false
1721
1822.PHONY : run
1923run :
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ and to develop a blog.
88
99## Hosting
1010The website is hosted at:
11- http ://www.aaronrobson.uk/
11+ < https ://www.aaronrobson.uk/>
1212
1313# Developing
1414
@@ -20,23 +20,23 @@ for your operating system.
2020## Run locally
2121With the requirements installed in the previous step,
2222please run the following command to run the website locally:
23- ``` bash
23+ ``` sh
2424bundle exec jekyll serve
2525```
2626or:
27- ``` bash
27+ ``` sh
2828make run
2929```
3030
3131### View in your browser
3232View the website by visiting the link stated, typically it is:
33- http://127.0.0.1:4000/
33+ < http://127.0.0.1:4000/ >
3434
3535## Testing
3636Tests are run in Travis CI using the techniques here:
3737https://www.jacobtomlinson.co.uk/jekyll/2015/02/18/test-you-jekyll-blog-with-travis-ci/
3838
3939Run this (not supported on Windows):
40- ``` bash
40+ ``` sh
4141make test
4242```
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ email: arobsonse@hotmail.co.uk
1818description : >- # this means to ignore newlines until "baseurl:"
1919 A website to teach me web development, a place for blogging and to host my CV.
2020baseurl : " " # the subpath of your site, e.g. /blog
21- url : " http ://aaronrobson.uk" # the base hostname & protocol for your site, e.g. http://example.com
21+ url : " https ://www. aaronrobson.uk" # the base hostname & protocol for your site, e.g. http://example.com
2222github_username : aaronrobson
2323stackoverflow_username : aaron-robson
2424linkedin_username : aaronrobson
You can’t perform that action at this time.
0 commit comments