index.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <%- head_tpl({site_title = site_title, title = "Content model documentation"}) %>
  5. </head>
  6. <body>
  7. <main>
  8. <h1 class="title"><%= site_title %>: Content model documentation</h1>
  9. <section id="descr">
  10. <p>This is the content model documentation for the currently
  11. running instance of Pocket Archive. Each instance may have its
  12. own content model.</p>
  13. <p>If you are an archivist looking for instructions on how to
  14. use the content model for submissions, see the <a
  15. href="https://git.knowledgetx.com/scossu/pocket_archive/src/master/doc/content_model_primer.md">content
  16. modeling primer</a> documentation.</p>
  17. <p>If you are a system administrator looking for a guide to setting up
  18. a content model, see the
  19. <a href="https://git.knowledgetx.com/scossu/pocket_archive/src/master/doc/content_model_manual.md">content
  20. model guide</a> (work in progress).</p>
  21. </section>
  22. <section id="cm_list">
  23. <h2>Content types</h2>
  24. <p>Below are the content types defined for this archive and
  25. the links to their schema definitions:</p>
  26. <ul>
  27. <% for _, schema in ipairs(types) do %>
  28. <li><a href="schema/<%= schema.id -%>.html">
  29. <%= schema.label %>
  30. </a></li>
  31. <% end %>
  32. </ul>
  33. </section>
  34. </main>
  35. <footer></footer>
  36. </body>
  37. </html>