_layouts/default.html in jekyll-theme-lcsb-default-0.4.9 vs _layouts/default.html in jekyll-theme-lcsb-default-0.4.10
- old
+ new
@@ -7,20 +7,31 @@
<div class="main">
<div class="content-wrapper">
{%- include header.html -%}
<main class="page-content" aria-label="Content">
<div class="wrapper">
- {%- if page.show_print_button -%}
- <div class="print-button">
- <img src="{{ "assets/pdf.svg" | relative_url }}">
- <a href="javascript:window.print()"><span>Print the page</span></a>
+ <div class="wrapper-menu-right">
+ {%- if site.bookmarks_enabled and page.show_bookmark_button -%}
+ <div>
+ <img src="{{ "assets/bookmark.svg" | relative_url }}">
+ <a href="#" onclick=show_bookmark()><span>Add to bookmarks</span></a>
+ </div>
+ {%- endif -%}
+ {%- if page.show_print_button -%}
+ <div>
+ <img src="{{ "assets/pdf.svg" | relative_url }}">
+ <a href="javascript:window.print()"><span>Print the page</span></a>
+ </div>
+ {%- endif -%}
</div>
- {%- endif -%}
{{ content }}
</div>
</main>
</div>
{%- include footer.html -%}
</div>
</body>
{%- include scripts.html -%}
+{%- if site.bookmarks_enabled -%}
+ {%- include script_add_bookmark.html -%}
+{%- endif -%}
</html>