0.0.1 • Published 6 years ago

gc-column-layout-widgets v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

COLUMN LAYOUT

An Apostrophe CMS module to provide a column layout for your content. two to five columns are available. The two-column layout provides options for equal width, 1:2 and 2:1 layouts. Columns are responsive and appear in full-width on smaller devices.

Please note this is a very early work in progress and no way ready for a production site. Breaking changes may occur in future versions.

Install

From within your apostrophe project

npm install --save gc-column-layout-widgets

Configuration

In app.js

modules: {
  'gc-column-layout-widgets': {},
  // ... other modules
}

In your template

{{ apos.area(data.page, 'body', {
    widgets: {
      'gc-column-layout': {}
  }
}) }}

Remember to replace data.page with the appropriate context, and body with the correct area name for your site.

The allowed content is apostrophe-rich-text, apostrophe-images, apostrophe-video and apostrophe-html widgets.

Contributing

Please contribute ideas, issues and improvements at the GitHub repository.