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

Page Titles #2

Open
Tanner opened this issue Jun 14, 2011 · 0 comments
Open

Page Titles #2

Tanner opened this issue Jun 14, 2011 · 0 comments

Comments

@Tanner
Copy link
Owner

Tanner commented Jun 14, 2011

In the code, at the moment, every page has a title block extended from the base.html page. So, for each page we restate the prefix like this:

  {% block title %}Food Noms - Home{% endblock %}

The prefix being "Food Noms - " and the actual page name being "Home".

Ideally all we should have to do is say:

 {% block title %}Home{% endblock %}

And then base.html would hold the prefix before the title block.

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

No branches or pull requests

1 participant