{% include appscms/head/bloghead.html %}
{%- include appscms/navbars/navbar.html -%} {%- include appscms/navbars/toolbar.html -%}
Our Authors
{% assign authorsList = "" | split: "" %} {% assign folder_path = '' %} {% for file in site.pages %} {% if file.path contains folder_path %} {% assign pageData = file | parse_yaml %} {% assign lang = pageData.lang %} {% assign foldername = pageData.folderName %} {% assign filename = pageData.fileName %} {% assign permalink = pageData.permalink %} {% assign json_data = site.data[foldername][lang][filename] | json %} {% for author in json_data.author %} {%- assign splitAuthor = author | split: " " -%} {% assign featureAuthorFirst = splitAuthor.first | downcase %} {%- assign collectionData = [featureAuthorFirst] -%} {%- for item in collectionData -%} {%- if forloop.index == 1 -%} {%- assign seoTeamAuthorName = item -%} {%- assign authorsList = authorsList | push: seoTeamAuthorName -%} {%- endif -%} {%- endfor -%} {% endfor %} {% endif %} {%- endfor -%} {% assign contributorAuthors = "" | split: "" %} {% assign folder_path = '' %} {% for file in site.pages %} {% if file.path contains folder_path %} {% assign pageData = file | parse_yaml %} {% assign lang = pageData.lang %} {% assign foldername = pageData.folderName %} {% assign filename = pageData.fileName %} {% assign permalink = pageData.permalink %} {% assign json_data = site.data[foldername][lang][filename] | json %} {% for contributor in json_data.contributors %} {%- assign splitAuthor = contributor.name | split: " " -%} {% assign contributorAuthor = splitAuthor.first | downcase %} {%- assign collectionData = [contributorAuthor] -%} {%- for item in collectionData -%} {%- if forloop.index == 1 -%} {%- assign contributorAuthor = item -%} {%- assign contributorAuthors = contributorAuthors | push: contributorAuthor -%} {% assign mergedArray = authorsList | concat: contributorAuthors %} {% endif %} {%- endfor -%} {% endfor %} {% endif %} {% endfor %} {% assign postAuthors = "" | split: "" %} {%- for post in site.posts -%} {%- if post.author != "" -%} {%- assign postAuthors = postAuthors | push: post.author -%} {% assign final_array = mergedArray | concat: postAuthors %} {%- endif -%} {%- endfor -%} {% assign uniqueArray = final_array | uniq %} {% for author in uniqueArray %} {%- assign splitAuthor = author | split: " " -%} {%- assign authorFirst = splitAuthor.first | downcase -%} {%- assign collectionData = [authorFirst] -%} {%- for item in collectionData -%} {%- if forloop.index == 1 -%} {%- assign authorName = item -%} {%- elsif forloop.index == 2 -%} {%- assign image = item -%} {%- elsif forloop.index == 3 -%} {%- assign bio = item -%} {%- endif -%} {%- endfor -%}
{{authorName | capitalize }}
{% assign authorPosts = site.posts | where: 'author', author %} {% assign postCount = authorPosts | size %} {% if postCount > 0 %}
{{ postCount }} Posts
{% endif %}
{{bio}}
{% endfor %}
{% include section/count.html %}
{%- include appscms/footer/static-footer.html -%} {%- include appscms/scripts/script.html -%}