Commit 1aa9d2b7 authored by svilayphiou's avatar svilayphiou

put in on the wrong element, must be on the header

parent fc09efcb
......@@ -69,7 +69,7 @@ if($("body").hasClass("p-mode")){
// Create pages
$("body").append('<section id="master-page" class="page" data-title="' + $("header:first-child p").text() + ", " + $("header:first-child h2").text() + '"></section>');
$("body").append('<section id="master-page" class="page"></section>');
$("#master-page").append('\
<div class="print-marks">\
<div class="crop-top-left">\
......@@ -91,7 +91,7 @@ if($("body").hasClass("p-mode")){
</div>\
');
$("#master-page").append('<section class="header"></section>').append('<section class="main-section"><div class="column"></div></section>').append('<section class="footer"></section>');
$("#master-page").append('<section class="header" data-title="'+ $("header:first-child p").text() + ", " + $("header:first-child h2").text() +"'></section>').append('<section class="main-section"><div class="column"></div></section>').append('<section class="footer"></section>');
// OPTIONAL COLUMNS
try {
......
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