Fix navbar highlighting for nested paths

This commit is contained in:
Will Faught
2022-09-08 00:08:53 -07:00
parent af5961713b
commit 54b45d6406
2 changed files with 6 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
{{ end }}
<div class="row py-3">
<div class="col">
<div class="rounded-4" style="background-image: url('/cover.jpg'); background-position: center; background-size: cover; height: 20rem; max-width: 100%"></div>
<div class="rounded-4" style="background-image: url('{{ .Site.BaseURL }}/cover.jpg'); background-position: center; background-size: cover; height: 20rem; max-width: 100%"></div>
</div>
</div>
<div class="d-flex justify-content-center py-3 row">
@@ -24,7 +24,7 @@
<p class="lead">{{ .Params.blurb | markdownify }}</p>
</div>
<div class="col-12 col-md-6 text-center">
<img alt="Avatar" class="img-fluid rounded-4" src="/avatar.jpg" style="max-height:20rem">
<img alt="Avatar" class="img-fluid rounded-4" src="{{ .Site.BaseURL }}/avatar.jpg" style="max-height:20rem">
</div>
</div>
</div>