From 1a980f1dcb2e34c9f2f6a42a175fcdb79ffb5a91 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Wed, 23 Sep 2020 18:23:57 +0530 Subject: [PATCH] refactor for "follow particular naming scheme (91e30b806b024422eb257d54df2f5bd59725025d)" --- layouts/_default/list.html | 4 ++-- layouts/_default/single.html | 2 +- layouts/partials/home_info.html | 2 +- layouts/partials/index_profile.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 3346e60b..2d728e07 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 fc834f3c..b1a5151d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -54,7 +54,7 @@ {{- end }} {{- if (and .Site.Params.ShowShareButtons (ne .Params.disableShare true) ) }} - {{- partial "share-icons.html" . }} + {{- partial "share_icons.html" . }} {{- end }} diff --git a/layouts/partials/home_info.html b/layouts/partials/home_info.html index 2b4f18a7..6f180e8e 100644 --- a/layouts/partials/home_info.html +++ b/layouts/partials/home_info.html @@ -9,7 +9,7 @@ diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index b1c1ae79..56e2f475 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -5,7 +5,7 @@

{{ .title | default $.Site.Title }}

{{- with $.Site.Params.socialIcons }}
- {{ partial "social-icons.html" . }} + {{ partial "social_icons.html" . }}
{{- end }} {{- with .buttons }}