Jia "Jay" Tan 6 лет назад
Родитель
Сommit
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)
 - [Wataru Mizukami](https://github.com/tarumzu)
 - [Yudi Widiyanto](https://github.com/yudiwdynto)
 - [Yudi Widiyanto](https://github.com/yudiwdynto)
 - [Łukasz Mróz](https://github.com/mrozlukasz)
 - [Ł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 }}
               {{ i18n "reading_time" .ReadingTime }}
             </span>
             </span>
           </div>
           </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>
         </div>
       </header>
       </header>
 
 
@@ -31,11 +31,11 @@
       </div>
       </div>
 
 
       <footer>
       <footer>
-        {{ partial "posts/series" . }}
-        {{ partial "posts/disqus" . }}
+        {{ partial "posts/series.html" . }}
+        {{ partial "posts/disqus.html" . }}
       </footer>
       </footer>
     </article>
     </article>
 
 
-    {{ partial "posts/math" . }}
+    {{ partial "posts/math.html" . }}
   </section>
   </section>
 {{ end }}
 {{ end }}