diff --git a/_config.yml b/_config.yml index 8b972f86e..5b0a6508b 100644 --- a/_config.yml +++ b/_config.yml @@ -1,3 +1,8 @@ +# gems +gems: + - jekyll-redirect-from + - jekyll-github-metadata + # files exclude: - Makefile @@ -24,6 +29,7 @@ defaults: type: pages values: layout: "default" + type: article category: "Others" # Site info @@ -55,3 +61,6 @@ category_names: - Ruby libraries - Vim - Others + +# https://help.github.com/articles/repository-metadata-on-github-pages/ +repository: rstacruz/cheatsheets diff --git a/_includes/2017/top-nav.html b/_includes/2017/top-nav.html index 027287052..8cc799eb0 100644 --- a/_includes/2017/top-nav.html +++ b/_includes/2017/top-nav.html @@ -7,10 +7,10 @@
{% include social-list.html class="social page-actions" page=include.page %} - {% if include.page.type == 'article' %} + {% if include.page.type != 'website' %}