Skip to content

Juhye Lee's papers show up on Jover Lee's team page #17

@tsibley

Description

@tsibley

See the bottom of https://bedford.io/team/jover-lee/.

This looks like the code that's responsible for doing the lastname + first initial matching that's causing the problem:

{% assign lastname = member.title | split: ' ' | last %}
{% assign firstinitial = member.title | split: ' ' | first | slice: 0 %}
{% assign searchstring = lastname | append: ' ' | append: firstinitial %}
{% for paper in site.categories.papers %}
{% if paper.authors contains searchstring %}
{% assign papersq = true %}
{% endif %}
{% endfor %}
{% if papersq == true %}
<div class="bigspacer"></div>
<div class="head">Papers</div>
<div class="spacer"></div>
{% for paper in site.categories.papers %}
{% if paper.authors contains searchstring %}
<p><a href="{{ paper.url }}" class="off">{{ paper.title }}</a>
{% endif %}
{% endfor %}
{% endif %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions