VERSION 2.0

This commit is contained in:
WillJeynes
2024-05-26 22:01:24 +01:00
parent 3c7ad1f3a2
commit 2dbdc59345
255 changed files with 9100 additions and 1309 deletions
+31
View File
@@ -0,0 +1,31 @@
{% assign author = page.author | default: page.authors[0] | default: site.author %}
{% if author %}
{% if author.name %}
{% assign author_name = author.name %}
{% else %}
{% if site.data.authors and site.data.authors[author] %}
{% assign author_name = site.data.authors[author].name %}
{% else %}
{% assign author_name = author %}
{% endif %}
{% endif %}
{% if author.picture %}
{% assign author_picture = author.picture %}
{% else %}
{% if site.data.authors and site.data.authors[author] %}
{% assign author_picture = site.data.authors[author].picture %}
{% endif %}
{% endif %}
{% assign author_picture = author_picture | relative_url %}
{% if author.twitter %}
{% assign author_twitter = author.twitter %}
{% else %}
{% if site.data.authors and site.data.authors[author] %}
{% assign author_twitter = site.data.authors[author].twitter %}
{% else %}
{% assign author_twitter = site.twitter_username %}
{% endif %}
{% endif %}
{% endif %}