Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
846ec60
feat(piill): update js assets
davidazad1 Feb 5, 2025
2b4b061
feat: add persian support
davidazad1 Feb 5, 2025
abb36eb
style: convert direction to rtl
davidazad1 Feb 5, 2025
0843799
refactor: move default posts of theme to "_draft" folder
davidazad1 Feb 6, 2025
e23c767
fix: rtl problem for code sections
davidazad1 Feb 6, 2025
a5f3de9
feat: add part 1 posts of Python Programming MOOC 2023
davidazad1 Feb 6, 2025
f82d46f
feat: add priority for showing posts of categories
davidazad1 Feb 6, 2025
9856c9f
feat: add a post
davidazad1 Feb 7, 2025
1bbc694
fix: adjust some settings
davidazad1 Feb 7, 2025
4369965
feat: don't know whay is this
davidazad1 Feb 7, 2025
98cb09d
update _site
davidazad1 Feb 7, 2025
cdc2b1f
feat: change logo
davidazad1 Feb 7, 2025
976f7e1
feat: update site
davidazad1 Feb 7, 2025
ae89734
feat: add posts
davidazad1 Feb 7, 2025
266b4c3
feat: add posts
davidazad1 Feb 7, 2025
3a8730f
feat: add some posts
davidazad1 Feb 7, 2025
566890e
feat: update _site
davidazad1 Feb 7, 2025
cce28f9
feat: update _site
davidazad1 Feb 7, 2025
60c830b
feat(direction): add direction option
davidazad1 Feb 9, 2025
e143490
fix(direction): fix style of rtl direction
davidazad1 Feb 12, 2025
ef86c49
Merge remote-tracking branch 'my-origin/master'
davidazad1 Feb 12, 2025
fb5882d
fix(direction): remove some confict styles
davidazad1 Feb 12, 2025
ab40bd9
fix(update): update _site
davidazad1 Feb 12, 2025
a754d02
feat: update about page
davidazad1 Feb 12, 2025
8b02696
feat: update site
davidazad1 Mar 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ theme: jekyll-theme-chirpy
# otherwise, the layout language will use the default value of 'en'.
lang: en

# the direction of the webpage
#
# Available options:
#
# ltr — use left to right direction (default)
# rtl — use right to left direction
#
direction: rtl

# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
timezone: Asia/Shanghai

Expand Down
1 change: 1 addition & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- The Footer -->

<footer
dir={{ site.direction | default: ltr }}
aria-label="Site Info"
class="
d-flex flex-column justify-content-center text-muted
Expand Down
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<head>
<head dir={{ site.direction | default: ltr }}>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f7f7f7">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1b1b1e">
Expand Down
1 change: 1 addition & 0 deletions _includes/notification.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<aside
dir={{ site.direction | default: ltr }}
id="notification"
class="toast"
role="alert"
Expand Down
2 changes: 1 addition & 1 deletion _includes/post-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class="btn btn-outline-primary"
aria-label="{{ next }}"
>
<p>{{ page.next.title }}</p>
<p dir={{ site.direction | default: ltr }}>{{ page.next.title }}</p>
</a>
{% else %}
<div class="btn btn-outline-primary disabled" aria-label="{{ next }}">
Expand Down
2 changes: 1 addition & 1 deletion _includes/post-sharing.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Post sharing snippet -->

<div class="share-wrapper d-flex align-items-center">
<div dir={{ site.direction | default: ltr }} class="share-wrapper d-flex align-items-center">
<span class="share-label text-muted">{{ site.data.locales[include.lang].post.share }}</span>
<span class="share-icons">
{% capture title %}{{ page.title }} - {{ site.title }}{% endcapture %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- The Side Bar -->

<aside aria-label="Sidebar" id="sidebar" class="d-flex flex-column align-items-end">
<aside dir={{ site.direction | default: ltr }} aria-label="Sidebar" id="sidebar" class="d-flex flex-column align-items-end">
<header class="profile-wrapper">
<a href="{{ '/' | relative_url }}" id="avatar" class="rounded-circle">
{%- if site.avatar != empty and site.avatar -%}
Expand Down
2 changes: 1 addition & 1 deletion _includes/toc.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% include toc-status.html %}

{% if enable_toc %}
<div class="toc-border-cover z-3"></div>
<div dir={{ site.direction | default: ltr }} class="toc-border-cover z-3"></div>
<section id="toc-wrapper" class="invisible position-sticky ps-0 pe-4 pb-4">
<h2 class="panel-heading ps-3 pb-2 mb-0">{{- site.data.locales[include.lang].panel.toc -}}</h2>
<nav id="toc"></nav>
Expand Down
2 changes: 1 addition & 1 deletion _includes/topbar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- The Top Bar -->

<header id="topbar-wrapper" aria-label="Top Bar">
<header dir={{ site.direction | default: ltr }} id="topbar-wrapper" aria-label="Top Bar">
<div
id="topbar"
class="d-flex align-items-center justify-content-between px-lg-3 h-100"
Expand Down
2 changes: 1 addition & 1 deletion _includes/trending-tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{% endfor %}

{% if trending_tags.size > 0 %}
<section>
<section dir={{ site.direction | default: ltr }}>
<h2 class="panel-heading">{{- site.data.locales[include.lang].panel.trending_tags -}}</h2>
<div class="d-flex flex-wrap mt-3 mb-1 me-3">
{% for tag_name in trending_tags %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/update-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{% endfor %}

{% if update_list.size > 0 %}
<section id="access-lastmod">
<section dir={{ site.direction | default: ltr }} id="access-lastmod">
<h2 class="panel-heading">{{- site.data.locales[include.lang].panel.lastmod -}}</h2>
<ul class="content list-unstyled ps-0 pb-1 ms-1 mt-2">
{% for item in update_list %}
Expand Down
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{% include topbar.html lang=lang %}

<div class="row flex-grow-1">
<main aria-label="Main Content" class="col-12 col-lg-11 col-xl-9 px-md-4">
<main dir={{ site.direction | default: ltr }} aria-label="Main Content" class="col-12 col-lg-11 col-xl-9 px-md-4">
{% if layout.refactor or layout.layout == 'default' %}
{% include refactor-content.html content=content lang=lang %}
{% else %}
Expand All @@ -33,7 +33,7 @@
</main>

<!-- panel -->
<aside aria-label="Panel" id="panel-wrapper" class="col-xl-3 ps-2 text-muted">
<aside dir={{ site.direction | default: ltr }} aria-label="Panel" id="panel-wrapper" class="col-xl-3 ps-2 text-muted">
<div class="access">
{% include_cached update-list.html lang=lang %}
{% include_cached trending-tags.html lang=lang %}
Expand Down