commit
0dd563c41d
|
@ -113,7 +113,13 @@ ${site_top()}
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a onclick="printpage()" title="Print this page"><span class="icon icon_print" /></a>
|
<a onclick="printpage()" title="Print this page"><span class="icon icon_print" /></a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="social-button booklist">
|
||||||
|
<button title="Add book to My Book List" id="add-to-booklist"
|
||||||
|
style="background-color: cornflowerblue;">+</button>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -378,5 +384,17 @@ ${site_top()}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function getBookMetadata(){
|
||||||
|
return {
|
||||||
|
bookId: "${os.id}",
|
||||||
|
title: "${os.title}",
|
||||||
|
imgSrc: "${os.cover_image_url}",
|
||||||
|
url: window.location.href
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script src="http://cdn.jsdelivr.net/gh/EbookFoundation/reading-lists/ebooks/book.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue