perf: allow no social links to be configured (#1494)
This commit is contained in:
parent
c5d11441bc
commit
4facf5b390
2 changed files with 12 additions and 2 deletions
|
@ -8,9 +8,15 @@
|
|||
"
|
||||
>
|
||||
<p>
|
||||
{{ '©' }}
|
||||
{{- '©' }}
|
||||
<time>{{ 'now' | date: '%Y' }}</time>
|
||||
|
||||
{% if site.social.links %}
|
||||
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>.
|
||||
{% else %}
|
||||
<em class="fst-normal">{{ site.social.name }}</em>.
|
||||
{% endif %}
|
||||
|
||||
{% if site.data.locales[include.lang].copyright.brief %}
|
||||
<span
|
||||
data-bs-toggle="tooltip"
|
||||
|
|
|
@ -144,6 +144,10 @@ footer {
|
|||
}
|
||||
}
|
||||
|
||||
em {
|
||||
@extend %text-highlight;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
margin-bottom: 0;
|
||||
|
|
Loading…
Reference in a new issue