summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/partials/index_profile.html
diff options
context:
space:
mode:
authorIndrajith K L2022-03-19 16:54:23 +0530
committerIndrajith K L2022-03-19 16:54:23 +0530
commit29fcd231e3da9b33c237886f3c1bb30a557ad641 (patch)
tree8eba56550b35938e7c445c9ed6d9005c14036666 /themes/PaperMod/layouts/partials/index_profile.html
downloadexperimentsofindrajith-29fcd231e3da9b33c237886f3c1bb30a557ad641.tar.gz
experimentsofindrajith-29fcd231e3da9b33c237886f3c1bb30a557ad641.tar.bz2
experimentsofindrajith-29fcd231e3da9b33c237886f3c1bb30a557ad641.zip
Initial Commit
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>