You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
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.
Activity
dougwilson commentedon Jan 22, 2016
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
templateoption (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 :)
[-]How can i change images of icons ?[/-][+]Add ability to change icons[/+]Abhivendra commentedon Jan 22, 2016
Thanks a lot , tell me if I can be a help.
dougwilson commentedon Jan 23, 2016
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 commentedon Mar 15, 2017
Use your own template?
#50