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

Add ability to change icons #44

Open
Abhivendra opened this issue Jan 22, 2016 · 4 comments
Open

Add ability to change icons #44

Abhivendra opened this issue Jan 22, 2016 · 4 comments
Assignees

Comments

@Abhivendra
Copy link

No description provided.

@dougwilson
Copy link
Contributor

Hi! Currently there is no way to override the built-in icon list, mainly because they were meant to match the default style of the page, and also because, well, we ever thought about adding that as a feature :)

With the current code, the only way to accomplish this is to use the template option (https://github.com/expressjs/serve-index#template) and create your own template which uses your own code to put in icons.

I think it is reasonable to add the ability to just change/add/remove icons from the current list with the built-in template, though :) Going to mark this as a good feature request :)

@dougwilson dougwilson changed the title How can i change images of icons ? Add ability to change icons Jan 22, 2016
@Abhivendra
Copy link
Author

Thanks a lot , tell me if I can be a help.

@dougwilson dougwilson self-assigned this Jan 23, 2016
@dougwilson
Copy link
Contributor

You can, if you like :) Feel free to work on a pull request if you are so-inclined. I haven't thought about a possible solution just yet (since it hasn't been long since you asked :) ), but will be thinking about it over the weekend. If you have thoughts on a possible approach, please feel free to share them if you want to get feedback before starting on a pull request, even :)

If I have thoughts as well, I'll share them here for you.

@greggman
Copy link

Use your own template?

#50

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

3 participants