Skip to content

Commit

Permalink
Fix paths and remove partials in XSL template
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeso committed Mar 22, 2020
1 parent 7ca45b3 commit e31c9f9
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions assets/xml/base.tpl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,20 @@
<link rel="stylesheet" href="{{ $site_css.Permalink }}" integrity="{{ $site_css.Data.Integrity }}" />
</head>
<body>
{{ partialCached "banner.html" . }}
<nav class="u-background">
<div class="u-wrapper">
<ul class="Banner">
<li class="Banner-item Banner-item--title">
<a class="Banner-link u-clickable" href="{{ absURL nil }}">{{ site.Title }}</a>
</li>
{{ range site.Menus.nav }}
<li class="Banner-item">
<a class="Banner-link u-clickable" href="{{ absURL .URL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
</div>
</nav>
<main>
<div class="u-wrapper">
<div class="u-padding">
Expand All @@ -26,7 +39,15 @@
</div>
</div>
</main>
{{ partialCached "footer.html" . }}
{{ with site.Params.footer }}
<footer class="Footer">
<div class="u-wrapper">
<div class="u-padding">
{{ safeHTML . }}
</div>
</div>
</footer>
{{ end }}
</body>
</html>
</xsl:template>
Expand Down

0 comments on commit e31c9f9

Please sign in to comment.