{% assign posts = site.posts | where_exp:"post","post.url != page.url" %} {%- include /authors/authors.html -%} {%- assign postAuthor = page.authorName | split: " " -%} {%- assign author = postAuthor.first | downcase -%} {%- assign collection = [author] -%} {%- for item in collection -%} {%- if forloop.index==1 -%} {%- assign authorName = item -%} {%- endif -%} {%- if forloop.index==2 -%} {%- assign image = item -%} {%- endif -%} {%- if forloop.index==3 -%} {%- assign bio = item -%} {%- endif -%} {%- endfor -%} {% capture author_info %}{% assign author = authorName %}{% assign bio = bio %}{{ author }} - {{ bio }}{% endcapture %} {% capture author_name %}{% assign author = authorName %}{{ author }}{% endcapture %} {% assign authorPageTitle = author_info %} {% assign author_name = author_name %} {%- assign title = newtitle -%} {%- assign description = pagedescription-%} {{authorPageTitle | default: page.title}} {%- include google-analytics.html -%}