소스 검색

Update get-author-name.html (#61)

Changed default to the parameters in Config file for consistency
Cristian Marquez Russo 4 년 전
부모
커밋
8f2f18b34c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      layouts/partials/helpers/get-author-name.html

+ 1 - 1
layouts/partials/helpers/get-author-name.html

@@ -1,4 +1,4 @@
-{{ $authorName:= "John Doe"}}
+{{ $authorName:= .Site.Params.author.name }}
 {{ if .Site.Data.site.author}}
     {{ $authorName = .Site.Data.site.author.name }}
 {{ end}}