Commit a562154e authored by svilayphiou's avatar svilayphiou

Attribute "data-title" based on h2[property='dc-title"] → used for

running titles
parent 14d06a11
......@@ -91,7 +91,7 @@ if($("body").hasClass("p-mode")){
</div>\
');
$("#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>');
$("#master-page").append('<section class="header" data-title="'+ $("h2[property='dc:title']").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