add roadmap and stuff
This commit is contained in:
parent
4efb4f2a53
commit
be68ebb24f
|
@ -3,7 +3,14 @@
|
|||
[](https://forum.caddyserver.com)
|
||||
[](http://godoc.org/github.com/hacdias/caddy-filemanager)
|
||||
|
||||
This is just a concept of syntax:
|
||||
## Roadmap
|
||||
|
||||
+ [ ] Rename files
|
||||
+ [ ] Delete files
|
||||
+ [ ] Show text files
|
||||
+ [ ] Show pictures
|
||||
+ [ ] Show videos
|
||||
+ [ ] Show music
|
||||
|
||||
```
|
||||
filemanager {
|
||||
|
|
|
@ -240,8 +240,9 @@ func (f FileManager) formatAsJSON(listing *Listing, bc *Config) (*bytes.Buffer,
|
|||
return buf, err
|
||||
}
|
||||
|
||||
func (f FileManager) formatAsHTML(listing *Listing, bc *Config) (*bytes.Buffer, error) {
|
||||
func (f FileManager) formatAsHTML(listing *Listing, fmc *Config) (*bytes.Buffer, error) {
|
||||
buf := new(bytes.Buffer)
|
||||
listing.StyleSheet = fmc.StyleSheet
|
||||
err := Template.Execute(buf, listing)
|
||||
return buf, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue