feat: dynamically link footer attribution to the site owner's author page
All checks were successful
Deploy Theme / deploy (push) Successful in 13s
All checks were successful
Deploy Theme / deploy (push) Successful in 13s
This commit is contained in:
@@ -8,7 +8,12 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
<p class="text-sm text-[var(--text-secondary)] sm:ml-4 sm:pl-4 sm:border-l-2 sm:border-[var(--bg-secondary)] sm:py-2 sm:mt-0 mt-4">
|
<p class="text-sm text-[var(--text-secondary)] sm:ml-4 sm:pl-4 sm:border-l-2 sm:border-[var(--bg-secondary)] sm:py-2 sm:mt-0 mt-4">
|
||||||
© {{date format="YYYY"}} {{@site.title}} — Created by <a href="https://pivoine.art" class="fancy-link">Valknar</a>
|
© {{date format="YYYY"}} {{@site.title}} —
|
||||||
|
{{#get "authors" limit="1" order="count.posts desc"}}
|
||||||
|
{{#foreach authors}}
|
||||||
|
Created by <a href="{{url}}" class="fancy-link">{{name}}</a>
|
||||||
|
{{/foreach}}
|
||||||
|
{{/get}}
|
||||||
</p>
|
</p>
|
||||||
<nav class="sm:ml-auto sm:mt-0 mt-4">
|
<nav class="sm:ml-auto sm:mt-0 mt-4">
|
||||||
{{navigation type="secondary"}}
|
{{navigation type="secondary"}}
|
||||||
|
|||||||
Reference in New Issue
Block a user