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

Already on GitHub? Sign in to your account

Make a new kind of template available to `layout.html.st` #28

scmbradley opened this Issue Jul 18, 2012 · 0 comments


None yet
1 participant

I'm not sure if this is possible currently, I couldn't work out how, anyway. Basically, I'd like a way to define something in index.yaml such that I can put it somewhere in the layout.html.st file. So yst defines $nav$ and $content$ based on what it reads in index.yaml. I'd like to make it such that there could be a third column, for instance. Or a sort of headline banner that runs across both nav and content and displays a different picture on each page.

Obviously, I could make it part of $content$ and then do some CSS trickery to make it appear where I want, but it seems like a neater solution would be to just place it at the right place in the layout file.

Is this currently possible? Would implementing it be nontrivial?

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