Hugo

How to change output extension from html -> php

Hi.
I tried this, but without success.

 "mediaTypes": {
    "text/html": {
       "suffixes": ["php"]
    }
 },
 "outputFormats": {
    "HTML": {
        "mediaType": "text/html"
    }
 }

The documentation seems to be out of date

Which part?

converrting my config to json

  "mediaTypes": {
    "application/atom+xml": {
      "suffixes": ["xml"]
    }
  },
  "outputFormats": {
    "ATOM": {
      "MediaType": "application/atom+xml",
      "BaseName": "feed",
      "Rel": "alternate"
    }
  }

difference on the first look, only some letters in uppercase