-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (40 loc) · 1.92 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
layout: default
title: Home
nav_order: 1
---
{% comment %}NOTE: could put type on the body element via yaml config, but
could be misleading because this is also a website ... {% endcomment %}
<div class="container" typeof="schema:Book">
<meta property="schema:url" content="{{ site.url }}" />
<meta property="schema:name" content="{{ site.publication_info.title }}" />
<div property="schema:author" typeof="schema:Person">
<meta property="schema:name" content="{{ site.publication_info.author }}" />
</div>
{% for editor in site.publication_info.editors %}
<div property="schema:editor" typeof="schema:Person">
<meta property="schema:name" content="{{ editor }}" />
</div>
{% endfor %}
<img property="schema:image" src="{{ site.homepage_image }}"/>
<p><span property="schema:numberOfPages">{{ site.volume_pages|size }}</span> pages,
<span property="schema:commentCount">{{ site.annotations|size }}</span> annotations.</p>
<!-- source publication information -->
{% if site.source_info %}
<p class="text-muted">
<em>{{ site.source_info.title }}</em>.
{{ site.source_info.author}}, {{ site.source_info.date }}.
</p>
{% endif %}
<!-- todo: use page objects for this instead of hard-coding urls -->
<p><a href="{{ site.baseurl }}/introduction/">Read the introduction</a></p>
<p><a href="{{ site.baseurl }}/pages/">Browse the pages</a></p>
{% comment %} link to source edition if urls are configured {% endcomment %}
{% if site.source_info.url and site.source_info.pdf_url %}
<p>View the <a property="schema:isBasedOnUrl" href="{{ site.source_info.url }}">source digital edition</a>
or download the <a href="{{ site.source_info.pdf_url }}">source PDF</a>{% if site.source_info.via_readux %} on <a href="http://readux.library.emory.edu/">Readux</a>{% endif %}.</p>
{% endif %}
{% if site.publication_info.tei_xml %}
<p>View annotated edition as <a href="{{ site.publication_info.tei_xml }}">TEI XML</a>.</p>
{% endif %}
</div>