Mercurial > libervia-backend
view doc/libervia-cli/blog_attachments.rst @ 4100:810921c33a47
tools (common/template): add filter to get media types:
Add 2 filters to get main type and subtype of media type. Jinja2 and Nunjucks don't handle
slices in the same way (Python way for Jinja2, JS way for Nunjucks), making it difficult
to retrieve main type of a media from media type. Thoses filters work in both cases.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 22 Jun 2023 15:49:06 +0200 |
parents | 8b76caa89aa0 |
children |
line wrap: on
line source
.. _libervia-cli_blog_attachments: =================================================== blog/attachments: (un)attach Metadata to Blog Items =================================================== Blog attachments subcommands are the same as :ref:`pubsub attachments <libervia-cli_pubsub_attachments>` subcommands except that if ``--node`` is not specified, default blog node will be used. Please refer to pubsub attachments documentation for details.