--- /dev/null
+<?php
+include_once('includes/html-templating.php');
+
+function page_title() {
+ return 'Documents';
+}
+
+function content() { ?>
+ <h1>YCRA Documents</h1>
+
+ <p>Please find link to all of our important public documents below.</p><?php
+
+ $documents = ['privacy-policy-v2.pdf'=>'Privacy Policy'];?>
+
+ <ul><?php
+ foreach ($documents as $filename=>$document) {?>
+ <li><a <?php document_href($filename);?>><?php esc($document);?></a></li><?php
+ }?>
+ </ul>
+
+ <p>Have you spotted a mistake in one of our documents, or have any questions?
+ Please get in touch with us at
+ <a href="mailto:contact@ycra.org.uk">contact@ycra.org.uk</a>.</p><?php
+}
+
+include_once('includes/template.php');
],/*
'links' => [ 'name' => 'Useful Links',
'path' => '#'
- ],
- 'register' => [ 'name' => 'Register',
- 'path' => '#'
- ],
+ ],*/
+ 'documents' => [ 'name' => 'Documents',
+ 'path' => 'documents.php'
+ ],/*
'login' => [ 'name' => 'Login',
'path' => '#'
]*/