mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +01:00
parent
91e30b806b
commit
1a980f1dcb
@ -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 }}
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user