mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-18 20:19:30 -07:00
feat: use absolute URLs for assets
closes #473, closes #476 Signed-off-by: Sped0n <hi@sped0n.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<nav>
|
||||
<div class="navArtist">
|
||||
<a href="/">{{ site.Title }}</a>
|
||||
<a href="/">{{- site.Title -}}</a>
|
||||
</div>
|
||||
<div class="links">
|
||||
{{- $index := 0 -}}
|
||||
@@ -9,7 +9,7 @@
|
||||
{{- $currentIndex = sub .Weight 1 -}}
|
||||
{{- end -}}
|
||||
{{- $menus := .Site.Menus.main -}}
|
||||
{{- $len := len $menus }}
|
||||
{{- $len := len $menus -}}
|
||||
{{- range $menus -}}
|
||||
{{- $url := .URL | relURL -}}
|
||||
{{- if eq (add $index 1) $len -}}
|
||||
|
||||
Reference in New Issue
Block a user