Curvenote bundles many helpful directives and roles that allow you to interact with and add content from Curvenote’s APIs to your Curvenote Site or Journal.
Person cards¶
The person
directive allows you to have a card for a person, who for example is part of a lab-group.
List articles¶
Add a listing of articles to any content page on your site by including the cn:articles
directive. This allows you to list all published articles for a site or an individual collection on your site and control how this is presented via options such as layout
, limit
and pagination
.
For example, a listing for the SciPy 2023 abtracts collection:
```{cn:articles}
:venue: my-journal
:collection: 2023
:limit: 10
```
List collections¶
Publications on Curvenote sites and Journals can be organized into collections of articles. These are very flexible and can include different publication kinds, can represent year’s, issues, special editions and can be nested.
Use the cn:collections
directive to add a listing of the collections available on a site, for example as used on the SciPy Conference site.
```{cn:collections}
:venue: my-journal
:exclude: archive
```
Additional directives¶
You can also add your own custom directives to Curvenote by using MyST’s plugin mechanism, adding these to your local folder and curvenote.yml
file as described in MyST’s plugin documentation.