IMPROVEMENT: Permalink -> RelPermalink

This commit is contained in:
FarseaSH 2024-09-09 21:09:52 +08:00
parent ad503162f2
commit bf1d1e396a
5 changed files with 24 additions and 24 deletions

View file

@ -3,7 +3,7 @@
{{ $background_path = . }}
{{ end }}
{{ if resources.Get $background_path }}
{{ $background_path = (resources.Get $background_path).Permalink }}
{{ $background_path = (resources.Get $background_path).RelPermalink }}
{{ end }}
<div class="jumbotron" style="background-image: url({{ $background_path }});">
<div class="container">