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

Allow subpages on group websites #136

Open
danielru opened this issue Jan 19, 2017 · 3 comments
Open

Allow subpages on group websites #136

danielru opened this issue Jan 19, 2017 · 3 comments

Comments

@danielru
Copy link
Member

danielru commented Jan 19, 2017

Enable the use of subpages as it is implemented for events also on the group websites. See commit d754d21 for information.

@danielru
Copy link
Member Author

danielru commented Feb 1, 2017

Attempt so far in this branch

Problem: Entry from group.md file and Group's Main Page both appear, but should only be one.

Reason probably somewhere around this if statement.

@danielru
Copy link
Member Author

danielru commented Feb 1, 2017

Okay, thanks to @pancetta for pointing out how to fix this. Next problem, for some reason the subpage does not properly link to the main page and both appear as separate entities.

@pancetta
Copy link
Member

pancetta commented Feb 1, 2017

  1. You need to specify permalinks in the headers, i.e. permalink: /groups/leeds/ and permalink: /groups/leeds/research. Then linking between the subpages works.
  2. To avoid separate items, you'll need to fix the index.html of the groups page, I guess. Look at the index.html from the events, there is a if-clause for that, see here. I leave that as a homework... sorry, just kidding!

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

2 participants