소스 검색

Added .BaseURL to link in 404 page

digitalcraftsman 9 년 전
부모
커밋
11adcd3d14
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      layouts/404.html

+ 1
- 1
layouts/404.html 파일 보기

@@ -5,7 +5,7 @@
5 5
 
6 6
     <div class="content container">
7 7
       <h1>404: Page not found</h1>
8
-        <p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="/">Head back home</a> to try finding it again.</p>
8
+        <p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ .Site.BaseURL }}">Head back home</a> to try finding it again.</p>
9 9
     </div>
10 10
 
11 11
   </body>