M _config.yml => _config.yml +1 -0
@@ 11,6 11,7 @@ collections:
exclude:
- build-jekyll
+ - build.sh
- deploy-neocities
- LICENSE
- .sass-cache/
M _layouts/default.html => _layouts/default.html +2 -2
@@ 114,8 114,8 @@
<div class="widget">
<h4>Associated Busineses</h4>
<ul>
- <li><a href="/" target="_blank">Newbarn Ltd</a></li>
- <li><a href="http://www.freeholdcottage.com" target="_blank">Freehold Cottage</a></li>
+ <li><a href="https://bluepitshousingaction.co.uk" target="_blank">Blue Pits Housing Action</a></li>
+ <li><a href="https://freeholdcottage.com" target="_blank">Freehold Cottage</a></li>
</ul>
</div>
</div>
A build.sh => build.sh +15 -0
@@ 0,0 1,15 @@
+#!/usr/bin/env
+
+bundle config jobs 4
+bundle install
+export JEKYLL_ENV=production
+bundle exec jekyll build
+
+html-minifier --input-dir _site --output-dir _site --file-ext html --collapse-whitespace --minify-css --remove-comments --remove-attribute-quotes --remove-redundant-attributes
+
+set +x
+export NEOCITIES_API_KEY=$(cat /home/$1/.neocities/newbarn)
+set -x
+
+gem install --no-document neocities
+neocities push --prune _site