You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just ran into this myself. So, looks like I can't actually get it to work with just {$post.title} either, I wonder how that could've worked for you given that the post variable should even be available in the base template.
In any case, I'd like to get this improved, so that 1. the index page can potentially get a custom suffix in the title, 2. each generated index page can similarly describe what it's about, 3. each single post page will have the post title added as suffix.
The combinator for top-level title and "current" title can of course also be something else, though I'd even say a default to $x - $y or so would be better than the current one.
Leaves the problem that the current templating structure doesn't easily allow for that. Anyone any ideas how to proceed here? @guicho271828?
I'd perhaps suggest a (defmethod title (...)) so that each object can return its title; the top-level one can then use that and use it for the template?
Currently all posts and pages have the same title as the title that's in the config.
Changing the relevant part of a
base.tmpl
of a theme todoesn't work, however changing it to
works for posts' pages but the homepage will not get a title.
The text was updated successfully, but these errors were encountered: