mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-09-29 20:59:09 +02:00
12 lines
356 B
Markdown
12 lines
356 B
Markdown
# Use in templates
|
|
|
|
Add a simple include to any of your `.ss` templates to display the DMSDocuments associated with
|
|
the current page on the front-end.
|
|
|
|
```
|
|
<% include Documents %>
|
|
```
|
|
|
|
You can fine tune the HTML markup or display behaviour of any of the templates in `/dms/templates/Includes` to change
|
|
the way documents will be displayed in your project.
|