소스 검색

Add .html to partials (#188)

Jia "Jay" Tan 6 년 전
부모
커밋
ffb50fcf96
2개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 0
      CONTRIBUTORS.md
  2. 5 5
      layouts/posts/single.html

+ 1 - 0
CONTRIBUTORS.md

@@ -38,3 +38,4 @@
 - [Wataru Mizukami](https://github.com/tarumzu)
 - [Yudi Widiyanto](https://github.com/yudiwdynto)
 - [Łukasz Mróz](https://github.com/mrozlukasz)
+- [Jia "Jay" Tan](https://github.com/j7an)

+ 5 - 5
layouts/posts/single.html

@@ -21,8 +21,8 @@
               {{ i18n "reading_time" .ReadingTime }}
             </span>
           </div>
-          {{ with .Page.Params.Categories }}{{ partial "taxonomy/categories" . }}{{ end }}
-          {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }}
+          {{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
+          {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
         </div>
       </header>
 
@@ -31,11 +31,11 @@
       </div>
 
       <footer>
-        {{ partial "posts/series" . }}
-        {{ partial "posts/disqus" . }}
+        {{ partial "posts/series.html" . }}
+        {{ partial "posts/disqus.html" . }}
       </footer>
     </article>
 
-    {{ partial "posts/math" . }}
+    {{ partial "posts/math.html" . }}
   </section>
 {{ end }}