Replace absURL with relURL and .Site.X with site.X

This commit is contained in:
Emruz Hossain 2020-10-23 00:19:35 +06:00
parent dda04c533e
commit c542effd65
20 changed files with 72 additions and 72 deletions

View file

@ -1,6 +1,6 @@
{{ $authorName:= .Site.Params.author.name }}
{{ if .Site.Data.site.author}}
{{ $authorName = .Site.Data.site.author.name }}
{{ $authorName:= site.Params.author.name }}
{{ if site.Data.site.author}}
{{ $authorName = site.Data.site.author.name }}
{{ end}}
{{ if eq (printf "%T" .Params.author ) "maps.Params" }}
{{ with .Params.author }}