File tree Expand file tree Collapse file tree
themes/devlog-theme/layouts/partials Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< a class ="term " href ="{{ partial "permalink-rel.html " .Term }}">
22 {{- if (.Term.Params.brand | default false) -}}
3- {{- /* Use brand icon instead of tag icon. */ -}}
3+ {{- /* Use brand icon instead of tag icon.
4+ See: https://fontawesome.com/search?ip=brands&ic=brands&o=r
5+ */ -}}
46 {{- if eq .Term.Params.brand true -}}
5- {{- /* Use term name (but not its title) as brand name. */ -}}
7+ {{- /* Defined as "brand: true" - > Use term name (but not its title) as brand name. */ -}}
68 < i class ="tag-icon fa-brands fa-{{ lower .Term.Name }} "> </ i >
79 {{- else -}}
8- {{- /* Use value of "brand" frontmatter as brand name. */ -}}
10+ {{- /* Defined as "brand: name" - > Use the value as brand name. */ -}}
911 < i class ="tag-icon fa-brands fa-{{ .Term.Params.brand }} "> </ i >
1012 {{- end -}}
1113 {{- else -}}
You can’t perform that action at this time.
0 commit comments