· 1 min read

============= News =============

  • block: collection id: news content: title: Recent News subtitle: ’' text: ''

    Page type to display. E.g. post, talk, publication…

    page_type: blog

    Choose how many pages you would like to display (0 = all pages)

    count: 5

    Filter on criteria

    filters: author: ’' category: ’' tag: ’' exclude_featured: false exclude_future: false exclude_past: false publication_type: ''

    Choose how many pages you would like to offset by

    offset: 0

    Page order: descending (desc) or ascending (asc) date.

    order: desc design:

    Choose a layout view

    view: card

    Reduce spacing

    spacing: padding: [0, 0, 0, 0]

============= Example =============

- block: cta-card

demo: true # Only display this section in the Hugo Blox Builder demo site

content:

title: 👉 Build your own academic website like this

text: |-

This site is generated by Hugo Blox Builder - the FREE, Hugo-based open source website builder trusted by 250,000+ academics like you.

Star

Easily build anything with blocks - no-code required!

From landing pages, second brains, and courses to academic resumés, conferences, and tech blogs.

button:

text: Get Started

url: https://hugoblox.com/templates/

design:

card:

    # Card background color (CSS class)

css_class: ‘bg-primary-300 dark:bg-primary-700’

css_style: ''