Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HtmlFormat] Dynamically build buttons for other feed formats
Adding or removing feed formats from the "formats/" directory currently has no effect on the buttons shown in the HTML format. This can cause errors if users press one of the buttons for a format that is no longer available on the server. This commit changes the behavior to dynamically add buttons based on the available formats. Syndication feeds, however, are no longer supported as they require knowledge about the content type, which is not known without further changes to the formats API (may be added later if there is a demand). Closes #942
- Loading branch information