Added title and short title as selectable content
authorKai Moritz <kai@juplo.de>
Sun, 28 Feb 2021 20:27:21 +0000 (21:27 +0100)
committerKai Moritz <kai@juplo.de>
Sun, 28 Feb 2021 20:27:21 +0000 (21:27 +0100)
src/main/resources/META-INF/maven/site.vm

index b81690c..7f1a87a 100644 (file)
       maincontent=~{:: .maincontent},
       json='MERGE:' + ~{:: pre[class='json']/text()})}" >
   <head>
-    <title id="title">#if($shortTitle and $shortTitle != '')$title#else$project.name &mdash; $pages.get($alignedFileName).name#end</title>
+    <title class="title">$title</title>
     <meta http-equiv="Content-Type" content="text/html; charset=${outputEncoding}" />
     <link id="canonical" rel="canonical" href="$canonicalPath$alignedFileName"/>
   </head>
   <body>
+    <h1 class="short_title">$shortTitle</h1>
     <h2>Path</h2>
     <p>
       <ol>