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" }}
{{- 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 }}

View File

@ -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>

View File

@ -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>

View File

@ -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 }}