mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Home rel link (#195)
* Added rel support * Added name to contributers file
This commit is contained in:
committed by
Luiz F. A. de Prá
parent
90b17fad5c
commit
607a3e2ad9
@@ -39,3 +39,4 @@
|
|||||||
- [Yudi Widiyanto](https://github.com/yudiwdynto)
|
- [Yudi Widiyanto](https://github.com/yudiwdynto)
|
||||||
- [Łukasz Mróz](https://github.com/mrozlukasz)
|
- [Łukasz Mróz](https://github.com/mrozlukasz)
|
||||||
- [Jia "Jay" Tan](https://github.com/j7an)
|
- [Jia "Jay" Tan](https://github.com/j7an)
|
||||||
|
- [Ryan](https://github.com/alrayyes)
|
||||||
|
|||||||
@@ -10,13 +10,13 @@
|
|||||||
{{ range sort .}}
|
{{ range sort .}}
|
||||||
{{ if .icon }}
|
{{ if .icon }}
|
||||||
<li>
|
<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>
|
<i class="{{ .icon }}" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .url }}" aria-label="{{ .name }}">{{ .name }}</a>
|
<a href="{{ .url }}" aria-label="{{ .name }}" {{ if .rel }}rel="{{ .rel }}"{{ end }}>{{ .name }}</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user