jekyll-theme-mehdix-rtl 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a133b78de33cbe38194ce75a5fb6eb23c5173a41
4
- data.tar.gz: ac69b63b7c92ff542a644d501acae2192504762f
3
+ metadata.gz: 2238b1aa6b43640a752fb0a897e8cd25e32bc858
4
+ data.tar.gz: 4cdbd6b44a3d4a4713718dd90867c18f5427616d
5
5
  SHA512:
6
- metadata.gz: 6cc2d5ec875779304d9dc6de971a54482d32c7f2ca018d599841a52c0652427112fdd426d7e4281fa32af9b5e94e4a96ecb97f1b7801e3abc15c0d7fd659643a
7
- data.tar.gz: 82af70eab25df42aaf8f7a40700a20a7a2dde3eb201e160b2abe48f0baebf39883bbf41a96d138bd5cc4595bbc51f1b0febeb71383f99ba9820745708fb0b98b
6
+ metadata.gz: d194299059f147cce8b4b9852a66d174f26521519b3f2b57f0691e6144a5036360a61b3c3da5efe52d55fe2c883515d395a52b8b7350e71f78755ae994586051
7
+ data.tar.gz: 1903cf947a0aed441b9c7771c06831b27089730f3f93766627024f6f78efec70d36765a8a067489c2e1dc7e07eca4cb3b5d5885b8b2155025e077c591824601b
data/_layouts/home.html CHANGED
@@ -4,14 +4,49 @@ layout: default
4
4
 
5
5
  <div class="home">
6
6
 
7
- <h1 class="page-heading">❖ &nbsp; همه‌ی نوشته‌ها</h1>
7
+ <h1 class="page-heading"></h1>
8
+
9
+ <ul class="post-list">
10
+ {% if paginator %}
11
+
12
+ {% for post in paginator.posts %}
13
+ <li>
14
+ <span class="post-meta"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span>
15
+
16
+ <h2>
17
+ <a class="post-link" href="{{ post.url | absolute_url }}">{{ post.title }}</a>
18
+ </h2>
19
+ {{ post.content | strip_html | truncatewords: 35 }}
20
+ </li>
21
+ {% endfor %}
22
+
23
+ {% else %}
8
24
 
9
- <ul id="post-list">
10
25
  {% for post in site.posts %}
11
26
  <li>
12
- <span class="post-meta list-meta-col"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span>
13
- <span><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></span>
27
+ <span class="post-meta"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span>
28
+
29
+ <h2>
30
+ <a class="post-link" href="{{ post.url | absolute_url }}">{{ post.title }}</a>
31
+ </h2>
32
+ {{ post.content | strip_html | truncatewords: 35 }}
14
33
  </li>
15
34
  {% endfor %}
35
+
36
+ {% endif %}
16
37
  </ul>
17
- </div>
38
+
39
+
40
+ <div class="pagination">
41
+ <p>
42
+ {% if paginator.next_page %}
43
+ <a href="{{ paginator.next_page_path | absolute_url }}" class="next" style="float: left"> بعدی >> </a>
44
+ {% endif %}
45
+
46
+ {% if paginator.previous_page %}
47
+ <a href="{{ paginator.previous_page_path | absolute_url }}" class="previous" style="margin-right:0px;">&#60&#60 قبلی</a>
48
+ {% endif %}
49
+ </p>
50
+ </div>
51
+
52
+ </div>
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+
7
+ <h1 class="page-heading">❖ &nbsp; همه‌ی نوشته‌ها</h1>
8
+
9
+ <ul id="post-list">
10
+ {% for post in site.posts %}
11
+ <li>
12
+ <span class="post-meta list-meta-col"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span>
13
+ <span><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></span>
14
+ </li>
15
+ {% endfor %}
16
+ </ul>
17
+ </div>
data/_sass/_base.scss CHANGED
@@ -131,7 +131,7 @@ code {
131
131
  font-size: 15px;
132
132
  border: 1px solid $grey-color-light;
133
133
  border-radius: 3px;
134
- background-color: #eef;
134
+ /* background-color: #eef; */
135
135
  }
136
136
 
