summaryrefslogtreecommitdiffstats
path: root/front_end/templates/crate_page.rs.html
diff options
context:
space:
mode:
Diffstat (limited to 'front_end/templates/crate_page.rs.html')
-rw-r--r--front_end/templates/crate_page.rs.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/front_end/templates/crate_page.rs.html b/front_end/templates/crate_page.rs.html
index 750f682..d8de430 100644
--- a/front_end/templates/crate_page.rs.html
+++ b/front_end/templates/crate_page.rs.html
@@ -95,7 +95,8 @@
@if let Some(Contributors {authors, owners, co_owned, contributors, period_after_authors, contributors_as_a_team}) = Some(c.all_contributors()) {
@for (last, a) in authors.iter().identify_last() {
@if let Some(url) = url.author(a) {
- <a href="@url" property="author" typeof="Person"><span property="name">@a.name()</span></a>@if !last {,} else {@if period_after_authors {.}}
+ <a href="@url" @if a.owner {class="owner" title="owner"} else {class="contributor" title="contributor"}
+ property="author" typeof="Person"><span property="name">@a.name()</span></a>@if !last {,} else {@if period_after_authors {.}}
} else {
@a.name()@if !last {,} else {@if period_after_authors {.}}
}