Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
youchenlee committed Mar 21, 2024
1 parent a7c6919 commit d0c4f62
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
{% assign author = site.data.authors[author_name] %}
{% endunless %}
<li itemprop="author" itemscope itemtype="http://schema.org/Person">
<a href="{{ author.wiselike | default: '/contact' }}" target="_blank" itemprop="name" class='chip'>
<a href="{{ author.wiselike | default: '/contact' }}" target="_blank" rel="noopener noreferrer" itemprop="name" class='chip'>
<img src="{{ author.avatar | default: site.logo }}" alt="author">
{{ author_name }}
</a>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
{% assign author = site.data.authors[author_name] %}
{% endunless %}
<li itemprop="author" itemscope itemtype="http://schema.org/Person">
<a href="{{ author.wiselike | default: '/contact' }}" target="_blank" itemprop="name" class='chip'>
<a href="{{ author.wiselike | default: '/contact' }}" target="_blank" rel="noopener noreferrer" itemprop="name" class='chip'>
<img src="{{ author.avatar | default: site.logo }}" alt="author">
{{ author[nametype] | default: author_name }}
</a>
Expand Down
10 changes: 5 additions & 5 deletions pages/track.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ <h5 class="title">{{ track.title }}</h5>
{% for link in item %}
{% case link[0] %}
{% when "Youtube" %}
<a href='{{link[1]}}' target="_blank" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating red"><i class="material-icons">videocam</i></a>
<a href='{{link[1]}}' target="_blank" rel="noopener noreferrer" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating red"><i class="material-icons">videocam</i></a>
{% when "Transcript" %}
<a href='{{link[1]}}' target="_blank" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating cyan"><i class="material-icons">edit</i></a>
<a href='{{link[1]}}' target="_blank" rel="noopener noreferrer" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating cyan"><i class="material-icons">edit</i></a>
{% when "Docs" %}
<a href='{{link[1]}}' target="_blank" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating lime"><i class="material-icons">book</i></a>
<a href='{{link[1]}}' target="_blank" rel="noopener noreferrer" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating lime"><i class="material-icons">book</i></a>
{% when "Board" %}
<a href='{{link[1]}}' target="_blank" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating amber"><i class="material-icons">dashboard</i></a>
<a href='{{link[1]}}' target="_blank" rel="noopener noreferrer" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating amber"><i class="material-icons">dashboard</i></a>
{% else %}
<a href='{{link[1]}}' target="_blank" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating"><i class="material-icons">link</i></a>
<a href='{{link[1]}}' target="_blank" rel="noopener noreferrer" data-position="top" data-tooltip="{{link[0]}}" class="waves-effect waves-light tooltipped btn-large btn-floating"><i class="material-icons">link</i></a>
{% endcase %}
{% endfor %}
{% endfor %}
Expand Down

0 comments on commit d0c4f62

Please sign in to comment.