Skip to content

Commit

Permalink
Merge branch 'alts' of github.com:rladies/rladies.github.io into future2
Browse files Browse the repository at this point in the history
  • Loading branch information
drmowinckels committed Aug 16, 2023
2 parents 235621c + 1a0e057 commit 612e501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/hugo-rladies/layouts/partials/funcs/some.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@
{{ $data.Set "url" (replaceRE "@(.*?)@(.+)" "https://$2/@$1" .handle) }}
{{ end }}

{{ return (dict "url" ($data.Get "url") "fa" ($data.Get "fa") ) }}
{{ return (dict "url" ($data.Get "url") "fa" ($data.Get "fa") "type" .type ) }}
2 changes: 1 addition & 1 deletion themes/hugo-rladies/layouts/partials/some.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{{ range $index, $v := first ($data.Get "range") ($data.Get "value" ) }}
{{ $selection := index ($data.Get "key") $index }}
{{ $some:= partial "funcs/some.html" (dict "type" $selection "handle" $v ) }}
<a href="{{ $some.url }}" target="_blank" {{ if ( $data.Get "rel") }} rel="me" {{ end }} >
<a title="{{$some.type}}: {{ $some.url}}" href="{{ $some.url }}" target="_blank" {{ if ( $data.Get "rel") }} rel="me" {{ end }} >
<i class="{{ $some.fa }}"></i>
</a>
{{ end }}
Expand Down

0 comments on commit 612e501

Please sign in to comment.