1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00
miniflux-v2/internal/template/templates/common
jvoisin dd8011a4aa refactor(template): remove some useless attributes
When `target="_blank"` is used, it has the same effect than rel="noopener",
so we can remove the latter. Moreover, since we're already setting `<meta
name="referrer" content="no-referrer" />` in the `<head>`, there is no need to
set it on every single link in the HTML, as we're rendering everything in the
same origin.

Note that we need to keep adding those in the sanitizer, the entry content HTML
can be consumed by third-party clients via the Miniflux/GoogleReader/Fever API.

See https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener
and https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy#integration_with_html
2025-08-15 17:55:49 -07:00
..
feed_list.html refactor(template): remove some useless attributes 2025-08-15 17:55:49 -07:00
feed_menu.html Replace link has button role with button tag 2024-02-09 17:09:30 -08:00
item_meta.html refactor(template): remove some useless attributes 2025-08-15 17:55:49 -07:00
layout.html refactor(ui): rename the small favicons to icons 2025-08-15 16:37:39 -07:00
pagination.html Add navigation to last/first page 2024-06-28 20:19:38 -07:00
settings_menu.html add nav landmark to settings and feed menu 2024-02-04 10:47:30 -08:00