Justin Chmura
Justin Chmura

Reputation: 2027

Jekyll page.title returning curly braces

I'm moving my blog over to Jekyll. The header of my articles are:

---
layout: post
title: My New Post
category: Web Development
---

I'm trying to use page.title but it's only returning {} on my posts layout. If you want the full code, here's the repo.

Upvotes: 0

Views: 51

Answers (1)

Paul
Paul

Reputation: 1509

You have liquid markup in your _layouts/post.html's yaml. You already have title defined in your posts.

Please try taking it out and refreshing.

Upvotes: 1

Related Questions