diff --git a/blog/config.toml b/blog/config.toml index b1a0028e..3d700ded 100644 --- a/blog/config.toml +++ b/blog/config.toml @@ -37,12 +37,8 @@ author = { name = "Philipp Oppermann" } lang_name = "English" toc = "Table Of Contents" all_posts = "« All Posts" -support_me = "Support Me" comments = "Comments" comments_notice = "Please leave your comments in English if possible." -other_languages = "Other Languages" -about_me = "About Me" -about_me_text_1 = "I'm a Rust freelancer with a master's degree in computer science. I love systems programming, open source software, and new challenges." readmore = "read more »" not_translated = "(This post is not translated yet.)" @@ -50,12 +46,8 @@ not_translated = "(This post is not translated yet.)" lang_name = "Chinese (simplified)" toc = "Table Of Contents" all_posts = "« All Posts" -support_me = "Support Me" comments = "Comments" comments_notice = "Please leave your comments in English if possible." -other_languages = "Other Languages" -about_me = "About Me" -about_me_text_1 = "I'm a Rust freelancer with a master's degree in computer science. I love systems programming, open source software, and new challenges." readmore = "read more »" not_translated = "(This post is not translated yet.)" @@ -63,12 +55,8 @@ not_translated = "(This post is not translated yet.)" lang_name = "Chinese (traditional)" toc = "Table Of Contents" all_posts = "« All Posts" -support_me = "Support Me" comments = "Comments" comments_notice = "Please leave your comments in English if possible." -other_languages = "Other Languages" -about_me = "About Me" -about_me_text_1 = "I'm a Rust freelancer with a master's degree in computer science. I love systems programming, open source software, and new challenges." readmore = "read more »" not_translated = "(This post is not translated yet.)" @@ -76,12 +64,8 @@ not_translated = "(This post is not translated yet.)" lang_name = "Japanese" toc = "Table Of Contents" all_posts = "« All Posts" -support_me = "Support Me" comments = "Comments" comments_notice = "Please leave your comments in English if possible." -other_languages = "Other Languages" -about_me = "About Me" -about_me_text_1 = "I'm a Rust freelancer with a master's degree in computer science. I love systems programming, open source software, and new challenges." readmore = "read more »" not_translated = "(This post is not translated yet.)" @@ -89,11 +73,7 @@ not_translated = "(This post is not translated yet.)" lang_name = "Persian" toc = "فهرست مطالب" all_posts = "« همه پست‌ها" -support_me = "مرا پشتیبانی کنید" comments = "نظرات" comments_notice = "لطفا نظرات خود را در صورت امکان به انگلیسی بنویسید." -other_languages = "زبان های دیگر" -about_me = "درباره من" -about_me_text_1 = "من یک فریلنسر Rust با مدرک ارشد علوم کامپیوتر هستم. من عاشق برنامه نویسی سیستمی، نرم افزار متن باز و چالش های جدید هستم." readmore = "ادامه‌مطلب»" not_translated = "(این پست هنوز ترجمه نشده است.)" diff --git a/blog/static/css/edition-2/main.css b/blog/static/css/edition-2/main.css index 4a5c693e..b1d77ac1 100644 --- a/blog/static/css/edition-2/main.css +++ b/blog/static/css/edition-2/main.css @@ -452,8 +452,9 @@ a strong { .right-to-left { direction: rtl; + font-family: Vazir; } -.left-to-right, .right-to-left pre, .right-to-left table { +.left-to-right, .right-to-left pre, .right-to-left table, .right-to-left[id="toc-aside"] { direction: ltr; } diff --git a/blog/templates/edition-2/page.html b/blog/templates/edition-2/page.html index cf28a0f8..68ac0041 100644 --- a/blog/templates/edition-2/page.html +++ b/blog/templates/edition-2/page.html @@ -17,7 +17,7 @@ {%- endblock description %} {% block toc_aside %} -