소스 검색

Link article title

Riccardo Balbo 3 년 전
부모
커밋
a83dabc8b8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      layouts/partials/articleView.html

+ 2 - 2
layouts/partials/articleView.html

@@ -2,7 +2,7 @@
 
     {{ if not .Params.hidetitle}}
     <h1>
-        {{ .Title }}
+        <a href="{{ .RelPermalink }}">{{ .Title }}</a>
     </h1>
     {{end }}
 
@@ -17,4 +17,4 @@
 {{ partial "tagsView.html" . }}      
 {{ partial "comments.html" . }}      
 
-</article>
+</article>