Skip to content
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

Revert "FIX Remove $MetaTitle" #34

Merged
merged 1 commit into from
Apr 9, 2015
Merged

Revert "FIX Remove $MetaTitle" #34

merged 1 commit into from
Apr 9, 2015

Conversation

tractorcow
Copy link
Contributor

Reverts #31

Reasoning is that MetaTitle is still a useful function in user code, and doesn't necessarily rely on there being an actual database field for this feature.

Examples of cases this could be useful is where a specific page could customise the meta-title based on the current page action or parameter.

@chillu
Copy link
Member

chillu commented Apr 9, 2015

Damian ran me through a scenario where this makes sense:

MenuTitle: My Blog
Title: My Blog: Viewing posts in category <a href=/my-blog/categories/technology>Technology</a>
MetaTitle: My Blog - Technology

It adds a bit of mental overhead to the template, but makes us more flexible in module default behaviour - worth the tradeoff.

chillu added a commit that referenced this pull request Apr 9, 2015
@chillu chillu merged commit 3cf638c into master Apr 9, 2015
@tractorcow tractorcow deleted the revert-31-patch-1 branch April 9, 2015 03:25
@tractorcow
Copy link
Contributor Author

I think this will be more apparent once we utilise this in other modules. :) thanks @chillu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants