summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-23 18:23:57 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-23 18:23:57 +0530
commit1a980f1dcb2e34c9f2f6a42a175fcdb79ffb5a91 (patch)
tree34379940b72937bd5cf65987fc6158b8e4f437bc /layouts
parent91e30b806b024422eb257d54df2f5bd59725025d (diff)
refactor for "follow particular naming scheme
(91e30b806b024422eb257d54df2f5bd59725025d)"
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/partials/home_info.html2
-rw-r--r--layouts/partials/index_profile.html2
4 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 3346e60..2d728e0 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,7 +1,7 @@
{{- define "main" }}
{{- if (and .Site.Params.profileMode.enabled .IsHome) }}
-{{- partial "indexProfile.html" . }}
+{{- partial "index_profile.html" . }}
{{- else }} {{/* if not profileMode */}}
{{- if not .IsHome | and .Title }}
@@ -23,7 +23,7 @@
{{- $class := "post-entry" }}
{{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0)) }}
{{- if .Site.Params.homeInfoParams | or .Site.Params.disableSpecial1stPost}}
-{{- partial "homeInfo.html" . }}
+{{- partial "home_info.html" . }}
{{- else}}
{{- $class = "first-entry" }}
{{- end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index fc834f3..b1a5151 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -54,7 +54,7 @@
</ul>
{{- end }}
{{- if (and .Site.Params.ShowShareButtons (ne .Params.disableShare true) ) }}
- {{- partial "share-icons.html" . }}
+ {{- partial "share_icons.html" . }}
{{- end }}
</footer>
diff --git a/layouts/partials/home_info.html b/layouts/partials/home_info.html
index 2b4f18a..6f180e8 100644
--- a/layouts/partials/home_info.html
+++ b/layouts/partials/home_info.html
@@ -9,7 +9,7 @@
<footer class="entry-footer">
{{- with $.Site.Params.socialIcons }}
<div class="social-icons">
- {{- partial "social-icons.html" . }}
+ {{- partial "social_icons.html" . }}
</div>
{{- end }}
</footer>
diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html
index b1c1ae7..56e2f47 100644
--- a/layouts/partials/index_profile.html
+++ b/layouts/partials/index_profile.html
@@ -5,7 +5,7 @@
<h1>{{ .title | default $.Site.Title }}</h1>
{{- with $.Site.Params.socialIcons }}
<div class="social-icons">
- {{ partial "social-icons.html" . }}
+ {{ partial "social_icons.html" . }}
</div>
{{- end }}
{{- with .buttons }}