Skip to content

Added option to disable pretty URLs #2

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

Closed
wants to merge 9 commits into from

Conversation

zischwartz
Copy link

No idea if you're interested in merging this in, but I added this option because I wanted to use this plugin for indexing media content (i.e. not just html and markdown).

Basically, if prettyUrls is set to false, files won't be renamed to name/index.html and will keep their original filename . If prettyUrls is set to a file extension, like .md, then only files ending in that extension will be renamed to name/index.html.

@paulwib
Copy link
Owner

paulwib commented Jun 11, 2014

Sorry for being so slow to respond to this...I understand your use case, but not sure about making this an option. I always felt it was a bit wrong to have prettifying and indexing in the same plug-in, but I couldn't figure out a way to separate the two. Need a bit more of a think...;)

@paulwib
Copy link
Owner

paulwib commented Mar 28, 2015

The latest version (v2.0.0) does what you need - there is no automated file renaming, you can use gulp-rename if you want/need that.

@paulwib paulwib closed this Mar 28, 2015
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.

2 participants