Skip to content
Permalink
Browse files

Home rel link (#195)

* Added rel support

* Added name to contributers file
  • Loading branch information...
alrayyes authored and luizdepra committed Jun 26, 2019
1 parent 90b17fa commit 607a3e2ad94a9e43a170a2968d3d84a9ece229e6
Showing with 3 additions and 2 deletions.
  1. +1 −0 CONTRIBUTORS.md
  2. +2 −2 layouts/partials/home.html
@@ -39,3 +39,4 @@
- [Yudi Widiyanto](https://github.com/yudiwdynto)
- [Łukasz Mróz](https://github.com/mrozlukasz)
- [Jia "Jay" Tan](https://github.com/j7an)
- [Ryan](https://github.com/alrayyes)
@@ -10,13 +10,13 @@ <h2>{{ .Site.Params.info }}</h2>
{{ range sort .}}
{{ if .icon }}
<li>
<a href="{{ .url }}" aria-label="{{ .name }}">
<a href="{{ .url }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }}>
<i class="{{ .icon }}" aria-hidden="true"></i>
</a>
</li>
{{ else }}
<li>
<a href="{{ .url }}" aria-label="{{ .name }}">{{ .name }}</a>
<a href="{{ .url }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }}>{{ .name }}</a>
</li>
{{ end }}
{{ end }}

0 comments on commit 607a3e2

Please sign in to comment.
You can’t perform that action at this time.