mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-07-15 23:42:34 +02:00
Compare commits
5 Commits
2a037b6b1d
...
aa3084c586
Author | SHA1 | Date | |
---|---|---|---|
![]() |
aa3084c586 | ||
![]() |
0989c28a0e | ||
![]() |
fb1c0aeb6f | ||
![]() |
69e5e085ab | ||
![]() |
f8e125c7ee |
@@ -27,12 +27,10 @@
|
|||||||
margin-inline-start: auto;
|
margin-inline-start: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-icons {
|
|
||||||
padding: 12px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.social-icons a:not(:last-of-type) {
|
.social-icons a {
|
||||||
margin-inline-end: 12px;
|
display: inline-flex;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-icons a svg {
|
.social-icons a svg {
|
||||||
|
@@ -10,19 +10,20 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile .profile_inner h1 {
|
.profile .profile_inner {
|
||||||
padding: 12px 0;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile img {
|
.profile img {
|
||||||
display: inline-table;
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
{{ .Content | markdownify }}
|
{{ .Content | markdownify }}
|
||||||
</div>
|
</div>
|
||||||
<footer class="entry-footer">
|
<footer class="entry-footer">
|
||||||
{{ partial "social_icons.html" site.Params.socialIcons }}
|
{{ partial "social_icons.html" (dict "align" site.Params.homeInfoParams.AlignSocialIconsTo) }}
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
<h1>{{ .title | default site.Title | markdownify }}</h1>
|
<h1>{{ .title | default site.Title | markdownify }}</h1>
|
||||||
<span>{{ .subtitle | markdownify }}</span>
|
<span>{{ .subtitle | markdownify }}</span>
|
||||||
{{- partial "social_icons.html" site.Params.socialIcons -}}
|
{{- partial "social_icons.html" -}}
|
||||||
|
|
||||||
{{- with .buttons }}
|
{{- with .buttons }}
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
<div class="social-icons">
|
<div class="social-icons" {{ with .align}}align="{{.}}" {{- end }}>
|
||||||
{{- range . }}
|
{{- range site.Params.socialIcons }}
|
||||||
<a href="{{ trim .url " " | safeURL }}" target="_blank" rel="noopener noreferrer me" title="{{ (.title | default .name) | title }}">
|
<a href="{{ trim .url " " | safeURL }}" target="_blank" rel="noopener noreferrer me"
|
||||||
|
title="{{ (.title | default .name) | title }}">
|
||||||
{{ partial "svg.html" . }}
|
{{ partial "svg.html" . }}
|
||||||
</a>
|
</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Reference in New Issue
Block a user