New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lewisoaten opened this Issue Apr 1, 2010 · 1 comment

Comments

Projects
None yet
3 participants
@lewisoaten

lewisoaten commented Apr 1, 2010

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

This comment has been minimized.

Contributor

mojombo commented Jun 23, 2010

This works for me in the latest master branch.

@jekyll jekyll 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.