summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/partials/index_profile.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/PaperMod/layouts/partials/index_profile.html')
-rw-r--r--themes/PaperMod/layouts/partials/index_profile.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/themes/PaperMod/layouts/partials/index_profile.html b/themes/PaperMod/layouts/partials/index_profile.html
new file mode 100644
index 0000000..4e961ba
--- /dev/null
+++ b/themes/PaperMod/layouts/partials/index_profile.html
@@ -0,0 +1,23 @@
+<div class="profile">
+ {{- with .Site.Params.profileMode }}
+ <div class="profile_inner">
+ {{- if .imageUrl -}}
+ <img src="{{ .imageUrl | absURL }}" alt="{{ .imageTitle | default "profile image" }}"
+ height="{{ .imageHeight | default 150 }}" width="{{ .imageWidth | default 150 }}" />
+ {{- end }}
+ <h1>{{ .title | default $.Site.Title | markdownify }}</h1>
+ <span>{{ .subtitle | markdownify }}</span>
+ {{- partial "social_icons.html" $.Site.Params.socialIcons -}}
+
+ {{- with .buttons }}
+ <div class="buttons">
+ {{- range . }}
+ <a class="button" href="{{ trim .url " " }}" rel="noopener" title="{{ .name | title }}">
+ <span class="button-inner">{{ .name | title }}</span>
+ </a>
+ {{- end }}
+ </div>
+ {{- end }}
+ </div>
+ {{- end}}
+</div>