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
@@ -10,13 +10,13 @@
|
||||
{{ 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 }}
|
||||
|
||||
Reference in New Issue
Block a user