Skip to content

Commit 493bcd1

Browse files
committed
feat(i18n): add contributor call-to-action for current edition in (zh-TW)
1 parent 1e3ab72 commit 493bcd1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/templates/zh-TW/base.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@
2020

2121
{% block announcement_text -%}
2222
{%- if year < DEFAULT_YEAR -%}
23-
<p lang="en">
23+
<p lang="zh-TW">
2424
您正在查看舊版網路年鑑。
2525
查看 <a href="/{{ lang }}/{{ DEFAULT_YEAR }}/{% if chapter_lang_exists(lang, DEFAULT_YEAR, slug) or page_lang_exists(lang, DEFAULT_YEAR, slug) %}{{ slug }}{% endif %}">{{ DEFAULT_YEAR }} 年版!</a>.
2626
</p>
27+
{%- elif year == DEFAULT_YEAR -%}
28+
<p lang="zh-TW">
29+
📣 <a href="https://github.com/HTTPArchive/almanac.httparchive.org/discussions/4062">
30+
<b>徵求貢獻者:</b></a> 協助製作 Web Almanac 2025,成為打造今年版本團隊的一份子!
31+
</p>
2732
{%- endif -%}
2833
{% endblock %}
2934

0 commit comments

Comments
 (0)