From ffb50fcf96c340386392ba3d8fb6b1f3554b4f1b Mon Sep 17 00:00:00 2001
From: Jia "Jay" Tan <j7an@users.noreply.github.com>
Date: Fri, 14 Jun 2019 16:27:38 +0000
Subject: [PATCH] Add .html to partials (#188)
---
layouts/posts/single.html | 10 +++++-----
CONTRIBUTORS.md | 1 +
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 8c4041f..6733887 100644
--- a/CONTRIBUTORS.md
+++ b/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)
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index a7be870..d670139 100644
--- a/layouts/posts/single.html
+++ b/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 }}
--
Gitblit v1.10.0