1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-31 08:47:03 +00:00

HandleDir: customize file/dir listing page through registered view engine

Former-commit-id: 98bfd9d5a073c5bc7c2c167e2a72dd7b05bfb24a
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-07-07 06:11:44 +03:00
parent 87e08dbddc
commit cba6351d62
5 changed files with 150 additions and 140 deletions

View File

@@ -99,7 +99,6 @@ type (
// A shortcut for the `router.DirOptions`, useful when `FileServer` or `HandleDir` is being used.
DirOptions = router.DirOptions
// DirListRichOptions the options for the `DirListRich` helper function.
// The Tmpl's "dirlist" template will be executed.
// A shortcut for the `router.DirListRichOptions`.
// Useful when `DirListRich` function is passed to `DirOptions.DirList` field.
DirListRichOptions = router.DirListRichOptions