From a72af9c2343921dba0dd562a992adbf94baa74ea Mon Sep 17 00:00:00 2001 From: Ayo Date: Mon, 5 Mar 2018 22:58:41 +0800 Subject: [PATCH] fix og type --- _config.yml | 1 + _includes/head.html | 2 +- index.md | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index 121bc65..510632a 100644 --- a/_config.yml +++ b/_config.yml @@ -43,6 +43,7 @@ defaults: values: layout: post author: Ayo + type: "post" excerpt_separator: # this goes inside _config.yml. Change as required diff --git a/_includes/head.html b/_includes/head.html index e1b78e9..7b02072 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -14,7 +14,7 @@ - + {% if page.type == "post" %}{% else %}{% endif %} diff --git a/index.md b/index.md index 70d5c1c..c5acf93 100644 --- a/index.md +++ b/index.md @@ -3,8 +3,8 @@ # Edit theme's home layout instead if you wanna make some changes # See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults -layout: home -type: home +layout: "home" +type: "home" title: "Full Hacker: Web Development and Productivity Hacks" description: "Full hacker is a place to learn new web development and productivity hacks." image: "hello-world.jpg"