jekyll-theme-mehdix-rtl 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/_includes/analyticstracking.html +1 -1
- data/_includes/footer.html +2 -0
- data/_includes/head.html +14 -21
- data/_includes/header.html +12 -16
- data/_layouts/default.html +2 -3
- data/_layouts/message.html +9 -10
- 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: d462ba6cf9060799faaa662b5f9ff8c4ebeb5750
|
|
4
|
+
data.tar.gz: b1cc7cafa94559a4321f106e9fc634d178e624c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99a4d8c9d16e393cbf56eaf0c7c502f4a969bf931025549daf1223456bcaa1df1bc935586c414ccf0b3f58bcec053d1d457f63c97ea6b84d74b83d4ba25effd6
|
|
7
|
+
data.tar.gz: d75291fc57f0c9ddc7389fb18ca579aca3d559d330d3794f9a28dfb85d54be4b683309e41f306c02653f851c6bd1b72e9c8b384d399c1adc3e6050019b981b22
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
5
5
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
6
6
|
|
|
7
|
-
ga('create', '
|
|
7
|
+
ga('create', '{{site.google_analytics_id | str}}', 'auto');
|
|
8
8
|
ga('send', 'pageview');
|
|
9
9
|
|
|
10
10
|
</script>
|
data/_includes/footer.html
CHANGED
data/_includes/head.html
CHANGED
|
@@ -6,32 +6,25 @@
|
|
|
6
6
|
<meta name="copyright" content="{{ site.copyright }}" />
|
|
7
7
|
<meta name="robot" content="{{ site.robot }}" />
|
|
8
8
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
9
|
-
<meta name="description" content="{{ site.description }}">
|
|
9
|
+
<meta name="description" content="{{ site.description | strip_newlines}}">
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{% endif %}
|
|
17
|
-
</title>
|
|
11
|
+
{%- if page.title -%}
|
|
12
|
+
<title>{{ page.title }} - {{ site.title}}</title>
|
|
13
|
+
{%- else -%}
|
|
14
|
+
<title>{{ site.title}}</title>
|
|
15
|
+
{%- endif -%}
|
|
18
16
|
|
|
19
17
|
<link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}">
|
|
20
18
|
<link rel="canonical" href="{{ site.baseurl, page.url | absolute_url }}">
|
|
21
19
|
<link rel="icon" href="{{ site.favicon | absolute_url}}">
|
|
22
20
|
|
|
23
|
-
{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
{
|
|
28
|
-
{% if page.url == "/404.html" %}
|
|
21
|
+
{%- if page.style -%}
|
|
22
|
+
<style type="text/css">
|
|
23
|
+
{{ page.style }}
|
|
24
|
+
</style>
|
|
25
|
+
{%- endif -%}
|
|
29
26
|
|
|
30
|
-
{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</style>
|
|
34
|
-
{% endif %}
|
|
35
|
-
<meta http-equiv="refresh" content="5; url='{{ site.baseurl | absolute_url}}'">
|
|
36
|
-
{% endif %}
|
|
27
|
+
{%- if page.url == "/404.html" -%}
|
|
28
|
+
<meta http-equiv="refresh" content="5; url='{{ site.baseurl | absolute_url}}'" />
|
|
29
|
+
{%- endif %}
|
|
37
30
|
</head>
|
data/_includes/header.html
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
<header class="site-header">
|
|
2
|
-
|
|
3
2
|
<div class="wrapper">
|
|
4
|
-
|
|
5
3
|
<a class="site-title" href="{{ '' | absolute_url}}">{{ site.title }}</a>
|
|
6
4
|
<small> {{ site.motto }} </small>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<nav class="site-nav">
|
|
5
|
+
{% if site.pages.size > 3 -%}
|
|
6
|
+
<!--nav class="site-nav">
|
|
11
7
|
<a href="#" class="menu-icon">
|
|
12
8
|
<svg viewBox="0 0 18 15">
|
|
13
9
|
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
|
|
@@ -15,18 +11,18 @@
|
|
|
15
11
|
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
|
|
16
12
|
</svg>
|
|
17
13
|
</a>
|
|
18
|
-
|
|
14
|
+
{% assign default_paths = site.pages | map: "path" %}
|
|
15
|
+
{% assign page_paths = site.header_pages | default: default_paths %}
|
|
19
16
|
<div class="trigger">
|
|
20
|
-
{% for
|
|
21
|
-
{%
|
|
22
|
-
|
|
23
|
-
{
|
|
17
|
+
{% for path in page_paths -%}
|
|
18
|
+
{% assign my_page = site.pages | where: "path", path | first %}
|
|
19
|
+
{%- if my_page.title -%}
|
|
20
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
|
21
|
+
{%- endif -%}
|
|
24
22
|
{% endfor %}
|
|
25
23
|
</div>
|
|
26
24
|
</nav>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</div>
|
|
31
|
-
|
|
25
|
+
{%- endif %}
|
|
26
|
+
</div-->
|
|
32
27
|
</header>
|
|
28
|
+
|
data/_layouts/default.html
CHANGED
|
@@ -10,15 +10,14 @@
|
|
|
10
10
|
{% include header.html %}
|
|
11
11
|
|
|
12
12
|
<section class="content">
|
|
13
|
-
|
|
14
13
|
<div class="page-content">
|
|
15
14
|
<div class="wrapper">
|
|
16
|
-
{{ content }}
|
|
15
|
+
{{- content -}}
|
|
17
16
|
</div>
|
|
18
17
|
</div>
|
|
19
18
|
</section>
|
|
20
19
|
|
|
21
|
-
{
|
|
20
|
+
{%- include footer.html -%}
|
|
22
21
|
|
|
23
22
|
</div>
|
|
24
23
|
|
data/_layouts/message.html
CHANGED
|
@@ -5,19 +5,18 @@
|
|
|
5
5
|
{% include head.html %}
|
|
6
6
|
|
|
7
7
|
<body>
|
|
8
|
-
<div class="container">
|
|
8
|
+
<div class="container">
|
|
9
9
|
|
|
10
|
-
<section class="content">
|
|
10
|
+
<section class="content">
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
</section>
|
|
12
|
+
<div class="page-content">
|
|
13
|
+
<div class="wrapper">
|
|
14
|
+
{{ content }}
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</section>
|
|
18
18
|
|
|
19
|
-
</div>
|
|
20
|
-
|
|
19
|
+
</div>
|
|
21
20
|
</body>
|
|
22
21
|
|
|
23
22
|
</html>
|