Commit 78910b95 authored by barth23's avatar barth23
Browse files

Merge branch 'staging'

parents fee9384f 0fb70d1a
......@@ -125,9 +125,12 @@
<a href="contact.html">
<i class="fa fa-envelope"/>
</a>
<a href="https://architrave.hypotheses.org">
<a target="_blank" href="https://architrave.hypotheses.org">
<i class="fa fa-rss"/>
</a>
<a target="_blank" href="https://twitter.com/teamARCHITRAVE">
<i class="fab fa-twitter"/>
</a>
</div>
</div>
</div>
......
......@@ -1726,12 +1726,16 @@ function getMetadata() {
console.log('error: no edition-dateModified');
}
try {
document.querySelector("#edition-textGridURI").innerText = document.querySelector("#tei-meta-textGridURI").innerText;
const tg_uri = document.querySelector("#tei-meta-textGridURI").innerText
const tg_uri_link = "https://textgridrep.org/"+tg_uri
document.querySelector("#edition-textGridURI").innerHTML = '<a target="_blank" href="'+tg_uri_link+'">'+tg_uri+'</a>';
} catch (e) {
console.log('error: no edition-textGridURI');
}
try {
document.querySelector("#edition-PID").innerText = document.querySelector("#tei-meta-pid").innerText;
const hdl = document.querySelector("#tei-meta-pid").innerText
const hdl_link = "https://hdl.handle.net/" + hdl.split("hdl:")[1]
document.querySelector("#edition-PID").innerHTML = '<a target="_blank" href="'+hdl_link+'">'+hdl+'</a>';
} catch (e) {
console.log('error: no edition-PID');
}
......
......@@ -106,14 +106,15 @@
</div>
</div>
<div class="col-5 col-sm-4 col-lg-2 d-flex justify-content-between arch-icons">
<a href="https://twitter.com/teamARCHITRAVE">
</a>
<a href="contact.html">
<i class="fa fa-envelope"/>
</a>
<a href="https://architrave.hypotheses.org">
<a target="_blank" href="https://architrave.hypotheses.org">
<i class="fa fa-rss"/>
</a>
<a target="_blank" href="https://twitter.com/teamARCHITRAVE">
<i class="fab fa-twitter"/>
</a>
</div>
</div>
</div>
......
......@@ -112,14 +112,15 @@
</div>
</div>
<div class="col-5 col-sm-4 col-lg-2 d-flex justify-content-between arch-icons">
<a href="https://twitter.com/teamARCHITRAVE">
</a>
<a href="contact.html">
<i class="fa fa-envelope"/>
</a>
<a href="https://architrave.hypotheses.org">
<a target="_blank" href="https://architrave.hypotheses.org">
<i class="fa fa-rss"/>
</a>
<a target="_blank" href="https://twitter.com/teamARCHITRAVE">
<i class="fab fa-twitter"/>
</a>
</div>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment