Skip to content

Commit

Permalink
Add a link to a member
Browse files Browse the repository at this point in the history
  • Loading branch information
direnakkoc committed May 21, 2024
1 parent 522e3e2 commit 76c9e28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/about/members/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subtitle: "CURIOSS is a community for university and research institution OSPOs"
---
<div class="container">
<div class="row justify-content-center">
{{< company name="Carnegie Mellon University" image="/images/about/logos/cmul.png"/>}}
{{< company name="Carnegie Mellon University" image="/images/about/logos/cmul.png" url="https://sustainers.github.io/academic-map/universities/carnegie-mellon-university.html"/>}}
{{< company name="WASHINGTON University" image="/images/about/logos/washington.png"/>}}
{{< company name="Georgia Tech" image="/images/about/logos/georgia.png">}}
{{< /company >}}
Expand Down
6 changes: 4 additions & 2 deletions layouts/shortcodes/company.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<div class="col-md-4 col-sm-6 mb-4">
<div class="feature-card bg-members-box text-center mb-0">
<div class="h-150 d-flex align-items-center justify-content-center mb-0 company-logo-box">
<img src="{{ .Get "image" }}" alt="{{ .Get "name" }}" title="{{ .Get "name" }}" class="mh-150">
<a href="{{ .Get "url" }}">
<img src="{{ .Get "image" }}" alt="{{ .Get "name" }}" title="{{ .Get "name" }}" class="mh-150">
</a>
<div>{{ .Get "name" }}</div>
</div>
{{ if (not (eq (trim .Inner "\n ") "")) }}
<div id="{{ urlize (.Get "name")}}-cite" class="cite-text">
<p><cite>“{{ trim .Inner "\n " }}”</cite></p>
{{ if .Get "author_name" }}<a href="{{ .Get "link" }}"><b>{{ .Get "author_name" }}</b>, {{ .Get "author_title" }}</a>{{ end }}
{{ if .Get "author_name" }}{{ end }}
</div>
{{ end }}
</div>
Expand Down

0 comments on commit 76c9e28

Please sign in to comment.