-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Nicer index #1406
Nicer index #1406
Conversation
There were the following issues with your Pull Request
Guidelines are available to help. Your feedback on GitCop is welcome on this issue This message was auto-generated by https://gitcop.com |
squashed to one commit with signed-off-by |
return "ipfs-" + ext[1:] // slice of the first dot | ||
} | ||
|
||
var knownIcons = map[string]bool{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure there is a nicer way to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go generate too maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are the icons coming from a font?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should use font-awesome here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh you already put them all in the css 👍 wfm.
add them to https://github.com/ipfs/infrastructure/blob/master/seeding/refs-to-seed + get me to pin them.
not really, can make some though in a test case
probably fine without |
There were the following issues with your Pull Request
Guidelines are available to help. Your feedback on GitCop is welcome on this issue This message was auto-generated by https://gitcop.com |
RFM ping @jbenet |
I really feel like the template should have zero external dependencies. Any css and javascript should be embedded IMO. If i dont have internet, all of a sudden my gateway wont work. |
Yea... that's correct Are the welcome examples seeded from the net or automagically added during init? |
the welcome examples are seeded during init, i guess you could add them like that too if you want. |
I don't mind either way (or even adding new handlers) just don't want to waste effort. cc @jbenet: what do you prefer? |
this is the preferred approach. put all the files in the same root dir and pin that. |
@cryptix update? |
- First tab at integrating @krl's new index page File icons are embedded in side icons.css (QmXB7PLRWH6bCiwrGh2MrBBjNkLv3mY3JdYXCikYZSwLED contains both the icons and bootstrap) - Fix back links (..) (fixes #1365) Thanks @JasonWoof for the insight. The back links now stop a t the root hash and work for links that do and dont end with a slash. License: MIT Signed-off-by: Henry <cryptix@riseup.net>
License: MIT Signed-off-by: Henry <cryptix@riseup.net>
License: MIT Signed-off-by: Henry <cryptix@riseup.net>
Assets are now seeded during (daemon) init. Also rebased for fun > ??? > profit ;) |
License: MIT Signed-off-by: Henry <cryptix@riseup.net> t0080-repo.sh: added gateway assets to pinning tests License: MIT Signed-off-by: Henry <cryptix@riseup.net>
Nicer index This commit was moved from ipfs/kubo@224a9eb
This introduces @krl's new index page
TODO: