Created
March 18, 2025 15:16
-
-
Save andresgallo/acff40abafb377855237c2bb7c5c92ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="Page-byline"> | |
<div class="Page-authors"> | |
{{#if authors}} | |
<span>{{~format "/page/Page" "authorBy"~}}</span> | |
{{#set authorsCount=(length authors)}} | |
{{~#each authors~}} | |
{{~#not (or @first @last)~}} | |
, | |
{{~else~}} | |
{{~#if @last~}} | |
{{~#not @first~}} | |
and | |
{{~/not~}} | |
{{~/if~}} | |
{{~/not~}} | |
{{~include "/author/byline/AuthorByline-InPage.hbs" this email=(not (le (get "authorsCount") 1) then=null otherwise=email)~}} | |
{{~/each~}} | |
{{/set}} | |
{{/if}} | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="Page-authors"> | |
{{#if authors}} | |
<span>{{~format "/page/Page" "authorBy"~}}</span> | |
{{~#each authors~}} | |
{{~#not (or @first @last)~}} | |
, | |
{{~else~}} | |
{{~#if @last~}} | |
{{~#not @first~}} | |
and | |
{{~/not~}} | |
{{~/if~}} | |
{{~/not~}} | |
// {{PRINTAUTHORHERE}} | |
{{~/each~}} | |
{{/if}} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment