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

Missing layout for Bundesland-Pages #147

Open
tordans opened this issue Mar 3, 2018 · 0 comments
Open

Missing layout for Bundesland-Pages #147

tordans opened this issue Mar 3, 2018 · 0 comments

Comments

@tordans
Copy link
Contributor

tordans commented Mar 3, 2018

The pages for Bundesländer dont have a layout ATM.
https://offenerhaushalt.de/bundesland/BB/

This could be solved easily by adding

---
layout: page
script_include: home
---

to the _layouts/bundesland.html.

PS: And it seems to be a good idea to output {{ content }} there as well.
And also to wrap the custom JS on this page in a $(function(){}); on dom-ready.

But this is still not enough to get it working.

Another thing seems to be to move the custom script includes from _layouts/basic.html up and the {{ content }} below. I don't see and disadvantage. But it solves some JS errors.

But still, the autocomplete search does not work on the page.

Apart from this, I am not sure if the page layout is ideal from a conceptional point of view. What is the message of those sub-pages? And is this message really clear on the page?

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

No branches or pull requests

1 participant