1234567891011121314151617181920212223242526272829303132333435363738 |
- <!DOCTYPE html>
- <html>
- <head>
- <%- head_tpl({site_title = site_title, title = "Content model documentation"}) %>
- </head>
- <body>
- <main>
- <h1 class="title"><%= site_title %>: Content model documentation</h1>
- <section id="descr">
- <p>This is the content model documentation for the currently
- running instance of Pocket Archive. Each instance may have its
- own content model.</p>
- <p>If you are an archivist looking for instructions on how to
- use the content model for submissions, see the <a
- href="https://git.knowledgetx.com/scossu/pocket_archive/src/master/doc/content_model_primer.md">content
- modeling primer</a> documentation.</p>
- <p>If you are a system administrator looking for a guide to setting up
- a content model, see the
- <a href="https://git.knowledgetx.com/scossu/pocket_archive/src/master/doc/content_model_manual.md">content
- model guide</a> (work in progress).</p>
- </section>
- <section id="cm_list">
- <h2>Content types</h2>
- <p>Below are the content types defined for this archive and
- the links to their schema definitions:</p>
- <ul>
- <% for _, schema in ipairs(types) do %>
- <li><a href="schema/<%= schema.id -%>.html">
- <%= schema.label %>
- </a></li>
- <% end %>
- </ul>
- </section>
- </main>
- <footer></footer>
- </body>
- </html>
|