-
Notifications
You must be signed in to change notification settings - Fork 670
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
Create partials for event pages #135
Comments
OK, so this isn't super delightful, in that the variables don't get passed around between partials, so this bit of code:
has to exist in the template as well as both the |
…artials Create partials for event pages. Fixes #135
Former-commit-id: dfc9062
…ent-site-partials Create partials for event pages. Fixes devopsdays#135 Former-commit-id: fd8ccfa
…artials Create partials for event pages. Fixes #135
…artials Create partials for event pages. Fixes #135
…artials Create partials for event pages. Fixes #135
This wasn't an issue when we had only one template type, but with the addition of
talks/single.html
we have some repetition.Generally speaking, this is what should go into
/themes/devopsdays-legacy/layouts/partials/event_header.html
And this should go into
/themes/devopsdays-legacy/layouts/partials/event_footer.html
Note that when you want to use the new partials, you will have to call them with the "dot" like so:
{{ partial "event_footer.html" . }}
The text was updated successfully, but these errors were encountered: