|
|
|
@ -12,8 +12,7 @@ |
|
|
|
<!-- Skip the item if we are on the term page presenting this item --> |
|
|
|
{{- if or (not $.parent.Data.topic) (ne . $.parent.Data.Term) }} |
|
|
|
<span class="topic"> |
|
|
|
<i class="material-icons" aria-hidden="true">link</i><a href="{{ "/topics/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> |
|
|
|
|
|
|
|
{{- partial "icons/link.svg" . -}}<a href="{{ "/topics/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> |
|
|
|
</span> |
|
|
|
{{- end -}} |
|
|
|
{{- end }} |
|
|
|
@ -23,8 +22,7 @@ |
|
|
|
<!-- Skip the item if we are on the term page presenting this item --> |
|
|
|
{{- if or (not $.parent.Data.opensource) (ne . $.parent.Data.Term) }} |
|
|
|
<span class="opensource"> |
|
|
|
<i class="material-icons" aria-hidden="true">label</i><a href="{{ "/opensource/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> |
|
|
|
|
|
|
|
{{- partial "icons/label.svg" . -}}<a href="{{ "/opensource/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> |
|
|
|
</span> |
|
|
|
{{- end -}} |
|
|
|
{{- end }} |
|
|
|
@ -35,7 +33,7 @@ |
|
|
|
--> |
|
|
|
{{- if eq .current.Type "blog" }} |
|
|
|
<span class="reading-time"> |
|
|
|
<i class="material-icons" aria-hidden="true">schedule</i> |
|
|
|
{{- partial "icons/schedule.svg" . -}} |
|
|
|
{{- $minutes := .current.ReadingTime -}} |
|
|
|
{{- if gt $minutes 0 -}} |
|
|
|
{{- i18n "minutes" $minutes -}} |
|
|
|
|