Skip to content

Commit b789fb3

Browse files
LeeLee
authored andcommitted
adds dark mode support
1 parent d273dac commit b789fb3

File tree

3 files changed

+70
-25
lines changed

3 files changed

+70
-25
lines changed

content/pages/projects/aiohttp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Title: Aiohttp
2-
Links: Docs=https://docs.aiohttp.org/en/stable/
2+
Links: Documentation=https://docs.aiohttp.org/en/stable/
33
Github=https://github.com/aio-libs/aiohttp/
4-
Sponsor=https://opencollective.com/aio-libs/projects/aiohttp
4+
Sponsorship=https://opencollective.com/aio-libs/projects/aiohttp
55

66
An asynchronous HTTP Client/Server for Python's [asyncio](https://docs.python.org/3/library/asyncio.html).
77

theme/static/css/main.css

Lines changed: 61 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

theme/templates/page.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ <h2>{{ page.title }}</h2>
88
{% import 'translations.html' as translations with context %}
99
{{ translations.translations_for(page) }}
1010

11-
{% for link in page.links %}
12-
<a href="{{ link.partition("=")[2] }}">{{ link.partition("=")[0] }}</a>
13-
{% endfor %}
11+
{% if page.links %}
12+
<div class="aio-post-links">
13+
{% for link in page.links %}
14+
<a class="aio-post-links__item" href="{{ link.partition("=")[2] }}">{{ link.partition("=")[0] }}</a>
15+
{% endfor %}
16+
</div>
17+
{% endif %}
1418

1519
{{ page.content }}
1620

0 commit comments

Comments
 (0)