jekyll-theme-mehdix-rtl 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/_includes/head.html +31 -25
- data/_layouts/post.html +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f28733f81c528a3f5bb0d30d86d118a013ffc9e6
|
4
|
+
data.tar.gz: 272ddebd53027ab738008b05ad7955455383fbb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 873519d3410591840ff15d65392c6bfe0e01d0f31a08bd475cc4456b676d3d0b69df5c080fe6a3c6a9cd1bfce9d74df07bef956a0aab94eec7e0d2146befadf4
|
7
|
+
data.tar.gz: b89b101cadd061ebf58723105ff8215632ef732e6da15a9cfb96e0ad6922711e4748146949b01953680e59fe6ad54f5a9ea33e440a908391afb991d5932fafc0
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# jekyll-theme-mehdix-rtl [![Gem Version](https://badge.fury.io/rb/jekyll-theme-mehdix-rtl.svg)](https://badge.fury.io/rb/jekyll-theme-mehdix-rtl)
|
2
2
|
|
3
|
-
![](
|
3
|
+
![](screenshot.png)
|
4
4
|
|
5
5
|
This is the jekyll theme used for my personal Persian [website](http://mehdix.ir). Persian aka Farsi is written right-to-left, however some people use Roman script to write Persian language in messaging applications and social networks.
|
6
6
|
|
@@ -41,6 +41,15 @@ You can override theme style by creating matching files with the same structure
|
|
41
41
|
|
42
42
|
|
43
43
|
## Further customization
|
44
|
+
### Layouts
|
45
|
+
The following layouts are available for your homepage:
|
46
|
+
- home: post titles along with an excerpt and pagination
|
47
|
+
- minimal: only post titles
|
48
|
+
|
49
|
+
### Comments
|
50
|
+
In order to enalbe disqus comments add `disqus: true` to your `_config.yml` file.
|
51
|
+
|
52
|
+
### Forcing RTL code blocks
|
44
53
|
If you put code blocks and they appear incorrectly, you can use _Markright gem. First add it to your Gemfile:
|
45
54
|
|
46
55
|
```ruby
|
@@ -57,4 +66,4 @@ markdown: Markright
|
|
57
66
|
|
58
67
|
## License
|
59
68
|
|
60
|
-
[MIT](http://opensource.org/licenses/MIT)
|
69
|
+
[MIT](http://opensource.org/licenses/MIT)
|
data/_includes/head.html
CHANGED
@@ -1,31 +1,37 @@
|
|
1
1
|
<head>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta name="viewport" content="width=device-width initial-scale=1" />
|
4
|
+
<meta name="keywords" content="{{ site.keywords }}" />
|
5
|
+
<meta name="author" content="{{ site.author}}" />
|
6
|
+
<meta name="copyright" content="{{ site.copyright }}" />
|
7
|
+
<meta name="robot" content="{{ site.robot }}" />
|
8
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
9
|
+
<meta name="description" content="{{ site.description }}">
|
9
10
|
|
10
|
-
|
11
|
-
|
11
|
+
<title>
|
12
|
+
{% if page.title %}
|
13
|
+
{{ page.title }} | {{ site.title}}
|
14
|
+
{% else %}
|
15
|
+
{{ site.title}}
|
16
|
+
{% endif %}
|
17
|
+
</title>
|
12
18
|
|
13
|
-
|
14
|
-
|
15
|
-
|
19
|
+
<link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}">
|
20
|
+
<link rel="canonical" href="{{ site.baseurl, page.url | absolute_url }}">
|
21
|
+
<link rel="icon" href="{{ site.favicon | absolute_url}}">
|
16
22
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
+
{% if page.style%}
|
24
|
+
<style type="text/css">
|
25
|
+
{{ page.style }}
|
26
|
+
</style>
|
27
|
+
{% endif %}
|
28
|
+
{% if page.url == "/404.html" %}
|
23
29
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
30
|
+
{% if post.style%}
|
31
|
+
<style type="text/css">
|
32
|
+
{{ post.style }}
|
33
|
+
</style>
|
34
|
+
{% endif %}
|
35
|
+
<meta http-equiv="refresh" content="5; url='{{ site.baseurl | absolute_url}}'">
|
36
|
+
{% endif %}
|
31
37
|
</head>
|
data/_layouts/post.html
CHANGED
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.
|
4
|
+
version: 0.1.2
|
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-
|
11
|
+
date: 2017-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.6.
|
188
|
+
rubygems_version: 2.6.13
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: A right-to-left theme for Jekyll with Jalali support and some other goodies.
|