refactor for "follow particular naming scheme

(91e30b806b)"
This commit is contained in:
Aditya Telange 2020-09-23 18:23:57 +05:30
parent 91e30b806b
commit 1a980f1dcb
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
4 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{{- define "main" }} {{- define "main" }}
{{- if (and .Site.Params.profileMode.enabled .IsHome) }} {{- if (and .Site.Params.profileMode.enabled .IsHome) }}
{{- partial "indexProfile.html" . }} {{- partial "index_profile.html" . }}
{{- else }} {{/* if not profileMode */}} {{- else }} {{/* if not profileMode */}}
{{- if not .IsHome | and .Title }} {{- if not .IsHome | and .Title }}
@ -23,7 +23,7 @@
{{- $class := "post-entry" }} {{- $class := "post-entry" }}
{{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0)) }} {{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0)) }}
{{- if .Site.Params.homeInfoParams | or .Site.Params.disableSpecial1stPost}} {{- if .Site.Params.homeInfoParams | or .Site.Params.disableSpecial1stPost}}
{{- partial "homeInfo.html" . }} {{- partial "home_info.html" . }}
{{- else}} {{- else}}
{{- $class = "first-entry" }} {{- $class = "first-entry" }}
{{- end }} {{- end }}

View File

@ -54,7 +54,7 @@
</ul> </ul>
{{- end }} {{- end }}
{{- if (and .Site.Params.ShowShareButtons (ne .Params.disableShare true) ) }} {{- if (and .Site.Params.ShowShareButtons (ne .Params.disableShare true) ) }}
{{- partial "share-icons.html" . }} {{- partial "share_icons.html" . }}
{{- end }} {{- end }}
</footer> </footer>

View File

@ -9,7 +9,7 @@
<footer class="entry-footer"> <footer class="entry-footer">
{{- with $.Site.Params.socialIcons }} {{- with $.Site.Params.socialIcons }}
<div class="social-icons"> <div class="social-icons">
{{- partial "social-icons.html" . }} {{- partial "social_icons.html" . }}
</div> </div>
{{- end }} {{- end }}
</footer> </footer>

View File

@ -5,7 +5,7 @@
<h1>{{ .title | default $.Site.Title }}</h1> <h1>{{ .title | default $.Site.Title }}</h1>
{{- with $.Site.Params.socialIcons }} {{- with $.Site.Params.socialIcons }}
<div class="social-icons"> <div class="social-icons">
{{ partial "social-icons.html" . }} {{ partial "social_icons.html" . }}
</div> </div>
{{- end }} {{- end }}
{{- with .buttons }} {{- with .buttons }}