Skip to content

Fallback to `index.htm` when `index.html` does not exist

What does this MR do?

This MR fixes the issue Allow use of other index extensions (htm, xhtml... (gitlab#355981).

Detail: The code should look for the correct index file to display the GitLab Pages

  • index.html will take highest precedence
  • index.htm will be checked only if index.html is not there
  • If both are present for some reason, index.html will get served
Edited by Kassio Borges

Merge request reports