Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylian committed Jun 16, 2014
1 parent 4f375c8 commit ea15ccf
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,29 @@ zenpage_macros
===============

A Zenphoto plugin to provide various content macros for Zenpage CMS items.
See file header for documentation.
For content/extra content of a Zenpage page or news article:

```
[PAGECONTENT <titlelink> <publish true|false> <title true|false> <header string>]
[PAGEEXTRACONTENT <titlelink> <publish true|false>]
[NEWSCONTENT <titlelink> <publish true|false> <title true|false> <header string>]
[NEWSEXTRACONTENT <titlelink> <publish true|false>]
```

Excerpts of the direct subpages (1 level) of the current Zenpage page:

```
[SUBPAGES <headline> <excerpt length> <readmore text> <shortenindicator text>]
```

All are optional, set to empty quotes ('') if you only want to set the last one for example.

This generates the following html:

```html
<div class='pageexcerpt'>
<h3>page title</h3>
<p>page content excerpt</p>
<p>read more</p>
</div>
```

0 comments on commit ea15ccf

Please sign in to comment.