diff --git a/Gemfile b/Gemfile index 56bf16e24da6..b47a53eb382c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,16 +1,17 @@ source 'https://rubygems.org' group :jekyll_plugins do + gem 'classifier-reborn' gem 'jekyll' gem 'jekyll-archives' gem 'jekyll-diagrams' gem 'jekyll-email-protect' gem 'jekyll-feed' gem 'jekyll-imagemagick' + gem 'jekyll-link-attributes' gem 'jekyll-minifier' gem 'jekyll-paginate-v2' gem 'jekyll-scholar' gem 'jekyll-sitemap' - gem 'jekyll-link-attributes' gem 'jekyll-twitter-plugin' gem 'jemoji' gem 'mini_racer' @@ -19,6 +20,6 @@ group :jekyll_plugins do gem 'jekyll-target-blank' end group :other_plugins do - gem 'httparty' gem 'feedjira' + gem 'httparty' end diff --git a/README.md b/README.md index d60bcd4e89f7..ca8002841d81 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ Images2Symbols (CogSci: + + +

Enjoy Reading This Article?

+

Here are some more articles you might like to read next:

+ {% endunless %} + +
  • + {{ post.title }} +
  • +{% endfor %} diff --git a/_layouts/post.html b/_layouts/post.html index ad513ff4a599..de9ad7f491d6 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -43,6 +43,12 @@

    {{ page.title }}

    {{ content }} + {%- if site.related_blog_posts.enabled -%} + {%- if page.related_posts == null or page.related_posts -%} + {% include related_posts.html %} + {%- endif %} + {%- endif %} + {%- if site.disqus_shortname and page.disqus_comments -%} {% include disqus.html %} {%- endif %} diff --git a/_posts/2015-10-20-disqus-comments.md b/_posts/2015-10-20-disqus-comments.md new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/bin/cibuild b/bin/cibuild index d5c9e1956fe7..14cfabea577c 100755 --- a/bin/cibuild +++ b/bin/cibuild @@ -1 +1 @@ -bundle exec jekyll build +bundle exec jekyll build --lsi diff --git a/bin/deploy b/bin/deploy index 6797268f1424..dc339a6706ad 100755 --- a/bin/deploy +++ b/bin/deploy @@ -93,7 +93,7 @@ git checkout -b $DEPLOY_BRANCH export JEKYLL_ENV=production # Build site -bundle exec jekyll build +bundle exec jekyll build --lsi # Delete and move files find . -maxdepth 1 ! -name '_site' ! -name '.git' ! -name 'CNAME' ! -name '.gitignore' -exec rm -rf {} \;