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 "pretty links" to work #1

Open
dagoss opened this issue Mar 19, 2016 · 0 comments
Open

Allow "pretty links" to work #1

dagoss opened this issue Mar 19, 2016 · 0 comments

Comments

@dagoss
Copy link
Owner

dagoss commented Mar 19, 2016

Jekyll allows various URL customizations (called "permalinks") for page output. One of them will turn...

topics/my-topic.html

into...

topics/my-topic/index.html

This allows for a URL like this: topics/my-topic/

If this is done on a site-wide level, any output from the OT will break because all of the links into the content are relative to the output file.

As simple workaround is probably to have an ant parameters that changes outext to "/index.html", so that the OT renders the filename as above.

The problem with that is all links in the DITA content will be "topic/index.html" instead of "topic/" so perhaps there's a way to strip off the "/index.html" part from the href when internal links are written?

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