jekyll-theme-mehdix-rtl 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +61 -50
- data/_includes/license.html +3 -3
- data/_layouts/home.html +20 -32
- data/_layouts/minimal.html +13 -15
- data/_layouts/page.html +6 -5
- data/_layouts/post.html +17 -16
- data/_layouts/project.html +3 -5
- data/_sass/_footer.scss +18 -26
- data/_sass/_layout.scss +0 -1
- data/_sass/_post.scss +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 707fb08c9cc9373254303adbb75ba122c3acb335
|
4
|
+
data.tar.gz: ff39d467cd5f013836401a2baa45e2577900ae12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba7d93096e8efae7491cef56be8f955efa8744c28b2f8f3bb67e30ac66f2f0ec7526ceac31b61f8ea838d8dead0a92154cbc53474935e844278fd36db5d5d083
|
7
|
+
data.tar.gz: d3a7a10f1112bb2ed82f06b41a0152d900c1cce98eef853fb8b92d1e0ec4f8341b5104f577af006fa8a97c0d4666dc42f685e1ed0d88bf1a26b586f67c2361cd
|
data/_includes/footer.html
CHANGED
@@ -1,57 +1,68 @@
|
|
1
|
-
<footer
|
1
|
+
<footer>
|
2
2
|
<div class="wrapper">
|
3
|
+
|
3
4
|
<div class="footer-col-wrapper">
|
4
|
-
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
</a>
|
26
|
-
</li>
|
27
|
-
{% endif %}
|
28
|
-
{% if site.feedburner_id %}
|
29
|
-
<li>
|
30
|
-
<i class="fas fa-rss"></i>
|
31
|
-
<a href="https://feedburner.google.com/fb/a/mailverify?uri={{ site.feedburner_id }}&loc=en_US">
|
32
|
-
<span class="username social-media-text">خبرنامه</span></a>
|
33
|
-
</li>
|
34
|
-
<li>
|
35
|
-
<i class="fas fa-rss"></i>
|
36
|
-
<a href="http://feeds.feedburner.com/mehdixir">
|
37
|
-
<span class="username social-media-text">خوراک</span></a>
|
38
|
-
</li>
|
39
|
-
{% endif %}
|
40
|
-
{% if site.email %}
|
5
|
+
|
6
|
+
<div id="footer-gravatar" class="footer-col footer-col-2">
|
7
|
+
<img src="{{ 'assets/img/me.png' | absolute_url }}" alt="">
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<div id="footer_description" class="footer-col footer-col-3">
|
11
|
+
<p class="text">{{ site.long_description }}</p>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class="footer-col footer-col-2">
|
15
|
+
|
16
|
+
<ul class="social-media-list">
|
17
|
+
{% if site.github_username %}
|
18
|
+
<li>
|
19
|
+
<i class="fab fa-github"></i>
|
20
|
+
<a href="https://github.com/{{ site.github_username }}">
|
21
|
+
<span class="username social-media-text">پروژهها</span>
|
22
|
+
</a>
|
23
|
+
</li>
|
24
|
+
{% endif %}
|
25
|
+
{% if site.twitter_username %}
|
41
26
|
<li>
|
42
|
-
<i class="
|
43
|
-
<a href="
|
44
|
-
<span class="username social-media-text"
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
27
|
+
<i class="fab fa-twitter-square"></i>
|
28
|
+
<a href="https://twitter.com/{{ site.twitter_username }}">
|
29
|
+
<span class="username social-media-text">توئیتها</span>
|
30
|
+
</a>
|
31
|
+
</li>
|
32
|
+
{% endif %}
|
33
|
+
{% if site.feedburner_id %}
|
34
|
+
<li>
|
35
|
+
<i class="fas fa-rss"></i>
|
36
|
+
<a href="https://feedburner.google.com/fb/a/mailverify?uri={{ site.feedburner_id }}&loc=en_US">
|
37
|
+
<span class="username social-media-text">خبرنامه</span></a>
|
38
|
+
</li>
|
39
|
+
<li>
|
40
|
+
<i class="fas fa-rss"></i>
|
41
|
+
<a href="http://feeds.feedburner.com/mehdixir">
|
42
|
+
<span class="username social-media-text">خوراک</span></a>
|
43
|
+
</li>
|
44
|
+
{% endif %}
|
45
|
+
{% if site.email %}
|
46
|
+
<li>
|
47
|
+
<i class="fas fa-envelope-open"></i>
|
48
|
+
<a href="mailto:{{ site.email }}">
|
49
|
+
<span class="username social-media-text">تماس</span></a></li>
|
50
|
+
{% endif %}
|
51
|
+
<li id="atom">
|
52
|
+
<span class="icon"><a href="https://validator.w3.org/feed/check.cgi?url={{ '' | absolute_url | append:'feed.xml'}}"><img src={{ "assets/img/valid-atom.png" | absolute_url }} alt="[Valid Atom 1.0]" title="Validate my Atom 1.0 feed" /></a></span>
|
53
|
+
</li>
|
54
|
+
</ul>
|
55
|
+
|
56
|
+
</div>
|
57
|
+
|
50
58
|
</div>
|
59
|
+
|
60
|
+
{% include license.html %}
|
61
|
+
|
51
62
|
</div>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<small style="color:gray">Site generated on {{ site.time | date_to_rfc822 }}</small>
|
63
|
+
|
64
|
+
<div id="build-time">
|
65
|
+
<small>Site generated on {{ site.time | date_to_rfc822 }}</small>
|
56
66
|
</div>
|
67
|
+
|
57
68
|
</footer>
|
data/_includes/license.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
<div id="license"
|
2
|
-
<a id="
|
1
|
+
<div id="license"><small>
|
2
|
+
<a id="license-link" rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.fa"><img alt="مجوز کریتیو کامنز" style="border-width:0" src="{{'assets/img/creativecommons80x15.png' | absolute_url}}" /></a>
|
3
3
|
مطالب این وبلاگ تحت مجوز
|
4
4
|
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.fa">
|
5
5
|
کریتیو کامنز اتریبیوشن ۴.۰ اینترنشنال </a>قرار دارد.
|
6
|
-
</div>
|
6
|
+
</small></div>
|
data/_layouts/home.html
CHANGED
@@ -1,39 +1,27 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
4
|
+
<ul class="post-list">
|
5
|
+
{% for post in paginator.posts %}
|
6
|
+
<li class="post-list-item">
|
7
|
+
<span class="meta date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span>
|
8
|
+
<h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2>
|
9
|
+
{{ post.content | strip_html | truncatewords: 35 }}
|
10
|
+
</li>
|
11
|
+
{% endfor %}
|
12
|
+
</ul>
|
13
|
+
|
14
|
+
<nav class="pagination">
|
15
|
+
{% if paginator.previous_page %}
|
16
|
+
<a href="{{ paginator.previous_page_path | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">قبلی </a>
|
14
17
|
{% else %}
|
15
|
-
|
16
|
-
<li>
|
17
|
-
<span class="post-meta"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span>
|
18
|
-
<h2><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2>
|
19
|
-
{{ post.content | strip_html | truncatewords: 35 }}
|
20
|
-
</li>
|
21
|
-
{% endfor %}
|
18
|
+
<a href="#" class="pagination--pager disabled"">قبلی </a>
|
22
19
|
{% endif %}
|
23
|
-
</ul>
|
24
|
-
|
25
|
-
<nav class="pagination">
|
26
|
-
{% if paginator.previous_page %}
|
27
|
-
<a href="{{ paginator.previous_page_path | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">قبلی </a>
|
28
|
-
{% else %}
|
29
|
-
<a href="#" class="pagination--pager disabled"">قبلی </a>
|
30
|
-
{% endif %}
|
31
20
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
21
|
+
{% if paginator.next_page %}
|
22
|
+
<a href="{{ paginator.next_page_path | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">بعدی</a>
|
23
|
+
{% else %}
|
24
|
+
<a href="#" class="pagination--pager disabled"">بعدی</a>
|
25
|
+
{% endif %}
|
26
|
+
</nav>
|
38
27
|
|
39
|
-
</div>
|
data/_layouts/minimal.html
CHANGED
@@ -1,18 +1,16 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
<
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
</ul>
|
18
|
-
</div>
|
4
|
+
<h1 class="page-heading">❖ همهی نوشتهها</h1>
|
5
|
+
<ul class="post-list-mini">
|
6
|
+
{% for post in site.posts %}
|
7
|
+
<li class="post-list-item">
|
8
|
+
<span class="list-meta-col date">
|
9
|
+
{{ post.date | jdate: "%A %d %b %Y" | habify }}
|
10
|
+
</span>
|
11
|
+
<span>
|
12
|
+
<a href="{{ post.url | absolute_url }}">{{ post.title }}</a>
|
13
|
+
</span>
|
14
|
+
</li>
|
15
|
+
{% endfor %}
|
16
|
+
</ul>
|
data/_layouts/page.html
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
4
|
+
<article class="post-content">
|
5
|
+
|
5
6
|
<div class="post-header">
|
6
7
|
<h1 class="post-title">{{ page.title }}</h1>
|
7
8
|
</div>
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
</
|
9
|
+
|
10
|
+
{{ content }}
|
11
|
+
|
12
|
+
</article>
|
data/_layouts/post.html
CHANGED
@@ -3,6 +3,7 @@ layout: default
|
|
3
3
|
---
|
4
4
|
|
5
5
|
{% capture time %}{{ content | reading_time }}{% endcapture %}
|
6
|
+
|
6
7
|
<article class="post-content">
|
7
8
|
|
8
9
|
<div class="post-header">
|
@@ -19,20 +20,20 @@ layout: default
|
|
19
20
|
{{ content }}
|
20
21
|
|
21
22
|
{% if site.related_posts.size >= 1 %}
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
23
|
+
<div id="related-posts">
|
24
|
+
<h3>مطالب مرتبط</h3>
|
25
|
+
<ul>
|
26
|
+
{% for related_post in site.related_posts limit: 5 %}
|
27
|
+
<li><a href="{{ related_post.url }}">{{ related_post.title }}</a></li>
|
28
|
+
{% endfor %}
|
29
|
+
</ul>
|
30
|
+
</div>
|
30
31
|
{% endif %}
|
31
32
|
|
32
33
|
<small id="post-tags">
|
33
34
|
{% for tag in page.tags %}
|
34
|
-
|
35
|
-
|
35
|
+
<i class="fas fa-tag"></i>
|
36
|
+
<a rel="tag" href="{{ tag | tag_url }}">{{tag}}</a>
|
36
37
|
{% endfor %}
|
37
38
|
|
38
39
|
<i class="fas fa-code"></i>
|
@@ -41,23 +42,23 @@ layout: default
|
|
41
42
|
|
42
43
|
<nav class="pagination">
|
43
44
|
{% if page.next %}
|
44
|
-
|
45
|
+
<a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title }}">قبلی</a>
|
45
46
|
{% else %}
|
46
|
-
|
47
|
+
<a href="#" class="pagination--pager disabled">قبلی</a>
|
47
48
|
{% endif %}
|
48
49
|
|
49
50
|
{% if page.previous %}
|
50
|
-
|
51
|
+
<a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title }}">بعدی </a>
|
51
52
|
{% else %}
|
52
|
-
|
53
|
+
<a href="#" class="pagination--pager disabled">بعدی </a>
|
53
54
|
{% endif %}
|
54
55
|
</nav>
|
55
56
|
|
56
57
|
<section>
|
57
58
|
{% if site.comment_system == 'static' %}
|
58
|
-
|
59
|
+
{% include static_comments.html %}
|
59
60
|
{% elsif site.comment_system == 'disqus' %}
|
60
|
-
|
61
|
+
{% include disqus.html %}
|
61
62
|
{% endif %}
|
62
63
|
</section>
|
63
64
|
|
data/_layouts/project.html
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<
|
4
|
+
<article class="project post-content">
|
5
5
|
|
6
6
|
<div class="post-header">
|
7
7
|
<h1 class="post-title">{{ page.title }}</h1>
|
8
8
|
</div>
|
9
9
|
|
10
|
-
|
11
|
-
{{ content }}
|
12
|
-
</article>
|
10
|
+
{{ content }}
|
13
11
|
|
14
|
-
</
|
12
|
+
</article>
|
data/_sass/_footer.scss
CHANGED
@@ -22,14 +22,6 @@ footer {
|
|
22
22
|
margin-left: 0;
|
23
23
|
}
|
24
24
|
|
25
|
-
.social-media-list .icon {
|
26
|
-
width: 1em;
|
27
|
-
}
|
28
|
-
|
29
|
-
#mail-icon {
|
30
|
-
filter: invert(100);
|
31
|
-
}
|
32
|
-
|
33
25
|
.footer-col-wrapper {
|
34
26
|
font-size: 15px;
|
35
27
|
color: $grey-color;
|
@@ -77,8 +69,8 @@ footer {
|
|
77
69
|
padding-left: unset;
|
78
70
|
}
|
79
71
|
|
80
|
-
#footer_description, #
|
81
|
-
.footer-heading, #
|
72
|
+
#footer_description, #footer-gravatar, #atom,
|
73
|
+
.footer-heading, #license-link {
|
82
74
|
display: none;
|
83
75
|
}
|
84
76
|
|
@@ -99,29 +91,29 @@ footer {
|
|
99
91
|
#motto {
|
100
92
|
display: none;
|
101
93
|
}
|
102
|
-
|
103
|
-
.social-media-list li {
|
104
|
-
margin-right: 4px;
|
105
|
-
}
|
106
|
-
|
107
|
-
ul, ol {
|
108
|
-
margin-right: auto;
|
109
|
-
}
|
110
94
|
}
|
111
95
|
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
96
|
+
#footer-gravatar {
|
97
|
+
text-align: center;
|
98
|
+
img {
|
99
|
+
margin-top: 1em;
|
100
|
+
clip-path: circle();
|
101
|
+
width: 100px;
|
102
|
+
}
|
119
103
|
}
|
120
104
|
|
121
105
|
#license {
|
122
106
|
font-style: small;
|
107
|
+
text-align: center;
|
123
108
|
}
|
124
109
|
|
125
|
-
#
|
110
|
+
#atom {
|
126
111
|
width: 4em;
|
112
|
+
}
|
113
|
+
|
114
|
+
#build-time {
|
115
|
+
color: gray;
|
116
|
+
font-family: monospace;
|
117
|
+
font-size:x-small;
|
118
|
+
text-align: center;
|
127
119
|
}
|
data/_sass/_layout.scss
CHANGED
data/_sass/_post.scss
CHANGED