Commit fc09efcb authored by svilayphiou's avatar svilayphiou

authors + title in attribute 'data-title' of pages → then we can use their...

authors + title in attribute 'data-title' of pages → then we can use their content to display them as running title
parent 36676a07
......@@ -69,7 +69,7 @@ if($("body").hasClass("p-mode")){
// Create pages
$("body").append('<section id="master-page" class="page"></section>');
$("body").append('<section id="master-page" class="page" data-title="' + $("header:first-child p").text() + ", " + $("header:first-child h2").text() + '"></section>');
$("#master-page").append('\
<div class="print-marks">\
<div class="crop-top-left">\
......
Markdown is supported
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