add noopener to external links

This commit is contained in:
sharathdt 2023-06-20 17:33:04 +05:30
parent 0352e2f279
commit 1134557fdc

View File

@ -1,41 +1,48 @@
{% assign certifications = site.data.data.certifications %} {% if certifications %} {% assign certifications = site.data.data.certifications %} {% if certifications %}
<section class="section certifications-section"> <section class="section certifications-section">
<h2 class="section-title"> <h2 class="section-title">
<span class="fa-stack fa-xs"> <span class="fa-stack fa-xs">
<i class="fas fa-circle fa-stack-2x"></i> <i class="fas fa-circle fa-stack-2x"></i>
<i class="fas fa-graduation-cap fa-stack-1x fa-inverse"></i> <i class="fas fa-graduation-cap fa-stack-1x fa-inverse"></i>
</span> {{ certifications.title }} </span>
</h2> {{ certifications.title }}
</h2>
{% for certifications in certifications.list %}
<div class="item">
<div class="meta">
<div class="upper-row">
<h3 class="cert-title">{{ certifications.name }}</h3>
<div class="time">{{ certifications.start }} {% if certifications.end %} - {{ certifications.end }} {% endif %}</div>
</div>
<!--//upper-row-->
<div class="second-upper-row">
<div class="cert-org">{{ certifications.organization }} {% if certifications.credentialid %} ({{ certifications.credentialid }}) {% endif %}</div>
{% if certifications.credentialurl %}
<div class="cert-url"><a href="//{{ certifications.credentialurl }}" target="_blank">{{ certifications.credentialname }}</a></div>
{% endif %}
</div>
{% for certifications in certifications.list %}
<div class="item">
<div class="meta">
<div class="upper-row">
<h3 class="cert-title">{{ certifications.name }}</h3>
<div class="time">
{{ certifications.start }} {% if certifications.end %} - {{
certifications.end }} {% endif %}
</div> </div>
<!--//meta--> </div>
<!--//upper-row-->
<div class="details"> <div class="second-upper-row">
{{ certifications.details | markdownify }} <div class="cert-org">
{{ certifications.organization }} {% if certifications.credentialid %}
({{ certifications.credentialid }}) {% endif %}
</div> </div>
{% if certifications.credentialurl %}
<div class="cert-url">
<a
href="//{{ certifications.credentialurl }}"
target="_blank"
rel="noreferrer nofollow noopener"
>{{ certifications.credentialname }}</a
>
</div>
{% endif %}
</div>
</div> </div>
<!--//item--> <!--//meta-->
{% endfor %}
<div class="details">{{ certifications.details | markdownify }}</div>
</div>
<!--//item-->
{% endfor %}
</section> </section>
<!--//section--> <!--//section-->
{% endif %} {% endif %}