mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
profile-mode: enabled only on .Site.Params.profileMode.enabled: true
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ if (and .Site.Params.profileMode .IsHome) }}
|
||||
{{ if (and .Site.Params.profileMode.enabled .IsHome) }}
|
||||
{{- partial "indexProfile.html" . }}
|
||||
{{else}} {{/* if not profileMode */}}
|
||||
|
||||
|
Reference in New Issue
Block a user