djangotemplatesblogszinnia

Zinnia entry summary


I'm currently building a blogging site with Django / Zinnia (latest version), and am having some trouble with controlling the entries summary.

Two questions:


Solution

  • Zinnia's Entry model has an excerpt attribute, if thats what you mean my summary.

    https://github.com/Fantomas42/django-blog-zinnia/blob/master/zinnia/models_bases/entry.py#L352

    You'll need to override entry-detail template if you want to add the summary to sidebar for a blog entry.

    http://docs.django-blog-zinnia.com/en/develop/how-to/customize_look_and_feel.html#templates-for-entry-detail

    And to limit characters for excerpt you can extend the entry model

    http://docs.django-blog-zinnia.com/en/develop/how-to/extending_entry_model.html