mirror of
https://github.com/bigchaindb/site.git
synced 2025-02-14 21:10:28 +01:00
Revert "prevent search engine indexing of beta & gamma"
This reverts commit 8103c6884e9d0855337f4dd7cb19b15208b59dfe.
This commit is contained in:
parent
8103c6884e
commit
7eda6abf14
25
_ci/build.sh
25
_ci/build.sh
@ -8,33 +8,8 @@ echo " Starting build "
|
|||||||
echo "============================================="
|
echo "============================================="
|
||||||
echo "$(tput sgr0)" # reset
|
echo "$(tput sgr0)" # reset
|
||||||
|
|
||||||
##
|
|
||||||
## check for pull request against master
|
|
||||||
##
|
|
||||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
|
|
||||||
|
|
||||||
export JEKYLL_ENV=betadeploy
|
|
||||||
|
|
||||||
gulp build --production
|
gulp build --production
|
||||||
|
|
||||||
|
|
||||||
##
|
|
||||||
## check for master push which is no pull request
|
|
||||||
##
|
|
||||||
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
|
||||||
|
|
||||||
export JEKYLL_ENV=livedeploy
|
|
||||||
|
|
||||||
gulp build --production
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
gulp build --production
|
|
||||||
|
|
||||||
fi;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "$(tput setaf 64)" # green
|
echo "$(tput setaf 64)" # green
|
||||||
echo "---------------------------------------------"
|
echo "---------------------------------------------"
|
||||||
echo " ✓ done building"
|
echo " ✓ done building"
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
{% include twittercards.html %}
|
{% include twittercards.html %}
|
||||||
|
|
||||||
<!-- Prevent search indexing for some pages or non-production builds -->
|
<!-- Prevent search indexing for some pages or non-production builds -->
|
||||||
{% if jekyll.environment != 'livedeploy' or page.sitemap == false %}
|
{% if jekyll.environment != 'production' or page.sitemap == false %}
|
||||||
<meta name="robots" content="noindex, nofollow">
|
<meta name="robots" content="noindex, nofollow">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ if (!_dntEnabled()) {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% if jekyll.environment == "livedeploy" %}
|
{% if jekyll.environment == "production" %}
|
||||||
<script async src="//www.google-analytics.com/analytics.js"></script>
|
<script async src="//www.google-analytics.com/analytics.js"></script>
|
||||||
{% else %}
|
{% else %}
|
||||||
<script async src="//www.google-analytics.com/analytics_debug.js"></script>
|
<script async src="//www.google-analytics.com/analytics_debug.js"></script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user