diff --git a/_build/update_site.sh b/_build/update_site.sh index f97dd718..358729ed 100755 --- a/_build/update_site.sh +++ b/_build/update_site.sh @@ -11,8 +11,10 @@ BUNDLE_DIR='/bitcoin.org/bundle' SITEDIR='/bitcoin.org/site' DESTDIR='build@bitcoinorgsite:/var/www/site' WORKDIR=`mktemp -d` +BITCOINORG_BUILD_TYPE='deployment' export BUNDLE_DIR +export BITCOINORG_BUILD_TYPE # Stop script in case a single command fails set -e diff --git a/_templates/about-us.html b/_templates/about-us.html index 82dd1b5a..d580fe39 100644 --- a/_templates/about-us.html +++ b/_templates/about-us.html @@ -5,6 +5,7 @@ layout: base id: about-us --- +{% if site.env.BITCOINORG_BUILD_TYPE %}
{% translate pagedesc %}
@@ -83,3 +84,19 @@ id: about-us {% endfor %} +{% else %} +{% comment %} + +{% endcomment %} +