Item's Layouts

Choose a design to list your items in blog templates

Boxed

I've added support for readingtime Grav plugin for cards and boxed post layouts. Also has been included in item's template. Then you could customize the output string and words-per-minute.

Many new features have been added from last post. Carousel and Skills modular templates are welcome, and a lot of bugfixes too. Also we added new styles and updated main libraries (Bootstrap 4.1.3 and FontAwesome 5.5).

Bootstrap Blog update just released today with some fixes and new features! Major change is merge blog and portfolio templates, last one has been removed due now blog do exactly same work. If you are going to update just rename portfolio files to blog.md or set template paramater to blog. Also m...

Cards

Added support for Reading time plugin

I've added support for readingtime Grav plugin for cards and boxed post layouts. Also has been included in item's template. Then you could customize the output string and words-per-minute.

release

What's new in 1.1.5?

Many new features have been added from last post. Carousel and Skills modular templates are welcome, and a lot of bugfixes too. Also we added new styles and updated main libraries (Bootstrap 4.1.3 and FontAwesome 5.5).

release

Update 1.1

Bootstrap Blog update just released today with some fixes and new features! Major change is merge blog and portfolio templates, last one has been removed due now blog do exactly same work. If you are going to update just rename portfolio files to blog.md or set template paramater to blog. Also m...

release

Masonry

Added support for Reading time plugin

HISTORY, FEATURE

release

What's new in 1.1.5?

HISTORY

release

Blog Template

Create a folder under /pages to render a section with items's listing and sidebar

Modular

Blog template has a 'Modular block' content that should be setting up with Grav Page Collections, and/or use show_more route parameter as fallback to get children and add a button at the end. You can choose between above 3 layouts to display items; boxed, cards or masonry.

title: Blog Modular         # Page title
layout: boxed|cards|masonry # Layout items template
show_more: /blog            # Show a button and serve as fallback to get collection
content:                    # Collection configuration
    items:
      '@page': '/blog'
    order:
        by: date
        dir: desc
    limit: 6
    pagination: false

Template page

Create a blog or portfolio with sidebar to list descendant items. Use blog.md filename.

title: Blog
style: dark
layout: boxed
content:
    items: '@self.children'
    order:
        by: date
        dir: desc
    limit: 8
    pagination: true