UNPKG

scrivito-content-lists

Version:

A content list React component for the Scrivito CMS.

36 lines (23 loc) 953 B
# Scrivito Content Lists [![CMS: Scrivito](https://img.shields.io/badge/CMS-Scrivito-brightgreen.svg)](https://scrivito.com) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) A content list React component/Scrivito widget for the Scrivito CMS. ## Screenshot ![Screenshot](https://raw.githubusercontent.com/mdwp/scrivito-content-lists/master/content-list-screenshot.png) ## Installation Open your terminal. `$ cd` to your Scrivito project ```shell $ npm install scrivito-content-lists ``` Import the widget in your javascript `src/Widgets/index.js`. Add this line to your index.js: ```js import "scrivito-content-lists"; ``` ## Features This widget renders a content teaser list from the default page types available in Scrivito. Page, Blog-Post, Event, Job ## Widget properties In the widget properties you can set: - Page type - Number of records you want to show in the teaser list.