Sorry, your client sent a bad request.
+You might try going back to the home page.
+diff --git a/.gitignore b/.gitignore index 4ad77ab..bd731ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/_build /_layouts/private-* /_site /asset diff --git a/CNAME b/CNAME deleted file mode 100644 index 14a1bcc..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -dpb587.me diff --git a/_config.yml b/_config.yml index caa29df..2952b32 100644 --- a/_config.yml +++ b/_config.yml @@ -2,3 +2,5 @@ markdown: redcarpet paginate: 7 pygments: true safe: false +environment: dev +static_version: dev diff --git a/_deploy/aws/deploy b/_deploy/aws/deploy new file mode 100755 index 0000000..6aa465a --- /dev/null +++ b/_deploy/aws/deploy @@ -0,0 +1,31 @@ +#!/bin/bash + +# args: s3cmd-config + +set -e + +[ -e _build ] && rm -fr _build + +mkdir _build + +STATIC_VERSION=`git rev-parse HEAD | cut -c -10` + +( + echo 'static_version:' "$STATIC_VERSION" ; + echo 'destination: _build/_site' + echo 'environment: prod' +) > _build/_config.yml + +jekyll build --config _config.yml,_build/_config.yml + +mv _build/_site/static/dev _build/_site/static/$STATIC_VERSION + +s3cmd sync \ + --config "$1" \ + --acl-public \ + --no-delete-removed \ + --no-preserve \ + --exclude 'private/*' \ + --verbose \ + _build/_site/ \ + s3://dpb587-us-west-2 diff --git a/_includes/header.html b/_includes/header.html index 703e1e8..ee7f2f4 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -6,9 +6,9 @@
Sorry, your client sent a bad request.
+You might try going back to the home page.
+Sorry, you do not have permission to access this resource.
+You might try going back to the home page.
+Sorry, the resource you are looking for cannot be found.
+You might try going back to the home page.
+Sorry, your client is using a request method which is not allowed.
+You might try going back to the home page.
+