nephila / django-meta

Pluggable app to allow Django developers to quickly add meta tags and OpenGraph, Twitter, and Google Plus properties to their HTML responses.
https://django-meta.readthedocs.io
Other
484 stars 68 forks source link

Formatting Tag Output to Include Linebreaks #117

Open artforlife opened 4 years ago

artforlife commented 4 years ago

This may seem like a trivial thing, but is there a way to include a linebreaks after each meta tag generated by the app? I am not sure why this has not been done before, but when one is using Django-Meta, the source-code's meta section of HTML ends up looking like a mess because all the tags are displayed in one line.

Here is a screenshot:

Screenshot from 2020-08-10 12-02-26

yakky commented 3 years ago

@artforlife you can adapt the meta.html to use any output layout

As the html output should be minified in production, there has been not much effort into having a nicely indented output