From 593ab680de46ff93e10b804b6e132652e7ba0875 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Tue, 29 Aug 2017 00:37:00 +0800 Subject: [PATCH] Update --- _config.yml | 9 +++ _includes/2017/top-nav.html | 4 +- _layouts/2017/home.html | 12 ++- css-antialias.md | 1 + jekyll-github.md | 145 ++++++++++++++++++++++++++++++++++ jekyll.md | 31 ++++++-- package.md => package.json.md | 16 +++- xpath.md | 1 + 8 files changed, 201 insertions(+), 18 deletions(-) create mode 100644 jekyll-github.md rename package.md => package.json.md (86%) 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' %}