index.html 1.7 KB

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