Skip to content

Commit

Permalink
Change "includes" placement
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed Mar 19, 2020
1 parent 004e874 commit ceacf9d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
17 changes: 9 additions & 8 deletions inst/templates/material/material.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,6 @@

<body>

$for(include-before)$
$include-before$
$endfor$

<div class="header-panel shadow z-2">
<div class="container-fluid">
<div class="row">
Expand Down Expand Up @@ -209,7 +205,16 @@ <h4 class="date">$date$</h4>
<div class="row">

<div class="col-xs-10">

$for(include-before)$
$include-before$
$endfor$

$body$

$for(include-after)$
$include-after$
$endfor$
</div>

<div class="col-xs-2">
Expand Down Expand Up @@ -239,10 +244,6 @@ <h4 class="date">$date$</h4>
</div>
</div>

$for(include-after)$
$include-after$
$endfor$

<script>
$$(document).ready(function () {
// add bootstrap table styles to pandoc tables
Expand Down
10 changes: 4 additions & 6 deletions inst/templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@

<body>

$for(include-before)$
$include-before$
$endfor$

$if(html_clean)$
<!-- html_clean start -->
<div class="container-fluid main-container">
Expand Down Expand Up @@ -187,6 +183,10 @@
</ul>
</div>
$endif$

$for(include-before)$
$include-before$
$endfor$

$if(title)$
<h1 class="title">$title$</h1>
Expand Down Expand Up @@ -288,8 +288,6 @@ <h4 class="date"><em>$date$</em></h4>
$include-after$
$endfor$



$if(html_clean)$
</div>
<div class="col-md-2">
Expand Down

0 comments on commit ceacf9d

Please sign in to comment.