Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

site.title is always null #182

Closed

Description

@laedit

I wanted to add a "title" variable in _config.yml and use it as {{ site.title }} in a liquid template but it is always null.

The SiteContext class has a Title properties which override the "title" from _config.yml but there is no initialization of this property or am I missing something?

If not I will be happy to push a PR 😄

Activity

  1. laedit commented on Dec 21, 2014

    @laedit
    ContributorAuthor

    It seems that there is the same problem with page.id.
    There is a property Id in page and it is added to the bag but it is never initialized.
    And if I set an 'id' value in the yaml front matter of the page I have a exception because there is already an 'id' key in the bag.

  2. added a commit that references this issue on Dec 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions