diff --git a/blog/config.toml b/blog/config.toml index ca8230fb..a58163d1 100644 --- a/blog/config.toml +++ b/blog/config.toml @@ -49,6 +49,10 @@ translated_content_notice = "This is a community translation of the Support Me +

Creating and maintaining this blog and the associated libraries is a lot of work, but I really enjoy doing it. By supporting me, you allow me to invest more time in new content, new features, and continuous maintenance. The best way to support me is to sponsor me on GitHub. Thank you!

+""" # Chinese (simplified) [languages.zh-CN] @@ -67,6 +71,10 @@ translated_content_notice = "这是对原文章 Support Me +

Creating and maintaining this blog and the associated libraries is a lot of work, but I really enjoy doing it. By supporting me, you allow me to invest more time in new content, new features, and continuous maintenance. The best way to support me is to sponsor me on GitHub. Thank you!

+""" # Chinese (traditional) [languages.zh-TW] @@ -85,6 +93,10 @@ translated_content_notice = "這是對原文章 Support Me +

Creating and maintaining this blog and the associated libraries is a lot of work, but I really enjoy doing it. By supporting me, you allow me to invest more time in new content, new features, and continuous maintenance. The best way to support me is to sponsor me on GitHub. Thank you!

+""" # Japanese [languages.ja] @@ -103,6 +115,10 @@ translated_content_notice = "この記事はSupport Me +

Creating and maintaining this blog and the associated libraries is a lot of work, but I really enjoy doing it. By supporting me, you allow me to invest more time in new content, new features, and continuous maintenance. The best way to support me is to sponsor me on GitHub. Thank you!

+""" # Persian [languages.fa] @@ -121,6 +137,10 @@ translated_content_notice = "این یک ترجمه از جامعه کاربرا translated_by = "ترجمه توسط" translation_contributors = "With contributions from" word_separator = "و" +support_me = """ +

Support Me

+

Creating and maintaining this blog and the associated libraries is a lot of work, but I really enjoy doing it. By supporting me, you allow me to invest more time in new content, new features, and continuous maintenance. The best way to support me is to sponsor me on GitHub. Thank you!

+""" # Russian [languages.ru] @@ -139,6 +159,10 @@ translated_content_notice = "Это перевод сообщества пост translated_by = "Перевод сделан" translation_contributors = "With contributions from" word_separator = "и" +support_me = """ +

Support Me

+

Creating and maintaining this blog and the associated libraries is a lot of work, but I really enjoy doing it. By supporting me, you allow me to invest more time in new content, new features, and continuous maintenance. The best way to support me is to sponsor me on GitHub. Thank you!

+""" # French [languages.fr] @@ -157,6 +181,10 @@ translated_content_notice = "Ceci est une traduction communautaire de l'article translated_by = "Traduit par : " translation_contributors = "With contributions from" word_separator = "et" +support_me = """ +

Support Me

+

Creating and maintaining this blog and the associated libraries is a lot of work, but I really enjoy doing it. By supporting me, you allow me to invest more time in new content, new features, and continuous maintenance. The best way to support me is to sponsor me on GitHub. Thank you!

+""" # Korean [languages.ko] @@ -175,3 +203,7 @@ translated_content_notice = "이것은 커뮤니티 멤버가 Support Me +

Creating and maintaining this blog and the associated libraries is a lot of work, but I really enjoy doing it. By supporting me, you allow me to invest more time in new content, new features, and continuous maintenance. The best way to support me is to sponsor me on GitHub. Thank you!

+""" diff --git a/blog/templates/edition-2/index.html b/blog/templates/edition-2/index.html index e367d819..d5362f03 100644 --- a/blog/templates/edition-2/index.html +++ b/blog/templates/edition-2/index.html @@ -61,8 +61,7 @@
-

Support Me

- {{ snippets::support() }} + {{ trans(key="support_me", lang=lang) | safe }}
{% endblock main %} diff --git a/blog/templates/edition-2/page.html b/blog/templates/edition-2/page.html index dfe8b93e..22c48040 100644 --- a/blog/templates/edition-2/page.html +++ b/blog/templates/edition-2/page.html @@ -91,8 +91,7 @@
diff --git a/blog/templates/snippets.html b/blog/templates/snippets.html index 8fbd031b..161a7aaf 100644 --- a/blog/templates/snippets.html +++ b/blog/templates/snippets.html @@ -1,15 +1,3 @@ -{% macro support() %} -

- Creating and maintaining this blog and the associated libraries is a lot of work, but I really enjoy doing it. By supporting me, you allow me to invest more time in new content, new features, and continuous maintenance. -

-

- The best way to support me is to sponsor me on GitHub, since they don't charge any fees. If you prefer other platforms, I also have Patreon and Donorbox accounts. The latter is the most flexible as it supports multiple currencies and one-time contributions. -

-

- Thank you! -

-{% endmacro support %} - {% macro giscus(search_term, lang) %} {% if lang != "en" %} {% set category = "Post Comments (translated)" %}