Skip to content Skip to footer

News

Simple example


{% include news.html %}

Becomes:

  • News title 4

    - 2

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean magna massa, vestibulum ut leo eget, fermentum molestie mauris. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean magna massa, vestibulum ut leo eget, fermentum molestie mauris.

  • News title 3

    - 2

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean magna massa, vestibulum ut leo eget, fermentum molestie mauris. Cras facilisis libero non sodales lobortis. Proin eu ultricies lacus. Sed posuere orci id tincidunt sollicitudin. Phasellus sit amet justo turpis. Vestibulum non volutpat libero. Donec mattis elementum sem nec posuere. Donec vitae libero sed mi faucibus tempus. Talks included:

    Donec sagittis laoreet leo, eu tincidunt nulla pulvinar a. Aenean diam orci, rhoncus et imperdiet eget, sodales eget massa. Pellentesque lobortis egestas consequat.

  • News title 2

    Example Description with link

  • News title 1

    Example Description

More complex example


{% include news.html title=true truncate=true caption=true caption_url="/about/news" %}

Becomes:

What's new?

  • News title 4

    - 2

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean magna massa, vestibulum ut leo eget, fermentum molestie mauris. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean magna massa, vestibulum ut leo eget, fermentum molestie mauris.

  • News title 3

    - 2

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean magna massa, vestibulum ut leo eget, fermentum molestie mauris. Cras facilisis libero non sodales lobortis. Proin eu ultricies lacus. Sed posuere orci id tincidunt sollicitudin. Phasellus sit amet justo turpis. Vestibulum non volutpat libero. Donec mattis elementum sem nec posuere. Donec vitae libero sed mi faucibus tempus. Talks included:

    Donec sagittis laoreet leo, eu tincidunt nulla pulvinar a. Aenean diam orci, rhoncus et imperdiet eget, sodales eget massa. Pellentesque lobortis egestas consequat.

  • News title 2

    Example Description with link

  • News title 1

    Example Description

For more news please visit our news page.

Parameters

  • title: Visualize What’s new? as title (true or false). Use true as value to enable this.
  • caption: Show the “For more news please visit our news page.” by using true (true or false).
  • caption_url: Add a custom url if the main news page is not served at /news
  • truncate: If longer event descriptions are used and this parameter is set to true, descriptions which are longer than 40 words will get collapsed behind a button (true or false).