site template data in layouts not displaying _config.yml data #147

lewisoaten opened this Issue Apr 1, 2010 · 1 comment


None yet

3 participants


I am attempting to use:

<title>{{site.title}}{% if page.title %} - {{page.title}}{% endif %}</title>

With the _config.yml file containing:

title: Lewis Oaten

Jekyll picks up the pages titles, however it doesn't pick up the site title and just displays:

 - [Page Title]

Why is this?

mojombo commented Jun 23, 2010

This works for me in the latest master branch.

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.