diff --git a/README.md b/README.md index 759da72f..09fa2b00 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ To deploy to Netlify: 1. Build the site. ``` - jekyll build + JEKYLL_ENV=production jekyll build ``` 2. Force add the `_site` directory. diff --git a/_includes/discourse.html b/_includes/discourse.html new file mode 100644 index 00000000..b5924913 --- /dev/null +++ b/_includes/discourse.html @@ -0,0 +1,14 @@ +{% if jekyll.environment == "production" %} +
+ + +{% endif %} diff --git a/_layouts/auth.html b/_layouts/auth.html index a6f00400..d118d275 100644 --- a/_layouts/auth.html +++ b/_layouts/auth.html @@ -58,7 +58,7 @@ layout: default {% include related-auth.html %} - {% if site.disqus.shortname %} {% include disqus_comments.html %} {% endif %} + {% include discourse.html %} +{"description":"Android SDK Tutorial (Pre-release)","author":{"@type":"Person","name":"Blockstack"},"@type":"BlogPosting","url":"https://zbabystack.netlify.com/android/tutorial.html","headline":"Android SDK Tutorial (Pre-release)","dateModified":"2018-08-30T09:38:15-07:00","datePublished":"2018-08-30T09:38:15-07:00","mainEntityOfPage":{"@type":"WebPage","@id":"https://zbabystack.netlify.com/android/tutorial.html"},"@context":"http://schema.org"} @@ -151,10 +151,10 @@ -