commit
0dd563c41d
|
@ -113,6 +113,12 @@ ${site_top()}
|
|||
</li>
|
||||
<li>
|
||||
<a onclick="printpage()" title="Print this page"><span class="icon icon_print" /></a>
|
||||
</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>
|
||||
</div>
|
||||
|
@ -378,5 +384,17 @@ ${site_top()}
|
|||
|
||||
</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>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue