_includes/appscms/featurePageAuthors/featurePageAuthors.html in appscms-tools-theme-4.4.4 vs _includes/appscms/featurePageAuthors/featurePageAuthors.html in appscms-tools-theme-4.4.5
- old
+ new
@@ -7,11 +7,10 @@
{%- if featureData.author -%}
<h4 class="mb-4 text-center authors-heading font-weight-bolder">
About The Author
</h4>
{%- endif -%}
- <div class="row">
{%- if featureData.author -%} {%- include authors/authors.html -%} {%-
assign featureAuthor = featureData.author | split: " " -%} {%- assign
author = featureAuthor.first | downcase -%} {%- assign collection =
[author] -%} {%- for item in collection -%} {%- if forloop.index==1
-%} {%- assign featureAuthorName = item -%} {%- endif -%} {%- if
@@ -40,20 +39,11 @@
{%-
endif
-%}
/>
</a>
- <div class="author-meta">
- <p class="mb-0 authorName text-capitalize">
- <a
- target="_blank"
- href="/authors/{{featureAuthorName | downcase | replace: ' ','-' }}"
- {{featureAuthorName}}
- </a>
- </p>
- <p class="author_bio mb-0">{{featureAuthorBio}}</p>
- </div>
+ <p class="author-meta author_bio mt-3 mb-0">{{featureAuthorBio}}</p>
</div>
{%- endif %} {%- assign contributors = featureData.contributors |
uniq: 'name' -%} {%- if contributors.size > 0 -%}
<h4 class="mb-4 w-100 text-center authors-heading font-weight-bolder">
Contributors
@@ -87,10 +77,9 @@
</a>
{%- assign featureContributorDataName = false -%} {%- else -%} {%-
endif -%} {%- endfor -%}
</div>
{%- endif -%}
- </div>
</div>
</div>
</div>
</section>