From ffb50fcf96c340386392ba3d8fb6b1f3554b4f1b Mon Sep 17 00:00:00 2001 From: "Jia \"Jay\" Tan" Date: Fri, 14 Jun 2019 09:27:38 -0700 Subject: [PATCH] Add .html to partials (#188) --- CONTRIBUTORS.md | 1 + layouts/posts/single.html | 10 +++++----- 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 }} - {{ 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 }} @@ -31,11 +31,11 @@ - {{ partial "posts/math" . }} + {{ partial "posts/math.html" . }} {{ end }}