diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-09-23 18:21:28 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-09-23 18:21:28 +0530 |
| commit | 91e30b806b024422eb257d54df2f5bd59725025d (patch) | |
| tree | c2985f1c3bd178afa64b1d7f52fbaed55706209d /layouts/partials/index_profile.html | |
| parent | a6e17280a1485f22d678a491a6ba355193ea8490 (diff) | |
follow particular naming scheme
Diffstat (limited to 'layouts/partials/index_profile.html')
| -rw-r--r-- | layouts/partials/index_profile.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html new file mode 100644 index 0000000..b1c1ae7 --- /dev/null +++ b/layouts/partials/index_profile.html @@ -0,0 +1,22 @@ +<div class="profile"> + {{- with .Site.Params.profileMode }} + <div class="profile_inner"> + {{- if .imageUrl}}<img src="{{ .imageUrl}}" alt="{{ .imageTitle | default "profile image" }}" />{{- end}} + <h1>{{ .title | default $.Site.Title }}</h1> + {{- with $.Site.Params.socialIcons }} + <div class="social-icons"> + {{ partial "social-icons.html" . }} + </div> + {{- end }} + {{- with .buttons }} + <div class="buttons"> + {{- range . -}} + <a class="button" href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}"> + <span class="button-inner">{{ .name }}</span> + </a> + {{- end -}} + </div> + {{- end }} + </div> + {{- end}} +</div>
\ No newline at end of file |