137
137
  code {
@@ -0,0 +1,118 @@
1
+ /*
2
+ # pygments-css
3
+
4
+
5
+ [Pygments](http://pygments.org), a Python-based code highlighting tool, comes with a set of builtin styles (not css files) for code highlighting. You have to generate a CSS file using the command line.
6
+
7
+ You can generate these yourself, but this git repository has already generated them for you.
8
+
9
+
10
+ build
11
+ -----
12
+
13
+ These css files were generated using pygmentize on the command line like so::
14
+
15
+ pygmentize -S default -f html -a .highlight > default.css
16
+
17
+ You can remove or change the top-level class by removing or modifying `-a .highlight` in the `makefile`.
18
+
19
+ To regenerate them all with whichever ``pygments`` version you are using, run
20
+
21
+ git clone <this repo>
22
+ cd pygments-css
23
+ make cssfiles
24
+
25
+ This is free and unencumbered software released into the public domain.
26
+
27
+ Anyone is free to copy, modify, publish, use, compile, sell, or
28
+ distribute this software, either in source code form or as a compiled
29
+ binary, for any purpose, commercial or non-commercial, and by any
30
+ means.
31
+
32
+ In jurisdictions that recognize copyright laws, the author or authors
33
+ of this software dedicate any and all copyright interest in the
34
+ software to the public domain. We make this dedication for the benefit
35
+ of the public at large and to the detriment of our heirs and
36
+ successors. We intend this dedication to be an overt act of
37
+ relinquishment in perpetuity of all present and future rights to this
38
+ software under copyright law.
39
+
40
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
42
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
43
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
44
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
45
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
46
+ OTHER DEALINGS IN THE SOFTWARE.
47
+
48
+ For more information, please refer to <http://unlicense.org>
49
+ */
50
+ .highlight .hll { background-color: #ffffcc }
51
+ .highlight { background: #f8f8f8; }
52
+ .highlight .c { color: #408080; font-style: italic } /* Comment */
53
+ .highlight .err { border: 1px solid #FF0000 } /* Error */
54
+ .highlight .k { color: #008000; font-weight: bold } /* Keyword */
55
+ .highlight .o { color: #666666 } /* Operator */
56
+ .highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
57
+ .highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
58
+ .highlight .cp { color: #BC7A00 } /* Comment.Preproc */
59
+ .highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
60
+ .highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
61
+ .highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
62
+ .highlight .gd { color: #A00000 } /* Generic.Deleted */
63
+ .highlight .ge { font-style: italic } /* Generic.Emph */
64
+ .highlight .gr { color: #FF0000 } /* Generic.Error */
65
+ .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
66
+ .highlight .gi { color: #00A000 } /* Generic.Inserted */
67
+ .highlight .go { color: #888888 } /* Generic.Output */
68
+ .highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
69
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
70
+ .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
71
+ .highlight .gt { color: #0044DD } /* Generic.Traceback */
72
+ .highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
73
+ .highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
74
+ .highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
75
+ .highlight .kp { color: #008000 } /* Keyword.Pseudo */
76
+ .highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
77
+ .highlight .kt { color: #B00040 } /* Keyword.Type */
78
+ .highlight .m { color: #666666 } /* Literal.Number */
79
+ .highlight .s { color: #BA2121 } /* Literal.String */
80
+ .highlight .na { color: #7D9029 } /* Name.Attribute */
81
+ .highlight .nb { color: #008000 } /* Name.Builtin */
82
+ .highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
83
+ .highlight .no { color: #880000 } /* Name.Constant */
84
+ .highlight .nd { color: #AA22FF } /* Name.Decorator */
85
+ .highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
86
+ .highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
87
+ .highlight .nf { color: #0000FF } /* Name.Function */
88
+ .highlight .nl { color: #A0A000 } /* Name.Label */
89
+ .highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
90
+ .highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
91
+ .highlight .nv { color: #19177C } /* Name.Variable */
92
+ .highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
93
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
94
+ .highlight .mb { color: #666666 } /* Literal.Number.Bin */
95
+ .highlight .mf { color: #666666 } /* Literal.Number.Float */
96
+ .highlight .mh { color: #666666 } /* Literal.Number.Hex */
97
+ .highlight .mi { color: #666666 } /* Literal.Number.Integer */
98
+ .highlight .mo { color: #666666 } /* Literal.Number.Oct */
99
+ .highlight .sa { color: #BA2121 } /* Literal.String.Affix */
100
+ .highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
101
+ .highlight .sc { color: #BA2121 } /* Literal.String.Char */
102
+ .highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
103
+ .highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
104
+ .highlight .s2 { color: #BA2121 } /* Literal.String.Double */
105
+ .highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
106
+ .highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
107
+ .highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
108
+ .highlight .sx { color: #008000 } /* Literal.String.Other */
109
+ .highlight .sr { color: #BB6688 } /* Literal.String.Regex */
110
+ .highlight .s1 { color: #BA2121 } /* Literal.String.Single */
111
+ .highlight .ss { color: #19177C } /* Literal.String.Symbol */
112
+ .highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
113
+ .highlight .fm { color: #0000FF } /* Name.Function.Magic */
114
+ .highlight .vc { color: #19177C } /* Name.Variable.Class */
115
+ .highlight .vg { color: #19177C } /* Name.Variable.Global */
116
+ .highlight .vi { color: #19177C } /* Name.Variable.Instance */
117
+ .highlight .vm { color: #19177C } /* Name.Variable.Magic */
118
+ .highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
data/assets/css/main.scss CHANGED
@@ -2,6 +2,7 @@
2
2
  # Only the main Sass file needs front matter (the dashes are enough)
3
3
  ---
4
4
  @charset "utf-8";
5
+
5
6
  /* Droid Arabic Naskh */
6
7
  @import url(https://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);
7
8
 
@@ -55,9 +56,9 @@ $assets-dir: '{{ "assets" | absolute_url }}';
55
56
 
56
57
  // Import partials from `sass_dir` (defaults to `_sass`)
57
58
  @import
58
- "base",
59
- "layout",
59
+ "base",
60
+ "layout",
60
61
  "print",
61
- "ux-theme"
62
+ "ux-theme",
63
+ "default.css"
62
64
  ;
63
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-mehdix-rtl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehdi Sadeghi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-30 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.3'
27
27
  - !ruby/object:Gem::Dependency
28
- name: jekyll-default-layout
28
+ name: jekyll-jalali
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.1'
41
41
  - !ruby/object:Gem::Dependency
42
- name: jekyll-paginate
42
+ name: jekyll-sitemap
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.1'
55
55
  - !ruby/object:Gem::Dependency
56
- name: jekyll-sitemap
56
+ name: jekyll-paginate
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
@@ -67,21 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.1'
69
69
  - !ruby/object:Gem::Dependency
70
- name: jekyll-jalali
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '0.1'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '0.1'
83
- - !ruby/object:Gem::Dependency
84
- name: jekyll-markright
70
+ name: jekyll-hinduarabic
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - "~>"
@@ -95,7 +81,7 @@ dependencies:
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0.1'
97
83
  - !ruby/object:Gem::Dependency
98
- name: jekyll-hinduarabic
84
+ name: jekyll-default-layout
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - "~>"
@@ -108,20 +94,6 @@ dependencies:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
96
  version: '0.1'
111
- - !ruby/object:Gem::Dependency
112
- name: coderay
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1.1'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '1.1'
125
97
  - !ruby/object:Gem::Dependency
126
98
  name: bundler
127
99
  requirement: !ruby/object:Gem::Requirement
@@ -172,6 +144,7 @@ files:
172
144
  - _layouts/default.html
173
145
  - _layouts/home.html
174
146
  - _layouts/message.html
147
+ - _layouts/minimal.html
175
148
  - _layouts/page.html
176
149
  - _layouts/post.html
177
150
  - _layouts/project.html
@@ -180,6 +153,7 @@ files:
180
153
  - _sass/_layout.scss
181
154
  - _sass/_print.scss
182
155
  - _sass/_ux-theme.scss
156
+ - assets/css/default.css
183
157
  - assets/css/main.scss
184
158
  - assets/img/background.gif
185
159
  - assets/img/favicon.png