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