Skip to content

Conversation

@freiric
Copy link
Contributor

@freiric freiric commented Apr 29, 2015

For subpage myPage in a subdirectory mySubdirectory, the title or link is displayed as mySubdirectory/myPage. We want to display myPage instead.

@jgm
Copy link
Owner

jgm commented Apr 29, 2015

Maybe there should be a config option for this. I can imagine lots of people wanting the directory to be displayed. (Note that in some cases a page may link to foo/bar and baz/bar, and in that case you wouldn't want both to display as "bar".)

@freiric
Copy link
Contributor Author

freiric commented May 1, 2015

Hi, I thought that if they still want to display the directory, they could use the extended [directory/bla/blo/mypage](directory/bla/blo/mypage). I have added an boolean option simple_title, which defaults to not displaying the directory (If you think more users want the other behaviour as default I can change this default)

@thkoch2001
Copy link
Collaborator

Sorry for not replying earlier. I'm at debconf right now and start to come into gitit2 hacking again.

I'd like to avoid to let the complexitiy of gitit2 explode. More so as gitit2 is still in an alpha stage and I expect it to still change a lot.

I'd rather see a possibility to add plugins so that gitit2 itself would not need to provide options for each and every use case.
I'll try to come up with a solution but wanted to write you my initial thought early

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

Successfully merging this pull request may close these issues.

3 participants