jekyll-theme-mehdix-rtl 3.1.2 → 3.2.0

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
  SHA256:
3
- metadata.gz: 413302e42b5f7247a283bbddcaa493558a11d9d75322a85c4fd041b65084d849
4
- data.tar.gz: 417c0a5ea2ed7af6f0cacec7551aa8fa24d67f155289a36136ae755f4597ca60
3
+ metadata.gz: 8269a35e267301d63950febd4af29a595e3103fc9282a03122782eb83490bebd
4
+ data.tar.gz: 641f36bf44f748a8fb80bfe83e17a519fc38b5a0da05d6d264ceddfe247e4d88
5
5
  SHA512:
6
- metadata.gz: 1101276960de315d667c66619a9374ed2c4f66f7cc19418f17f48e09c2168172f4cfd6b267686797eba76a06c2b8afc96e1eafd93e84027ed1481d762b66ca3d
7
- data.tar.gz: c71d3c4bdfbabb058f4cdf9c68d2212dcc22e4db3b38ff3263509888503c22d042114da077d06eadc76ea1a3aecec7380803d482ac08215ff15d4f5b92ff34b3
6
+ metadata.gz: a62488848eccf239f49a1a0e6da07560d3ecf2d2b75b0132845fce658af76d1997d929e7f00f928daeee6e53e9dcc5f2f30509e69cbb8c4d9b6d8e523ca3940d
7
+ data.tar.gz: 0e2406ec07d768bcc6b50af0ab1b98726007a44b8a7d28aabbca65e671e7cf90ca98a9d81f684dbe023ab6b3604932547e76acb92f226330cbd056adb81c0518
@@ -2,5 +2,8 @@
2
2
  <div class="wrapper">
3
3
  <a class="site-title" href="{{ '/' | absolute_url}}">{{ site.title }}</a>
4
4
  <small id="motto"> {{ site.motto }} </small>
5
+ {% if site.navbar %}
6
+ <nav><a href="{{ 'projects' | absolute_url}}">برنامه‌ها</a></nav>
7
+ {% endif %}
5
8
  </div>
6
9
  </header>
@@ -0,0 +1,38 @@
1
+ <!DOCTYPE html>
2
+ <html dir="rtl" lang="fa">
3
+
4
+ <head>
5
+ {%- include_cached head.html -%}
6
+
7
+ {%- if page.tags -%}
8
+ <meta name="keywords" content='{{ page.tags | join: "," }}' />
9
+ {%- elsif page.url contains site.tag_page_dir -%}
10
+ <meta name="robots" content="noindex">
11
+ {%- else -%}
12
+ <meta name="keywords" content='{{ site.keywords | split: " " | join: "," }}' />
13
+ {%- endif -%}
14
+
15
+ {%- if page.title -%}
16
+ <title>{{ page.title }} - {{ site.title}}</title>
17
+ {%- else -%}
18
+ <title>{{ site.title }}</title>
19
+ {%- endif -%}
20
+
21
+ <link hreflang="fa" rel=alternate type=application/atom+xml title="{{ site.title }}" href="{{ post.url | absolute_url }}/feed.xml">
22
+
23
+ {%- if site.feedburner_id -%}
24
+ <link hreflang="fa" rel=alternate type=application/atom+xml title="{{ site.title }}" href="https://feeds.feedburner.com/{{site.feedburner_id}}">
25
+ {%- endif -%}
26
+
27
+ {% seo %}
28
+
29
+ </head>
30
+
31
+ <body>
32
+
33
+ {{- content -}}
34
+
35
+ <script src="{{ '/assets/js/main.js' | absolute_url }}"></script>
36
+ {% if site.google_analytics_id %} {% include_cached analyticstracking.html %} {% endif %}
37
+ </body>
38
+ </html>
@@ -1,46 +1,12 @@
1
- <!DOCTYPE html>
2
- <html dir="rtl" lang="fa">
3
-
4
- <head>
5
- {%- include_cached head.html -%}
6
-
7
- {%- if page.tags -%}
8
- <meta name="keywords" content='{{ page.tags | join: "," }}' />
9
- {%- elsif page.url contains site.tag_page_dir -%}
10
- <meta name="robots" content="noindex">
11
- {%- else -%}
12
- <meta name="keywords" content='{{ site.keywords | split: " " | join: "," }}' />
13
- {%- endif -%}
14
-
15
- {%- if page.title -%}
16
- <title>{{ page.title }} - {{ site.title}}</title>
17
- {%- else -%}
18
- <title>{{ site.title }}</title>
19
- {%- endif -%}
20
-
21
- <link hreflang="fa" rel=alternate type=application/atom+xml title="{{ site.title }}" href="{{ post.url | absolute_url }}/feed.xml">
22
-
23
- {%- if site.feedburner_id -%}
24
- <link hreflang="fa" rel=alternate type=application/atom+xml title="{{ site.title }}" href="https://feeds.feedburner.com/{{site.feedburner_id}}">
25
- {%- endif -%}
26
-
27
- {% seo %}
28
-
29
- </head>
30
-
31
- <body>
32
-
33
- {%- include_cached header.html -%}
34
-
35
- <main>
36
- <div class="wrapper">
37
- {{- content -}}
38
- </div>
39
- </main>
40
-
41
- {%- include_cached footer.html -%}
42
-
43
- <script src="{{ '/assets/js/main.js' | absolute_url }}"></script>
44
- {% if site.google_analytics_id %} {% include_cached analyticstracking.html %} {% endif %}
45
- </body>
46
- </html>
1
+ ---
2
+ layout: bare
3
+ ---
4
+ {%- include_cached header.html -%}
5
+
6
+ <main>
7
+ <div class="wrapper">
8
+ {{- content -}}
9
+ </div>
10
+ </main>
11
+
12
+ {%- include_cached footer.html -%}
data/_sass/_layout.scss CHANGED
@@ -20,6 +20,15 @@ header {
20
20
  }
21
21
  }
22
22
 
23
+ header nav {
24
+ display: inline;
25
+ margin-right: 1em;
26
+ a {
27
+ color: $anti-color;
28
+ font-size: small;
29
+ }
30
+ }
31
+
23
32
  .site-title {
24
33
  font-size: 26px;
25
34
  line-height: 56px;
@@ -45,6 +54,7 @@ header {
45
54
 
46
55
  .post-list-mini {
47
56
  list-style: none;
57
+
48
58
  a {
49
59
  color: $text-color;
50
60
  }
@@ -58,6 +68,13 @@ header {
58
68
  .list-line {
59
69
  flex-grow: 1;
60
70
  }
71
+ h1, h2, h3, h4, h5, h6 {
72
+ margin-top: 0;
73
+ margin-bottom: 0;
74
+ }
75
+ @include media-query($on-palm) {
76
+ padding-right: 1em;
77
+ }
61
78
  }
62
79
 
63
80
  .meta {
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: 3.1.2
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehdi Sadeghi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-22 00:00:00.000000000 Z
11
+ date: 2019-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -189,6 +189,7 @@ files:
189
189
  - _includes/license.html
190
190
  - _includes/post-image.html
191
191
  - _includes/static_comments.html
192
+ - _layouts/bare.html
192
193
  - _layouts/default.html
193
194
  - _layouts/home.html
194
195
  - _layouts/message.html