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

Optionally generate document urls with trailing slashes #4

Merged
merged 1 commit into from
Jun 11, 2013

Conversation

hurrymaplelad
Copy link
Contributor

Github pages serves beep/index.html from example.com/beep/. Links to /beep will make an extra redirect round trip. Enabling trailingSlashes will set document.url to /beep/, making it easier to create the right links in templates and switch link schemes per environment.

@GarthDB
Copy link

GarthDB commented Jun 10, 2013

+1 - please accept this pull request. I really need the slashes added so we can organize our images in relation to our posts.

balupton added a commit that referenced this pull request Jun 11, 2013
Optionally generate document urls with trailing slashes
@balupton balupton merged commit 7acd6f5 into docpad:master Jun 11, 2013
@balupton
Copy link
Member

Released to v2.5.0. Thanks for the pull request and push to get this released :) 👍

balupton added a commit that referenced this pull request Jun 11, 2013
- v2.5.0 June 12, 2013
	- Optionally generate document urls with trailing slashes
		- Thanks to [Adam Hull](https://github.com/hurrymaplelad) for [pull
request #4](#4)
	- Dependency upgrades
@GarthDB
Copy link

GarthDB commented Jun 11, 2013

Awesome. Thanks @hurrymaplelad and @balupton.

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