README
wc-article-marketing-cards
Brand, event and magazine marketing cards for articles
Macro settings
marketing_card_info_magazine
Key | Optional | Default | Description |
---|---|---|---|
issue | false | Magazine model containing brand, month and year | |
alt_text | true | None | Alt text to add to the covers |
marketing_card_info_brand
Key | Optional | Default | Description |
---|---|---|---|
brand | false | The brand tag containing logo image and tag | |
button | true | None | Button model containing text and url |
prefix | true | None | Wording to put before the brand logo or text |
marketing_card_info_details
Key | Optional | Default | Description |
---|---|---|---|
title | true | None | Detail title |
desc | true | None | Detail description |
button | true | None | Button model containing text and url |
marketing_card_brand
Key | Optional | Default | Description |
---|---|---|---|
brand | false | The brand tag containing logo image and tag | |
title | true | None | Detail title |
desc | true | None | Detail description |
button | true | None | Button model containing text and url |
brand_prefix | true | 'In partnership with' | Wording to put before the brand logo or text |
marketing_card_event
Key | Optional | Default | Description |
---|---|---|---|
brand | false | The brand tag containing logo image and tag | |
title | true | None | Detail title |
desc | true | None | Detail description |
button | true | None | Button model containing text and url |
brand_prefix | true | None | Wording to put before the brand logo or text |
marketing_card_magazine
Key | Optional | Default | Description |
---|---|---|---|
issue | false | Magazine model containing brand, month and year | |
title | true | None | Detail title |
desc | true | None | Detail description |
button | true | None | Button model containing text and url |
magazine_alt_text | true | None | Alt text to add to the covers |
JS Documentation
Themes
- Vogue
Prerequisites:
Demo:
Install dependencies:
npm install
Build the things:
npm run sass
npm run js
npm run docs
Hint your JS
npm run jshint
Python the pythons:
npm run demo-install
Start the demo server:
python demo.py