Skip to content

Feature request: support configurable templates for HTML directory listing #91

@SilviaSWR

Description

@SilviaSWR

Feature request: support custom footer in HTML directory listing

Summary

Introduce support for fully configurable HTML templates for the directory listing page, replacing the current hardcoded HTML generation.

Motivation

The current implementation tightly couples the HTML structure with the server logic, making it difficult to customize the UI (branding, layout, acknowledgments, styling) without modifying the codebase.

A template-based approach would allow deployments to fully customize the directory listing presentation while keeping core WebDAV logic unchanged.

In particular, this would also enable:

  • the use of custom CSS stylesheets
  • inclusion of images and logos
  • full branding customization of the directory browser UI

Proposed behavior

  • Allow configuration of a template file for the directory browser (e.g. dir_browser.html)
  • The template should define the full HTML structure of the directory listing page
  • The system should provide the context variables to the template.

Notes

This feature should not affect:

  • static file serving
  • authentication
  • provider logic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions