Skip to content
Boilerplate for a Craft CMS blog / general interiors section
CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_components
examples
style
README.md
article-field.json

README.md

Craft Blog Boilerplate

Description

A Boilerplate for blog / general interior sections, for use with Craft CMS.

Installation

First, import the Article Matrix Field using the Art Vandelay Plugin plugin, and the article-field.json file.

Then, simply place the components directory within craft/templates/, and incorporate the included stylesheet.

Usage

...
{% include "_components/article.html" %}
...

Assuming that the included .json file has been used to import the Article Matrix Field, via the Art Vandelay Plugin.


Block Types

Body Text

A simple block for body text.

Fields:

  • Text

Heading

A simple heading for separating sections.

Fields:

  • Text

Video Block

A video block that can be sourced from a video in Crafts assets, or an external embed link.

Fields:

  • Video
  • Caption
  • Position (Left, Right, Center, Full Width)
  • Embed Source - accepts iframe embed link, and is mutually exclusive with Video

Image Block

A block for images, sourced from Crafts assets

Fields

  • Image
  • Caption
  • Position (Left, Right, Center, Full Width)

Quote Block

A block for quoted text

Fields

  • Quote
  • Position (Left, Right, Center, Full Width)
  • Byline

Accent Color

A block for specifying an accent color - currently only applies a stylish partial border to Quote Blocks.

Fields:

  • Color

Example

Demo of the Matrix Field

You can’t perform that action at this time.