Skip to content

Commit 7b80024

Browse files
vintaclaude
andcommitted
feat(website): add co-maintainer credit and bump hero-sub font size
- Replace 'Curated by @vinta since 2014' with 'Maintained by @vinta and @JinyangWang27' to reflect the new co-maintainer - Increase .hero-sub font size from --text-sm to --text-base for better readability Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 56ccdfa commit 7b80024

2 files changed

Lines changed: 26 additions & 10 deletions

File tree

‎website/static/style.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ a:hover { color: var(--accent-hover); text-decoration: underline; }
108108
}
109109

110110
.hero-sub {
111-
font-size: var(--text-sm);
111+
font-size: var(--text-base);
112112
color: var(--text-secondary);
113113
line-height: 1.6;
114114
margin-bottom: 0.5rem;

‎website/templates/index.html‎

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
{% extends "base.html" %}
2-
{% block content %}
1+
{% extends "base.html" %} {% block content %}
32
<header class="hero">
43
<div class="hero-main">
54
<div>
65
<h1>Awesome Python</h1>
76
<p class="hero-sub">
8-
{{ subtitle }}<br />Curated by
7+
{{ subtitle }}<br />Maintained by
98
<a href="https://github.com/vinta" target="_blank" rel="noopener"
109
>@vinta</a
1110
>
12-
since 2014.
11+
and
12+
<a
13+
href="https://github.com/JinyangWang27"
14+
target="_blank"
15+
rel="noopener"
16+
>@JinyangWang27</a
17+
>.
1318
</p>
1419
<a
1520
href="https://github.com/vinta/awesome-python"
@@ -95,9 +100,21 @@ <h2 class="sr-only">Results</h2>
95100
{% if entry.stars is not none %}{{ "{:,}".format(entry.stars) }}{%
96101
else %}&mdash;{% endif %}
97102
</td>
98-
<td class="col-commit"
99-
{% if entry.last_commit_at %}data-commit="{{ entry.last_commit_at }}"{% endif %}
100-
>{% if entry.last_commit_at %}<time datetime="{{ entry.last_commit_at }}">{{ entry.last_commit_at[:10] }}</time>{% else %}&mdash;{% endif %}</td>
103+
<td
104+
class="col-commit"
105+
{%
106+
if
107+
entry.last_commit_at
108+
%}data-commit="{{ entry.last_commit_at }}"
109+
{%
110+
endif
111+
%}
112+
>
113+
{% if entry.last_commit_at %}<time
114+
datetime="{{ entry.last_commit_at }}"
115+
>{{ entry.last_commit_at[:10] }}</time
116+
>{% else %}&mdash;{% endif %}
117+
</td>
101118
<td class="col-cat">
102119
<button class="tag" data-type="cat" data-value="{{ entry.category }}">
103120
{{ entry.category }}
@@ -111,8 +128,7 @@ <h2 class="sr-only">Results</h2>
111128
<div class="expand-content">
112129
{% if entry.description %}
113130
<div class="expand-desc">{{ entry.description | safe }}</div>
114-
{% endif %}
115-
{% if entry.also_see %}
131+
{% endif %} {% if entry.also_see %}
116132
<div class="expand-also-see">
117133
Also see: {% for see in entry.also_see %}<a
118134
href="{{ see.url }}"

0 commit comments

Comments
 (0)