Skip to content

Commit

Permalink
fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
xhluca committed Oct 23, 2024
1 parent e7d221a commit 2d7e110
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _layouts/paper.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@

<!-- This section is the meta element for the authors that are properly parsed. -->
{% assign authors = page.names | split: ',' %}
{{ authors | inspect }}
{% for author in authors %}
<!-- Strip author name -->
{% assign authorNameStriped = author | strip %}

<span itemprop="author" itemscope itemtype="https://schema.org/Person">
<meta itemprop="name" content="{{ authorNameStriped }}">
<meta itemprop="identifier" content="{{ authorNameStriped }}">
{{ authorNameStriped }}

{% if site.data.authors[authorNameStriped] != nil %}
{% assign first_link = site.data.authors[authorNameStriped].links | first %}
<meta itemprop="url" content="{{ first_link.url }}">
Expand Down

0 comments on commit 2d7e110

Please sign in to comment.