jekyll-theme-bootstrap-rtl 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +49 -0
  4. data/_includes/analyticstracking.html +10 -0
  5. data/_includes/disqus.html +7 -0
  6. data/_includes/disqus_count.html +12 -0
  7. data/_includes/footer.html +10 -0
  8. data/_includes/head.html +27 -0
  9. data/_includes/intensedebate.html +11 -0
  10. data/_includes/intensedebate_count.html +7 -0
  11. data/_includes/post-image.html +4 -0
  12. data/_includes/widgetpack.html +15 -0
  13. data/_layouts/default.html +69 -0
  14. data/_layouts/home.html +46 -0
  15. data/_layouts/page.html +11 -0
  16. data/_layouts/post.html +50 -0
  17. data/_layouts/tag_page.html +20 -0
  18. data/_locales/fa.yml +192 -0
  19. data/_sass/_fonts.scss +24 -0
  20. data/_sass/_print.scss +9 -0
  21. data/_sass/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  22. data/_sass/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
  23. data/_sass/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  24. data/_sass/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  25. data/_sass/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  26. data/_sass/bootstrap/stylesheets/_bootstrap-compass.scss +9 -0
  27. data/_sass/bootstrap/stylesheets/_bootstrap-mincer.scss +19 -0
  28. data/_sass/bootstrap/stylesheets/_bootstrap-sprockets.scss +9 -0
  29. data/_sass/bootstrap/stylesheets/_bootstrap.scss +57 -0
  30. data/_sass/bootstrap/stylesheets/bootstrap/_alerts.scss +73 -0
  31. data/_sass/bootstrap/stylesheets/bootstrap/_badges.scss +68 -0
  32. data/_sass/bootstrap/stylesheets/bootstrap/_breadcrumbs.scss +28 -0
  33. data/_sass/bootstrap/stylesheets/bootstrap/_button-groups.scss +244 -0
  34. data/_sass/bootstrap/stylesheets/bootstrap/_buttons.scss +168 -0
  35. data/_sass/bootstrap/stylesheets/bootstrap/_carousel.scss +270 -0
  36. data/_sass/bootstrap/stylesheets/bootstrap/_close.scss +36 -0
  37. data/_sass/bootstrap/stylesheets/bootstrap/_code.scss +69 -0
  38. data/_sass/bootstrap/stylesheets/bootstrap/_component-animations.scss +37 -0
  39. data/_sass/bootstrap/stylesheets/bootstrap/_dropdowns.scss +216 -0
  40. data/_sass/bootstrap/stylesheets/bootstrap/_forms.scss +617 -0
  41. data/_sass/bootstrap/stylesheets/bootstrap/_glyphicons.scss +307 -0
  42. data/_sass/bootstrap/stylesheets/bootstrap/_grid.scss +84 -0
  43. data/_sass/bootstrap/stylesheets/bootstrap/_input-groups.scss +171 -0
  44. data/_sass/bootstrap/stylesheets/bootstrap/_jumbotron.scss +54 -0
  45. data/_sass/bootstrap/stylesheets/bootstrap/_labels.scss +66 -0
  46. data/_sass/bootstrap/stylesheets/bootstrap/_list-group.scss +130 -0
  47. data/_sass/bootstrap/stylesheets/bootstrap/_media.scss +66 -0
  48. data/_sass/bootstrap/stylesheets/bootstrap/_mixins.scss +40 -0
  49. data/_sass/bootstrap/stylesheets/bootstrap/_modals.scss +150 -0
  50. data/_sass/bootstrap/stylesheets/bootstrap/_navbar.scss +662 -0
  51. data/_sass/bootstrap/stylesheets/bootstrap/_navs.scss +242 -0
  52. data/_sass/bootstrap/stylesheets/bootstrap/_normalize.scss +424 -0
  53. data/_sass/bootstrap/stylesheets/bootstrap/_pager.scss +54 -0
  54. data/_sass/bootstrap/stylesheets/bootstrap/_pagination.scss +89 -0
  55. data/_sass/bootstrap/stylesheets/bootstrap/_panels.scss +271 -0
  56. data/_sass/bootstrap/stylesheets/bootstrap/_popovers.scss +131 -0
  57. data/_sass/bootstrap/stylesheets/bootstrap/_print.scss +101 -0
  58. data/_sass/bootstrap/stylesheets/bootstrap/_progress-bars.scss +87 -0
  59. data/_sass/bootstrap/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  60. data/_sass/bootstrap/stylesheets/bootstrap/_responsive-utilities.scss +179 -0
  61. data/_sass/bootstrap/stylesheets/bootstrap/_scaffolding.scss +161 -0
  62. data/_sass/bootstrap/stylesheets/bootstrap/_tables.scss +234 -0
  63. data/_sass/bootstrap/stylesheets/bootstrap/_theme.scss +291 -0
  64. data/_sass/bootstrap/stylesheets/bootstrap/_thumbnails.scss +38 -0
  65. data/_sass/bootstrap/stylesheets/bootstrap/_tooltip.scss +101 -0
  66. data/_sass/bootstrap/stylesheets/bootstrap/_type.scss +298 -0
  67. data/_sass/bootstrap/stylesheets/bootstrap/_utilities.scss +55 -0
  68. data/_sass/bootstrap/stylesheets/bootstrap/_variables.scss +879 -0
  69. data/_sass/bootstrap/stylesheets/bootstrap/_wells.scss +29 -0
  70. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  71. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
  72. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  73. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_buttons.scss +65 -0
  74. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  75. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  76. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  77. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  78. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  79. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  80. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  81. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_image.scss +33 -0
  82. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  83. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_list-group.scss +32 -0
  84. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  85. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  86. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  87. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
  88. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  89. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  90. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  91. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
  92. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  93. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  94. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_size.scss +10 -0
  95. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  96. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  97. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
  98. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  99. data/_sass/bootstrap/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  100. data/_sass/bootstrap/stylesheets/directional-scss/README.md +75 -0
  101. data/_sass/bootstrap/stylesheets/directional-scss/_directional.scss +63 -0
  102. data/_sass/jekyll-theme-bootstrap-rtl.scss +262 -0
  103. data/assets/css/font-awesome.min.css +4 -0
  104. data/assets/css/styles.scss +4 -0
  105. data/assets/fonts/BTitrBold.eot +0 -0
  106. data/assets/fonts/BTitrBold.ttf +0 -0
  107. data/assets/fonts/BTitrBold.woff +0 -0
  108. data/assets/fonts/FontAwesome.otf +0 -0
  109. data/assets/fonts/fontawesome-webfont.eot +0 -0
  110. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  111. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  112. data/assets/fonts/fontawesome-webfont.woff +0 -0
  113. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  114. data/assets/fonts/iransans.eot +0 -0
  115. data/assets/fonts/iransans.svg +515 -0
  116. data/assets/fonts/iransans.svgz +0 -0
  117. data/assets/fonts/iransans.ttf +0 -0
  118. data/assets/fonts/iransans.woff +0 -0
  119. data/assets/fonts/iransansb.ttf +0 -0
  120. data/assets/img/favicon.ico +0 -0
  121. data/assets/img/favicon.png +0 -0
  122. data/assets/js/bootstrap.min.js +7 -0
  123. data/assets/js/disqus.js +59 -0
  124. data/assets/js/jquery.min.js +4 -0
  125. data/assets/js/main.js +0 -0
  126. metadata +295 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b1b3fc25c22e1351a5fa658485c23ecdd08f6a0e
4
+ data.tar.gz: 3785cd91c2d4df1dc3613618db7ee1e2de4b3cbc
5
+ SHA512:
6
+ metadata.gz: 6710627423ab84307af38a3f91f6189be7ce6f3d8d80799c29c56ffee76cf12ab471c598f85117122704f9447590e974a274f8507879236471176864500e4720
7
+ data.tar.gz: 1b794db4537f462924f78bc077be48050764a832d6afd6f04bade79eee14c72bd8759820254bcdcf70479e8e584be3b4f81a4b34b4b487f248ba8a45e33cc503
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 A.Radmanesh
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,49 @@
1
+ # jekyll-theme-bootstrap-rtl
2
+
3
+ This is a right to left jekyll them using bootstrap 3, integrating jalali date and persian numbers. Enjoy editing to your liking and use is for your own blog.
4
+
5
+ ![Screenshot of theme](screenshot.png)
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's `Gemfile`:
10
+
11
+ ```ruby
12
+ gem "jekyll-theme-bootstrap-rtl"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: jekyll-theme-bootstrap-rtl
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install jekyll-theme-bootstrap-rtl
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/radmanesh/jekyll-theme-bootstrap-rtl. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## Development
38
+
39
+ To set up your environment to develop this theme, run `bundle install`.
40
+
41
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
42
+
43
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
44
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-bootstrap-rtl.gemspec` accordingly.
45
+
46
+ ## License
47
+
48
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
49
+
@@ -0,0 +1,10 @@
1
+ <script>
2
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
6
+
7
+ ga('create', '{{ site.google_analytics_id }}', 'auto');
8
+ ga('send', 'pageview');
9
+
10
+ </script>
@@ -0,0 +1,7 @@
1
+ <!-- The empty element required for Disqus to loads comments into -->
2
+ <div id="disqus_thread"></div>
3
+
4
+ <!--script src="//code.jquery.com/jquery-1.11.3.min.js"></script-->
5
+ <script src="{{ 'assets/js/disqus.js' | absolute_url}}"></script>
6
+
7
+ <noscript> Please enable JavaScript to view disqus comments. </noscript>
@@ -0,0 +1,12 @@
1
+ <script type="text/javascript">
2
+ /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
3
+ var disqus_shortname = '{{ site.disqus_shortname }}'; // required: replace example with your forum shortname
4
+
5
+ /* * * DON'T EDIT BELOW THIS LINE * * */
6
+ (function () {
7
+ var s = document.createElement('script'); s.async = true;
8
+ s.type = 'text/javascript';
9
+ s.src = '//' + disqus_shortname + '.disqus.com/count.js';
10
+ (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
11
+ }());
12
+ </script>
@@ -0,0 +1,10 @@
1
+ <footer class="footer text-center">
2
+ <div class="container">
3
+ <small class="copyright">Copyright &copy; 2017 <a href="mailto:{{site.email}}" rel="designer">{{site.author}}</a></small>
4
+ <div class="center">
5
+ <small style="color:gray">Site generated on {{ site.time | date_to_rfc822 }}</small>
6
+ </div>
7
+ </div><!--//container-->
8
+
9
+ {% if site.google_analytics_id %} {% include analyticstracking.html %} {% endif %}
10
+ </footer>
@@ -0,0 +1,27 @@
1
+ <head>
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 | strip_newlines}}">
10
+ {%- if page.title -%}
11
+ <title>{{ page.title }} - {{ site.title}}</title>
12
+ {%- else -%}
13
+ <title>{{ site.title}}</title>
14
+ {%- endif -%}
15
+ <link rel="stylesheet" href="{{ 'assets/css/font-awesome.min.css' | absolute_url }}">
16
+ <link rel="stylesheet" href="{{ 'assets/css/styles.css' | absolute_url }}">
17
+ <link rel="canonical" href="{{ site.baseurl, page.url | absolute_url }}">
18
+ <link rel="icon" href="{{ site.favicon | absolute_url}}">
19
+ {%- if page.style -%}
20
+ <style type="text/css">
21
+ {{ page.style }}
22
+ </style>
23
+ {%- endif -%}
24
+ {%- if page.url == "/404.html" -%}
25
+ <meta http-equiv="refresh" content="5; url='{{ site.baseurl | absolute_url}}'" />
26
+ {%- endif -%}
27
+ </head>
@@ -0,0 +1,11 @@
1
+ <!-- The empty element required for intensedebate to loads comments into -->
2
+
3
+ <script>
4
+ var idcomments_acct = '{{ site.debate_acc }}';
5
+ var idcomments_post_id;
6
+ var idcomments_post_url;
7
+ </script>
8
+ <span id="IDCommentsPostTitle" style="display:none"></span>
9
+ <script type='text/javascript' src='https://www.intensedebate.com/js/genericCommentWrapperV2.js'></script>
10
+
11
+ <noscript> Please enable JavaScript to view intensedebate comments. </noscript>
@@ -0,0 +1,7 @@
1
+ <script>
2
+ var idcomments_acct = '{{ site.debate_acc }}';
3
+ var idcomments_post_id;
4
+ var idcomments_post_url;
5
+ </script>
6
+ <script type="text/javascript" src="https://www.intensedebate.com/js/genericLinkWrapperV2.js"></script>
7
+
@@ -0,0 +1,4 @@
1
+ <figure class="post-image">
2
+ <img src="{{ include.src }}" alt="{{ include.alt }}">
3
+ <figcaption>{{ include.caption }}</figcaption>
4
+ </figure>
@@ -0,0 +1,15 @@
1
+ <div id="wpac-comment"></div>
2
+ <script type="text/javascript">
3
+ wpac_init = window.wpac_init || [];
4
+ wpac_init.push({widget: 'Comment', id: {{ site.widgetpack_id }} , url: '{{ page.url }}' });
5
+ (function() {
6
+ if ('WIDGETPACK_LOADED' in window) return;
7
+ WIDGETPACK_LOADED = true;
8
+ var mc = document.createElement('script');
9
+ mc.type = 'text/javascript';
10
+ mc.async = true;
11
+ mc.src = 'https://embed.widgetpack.com/widget.js';
12
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(mc, s.nextSibling);
13
+ })();
14
+ </script>
15
+ <!--<a href="https://widgetpack.com" class="wpac-cr">Comments System WIDGET PACK</a>-->
@@ -0,0 +1,69 @@
1
+ <!DOCTYPE html>
2
+ <html dir="rtl" lang="fa">
3
+ {% include head.html %}
4
+
5
+ <body>
6
+ <nav class="navbar navbar-blog fixed">
7
+ <div class="container">
8
+ <!-- Brand and toggle get grouped for better mobile display -->
9
+ <div class="navbar-header">
10
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#blog-navbar-collapse" aria-expanded="false">
11
+ <span class="sr-only">Toggle navigation</span>
12
+ <span class="icon-bar"></span>
13
+ <span class="icon-bar"></span>
14
+ <span class="icon-bar"></span>
15
+ </button>
16
+ <a class="navbar-brand" href="{{ site.baseurl | absolute_url }}">{{ site.title }}</a>
17
+ </div>
18
+
19
+ <!-- Collect the nav links, forms, and other content for toggling -->
20
+ <div class="collapse navbar-collapse" id="blog-navbar-collapse">
21
+ <ul class="nav navbar-nav">
22
+ <li class="active"><a href="{{ site.baseurl | absolute_url }}">خانه<span class="sr-only">(current)</span></a></li>
23
+ <li class=""><a href="/tags">برجسب‌ها<span class="sr-only">(current)</span></a></li>
24
+ </ul>
25
+ </div><!-- /.navbar-collapse -->
26
+ </div><!-- /.container-fluid -->
27
+ </nav>
28
+ <div class="container">
29
+ <div class="row">
30
+ <div class="col-md-9 col-sm-12 page-content">
31
+ <div class="wrapper">
32
+ {{- content -}}
33
+ </div>
34
+ </div>
35
+
36
+ <div class="col-md-3 hidden-xs hidden-sm sidebar">
37
+ <!-- Recent Post -->
38
+ <div class="col-lg-12">
39
+ <h4 class="recent-title"> آخرین پست‌ها</h4>
40
+ <ul class="list-unstyled">
41
+ {% for post in site.posts limit:5 %}
42
+ <li><a class="recent-item" href="{{ post.url | prepend: site.url }}"><span > {{ post.title }} </span></a></li>
43
+ {% endfor %}
44
+ </ul>
45
+ </div>
46
+
47
+ <!-- Tags -->
48
+ <div class="col-lg-12">
49
+ <h4 class="recent-title"> برجسب‌ها</h4>
50
+ <div class="tags">
51
+ {% for tag in site.tags %}
52
+ {% assign t = tag | first %}
53
+ {% assign posts = tag | last %}
54
+ <a href="{{ t | prepend: '/tag/' | prepend: site.url }}"><span class="tag">{{t | downcase | replace:" ","-" }}</span></a>
55
+ {% endfor %}
56
+ </div>
57
+ </div>
58
+
59
+ </div>
60
+
61
+ </div>
62
+ </div>
63
+ {%- include footer.html -%}
64
+ <script src="{{ 'assets/js/jquery.min.js' | absolute_url }}"></script>
65
+ <script src="{{ 'assets/js/bootstrap.min.js' | absolute_url }}"></script>
66
+ <script src="{{ 'assets/js/main.js' | absolute_url }}"></script>
67
+ </body>
68
+
69
+ </html>
@@ -0,0 +1,46 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="home">
5
+ <h1 class="page-heading"> خانه </h1>
6
+
7
+ <ul class="post-list">
8
+ {% if paginator %}
9
+ {% for post in paginator.posts %}
10
+ <li>
11
+ <span class="post-meta"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span>
12
+ <h2 class="post-title"><a class="post-link" href="{{ post.url | absolute_url }}">{{ post.title }}</a> </h2>
13
+ {{ post.content | strip_html | truncatewords: 35 }}
14
+ </li>
15
+ {% endfor %}
16
+ {% else %}
17
+ {% for post in site.posts %}
18
+ <li>
19
+ <span class="post-meta"><span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span></span>
20
+ <h2><a class="post-link" href="{{ post.url | absolute_url }}">{{ post.title }}</a></h2>
21
+ {{ post.content | strip_html | truncatewords: 35 }}
22
+ </li>
23
+ {% endfor %}
24
+ {% endif %}
25
+ </ul>
26
+
27
+ <hr>
28
+
29
+ <div class="pagination-nav">
30
+ <nav aria-label="pagination">
31
+ <ul class="pager">
32
+ {% if paginator.next_page %}
33
+ <li class="next"><a href="{{ paginator.next_page_path | absolute_url }}">بعدی <span aria-hidden="true">&larr;</span></a></li>
34
+ {% else %}
35
+ <li class="next disabled"><a class="">بعدی <span aria-hidden="true">&larr;</span></a></li>
36
+ {% endif %}
37
+
38
+ {% if paginator.previous_page %}
39
+ <li class="previous"><a href="{{ paginator.previous_page_path | absolute_url }}"><span aria-hidden="true">&rarr;</span> قبلی</a></li>
40
+ {% else %}
41
+ <li class="previous disabled"><a href="#"><span aria-hidden="true">&rarr;</span> قبلی</a></li>
42
+ {% endif %}
43
+ </ul>
44
+ </nav>
45
+ </div>
46
+ </div>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="post">
5
+ <header class="post-header">
6
+ <h1 class="post-title">{{ page.title }}</h1>
7
+ </header>
8
+ <article class="post-content">
9
+ {{ content }}
10
+ </article>
11
+ </div>
@@ -0,0 +1,50 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="post">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title">{{ page.title }}</h1>
8
+ <p class="post-meta">
9
+ <span class="date">{{ page.date | jdate: "%A %d %b %Y" | habify}}</span>
10
+ {% if page.meta %} • {{ page.meta }}{% endif %}
11
+ </p>
12
+ </header>
13
+
14
+ <article class="post-content">
15
+ {{ content }}
16
+ </article>
17
+
18
+ <div id="post-tags" class="post-tags">
19
+ <ul class="list-inline">
20
+ {% for tag in page.tags %}
21
+ <li><a rel="tag" href="{{ tag | tag_url }}"><span class="label label-primary label-tag"><i class="fa fa-tag" aria-hidden="true"></i> {{tag}}</span></a></li>
22
+ {% endfor %}
23
+ </ul>
24
+ </div>
25
+
26
+ <hr>
27
+ <nav aria-label="pagination">
28
+ <ul class="pager">
29
+ {% if page.next %}
30
+ <li class="next"><a href="{{ page.next.url | absolute_url }}">{{ page.next.title }} <span aria-hidden="true">&larr;</span></a></li>
31
+ {% endif %}
32
+ {% if page.previous %}
33
+ <li class="previous"><a href="{{ page.previous.url | absolute_url }}"><span aria-hidden="true">&rarr;</span> {{ page.previous.title }}</a></li>
34
+ {% endif %}
35
+ </ul>
36
+ </nav>
37
+
38
+ {% if site.disqus %}
39
+ {% include disqus.html %}
40
+ {% endif %}
41
+
42
+ {% if site.debate %}
43
+ {% include intensedebate.html %}
44
+ {% endif %}
45
+
46
+ {% if site.widgetpack %}
47
+ {% include widgetpack.html %}
48
+ {% endif %}
49
+
50
+ </div>
@@ -0,0 +1,20 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="tag-page">
5
+ <h1 class="page-heading">❖ &nbsp; {{ page.tag }}</h1>
6
+ <ul id="post-list">
7
+ {% for post in page.posts %}
8
+ <li>
9
+ <span class="post-meta list-meta-col">
10
+ <span class="date">{{ post.date | jdate: "%A %d %b %Y" | habify }}</span>
11
+ </span>
12
+ <span><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></span>
13
+ </li>
14
+ {% endfor %}
15
+ </ul>
16
+ <hr >
17
+ <div id="tag-cloud">
18
+ {{ site | tag_cloud }}
19
+ </div>
20
+ </div>
@@ -0,0 +1,192 @@
1
+ fa:
2
+ date:
3
+ abbr_day_names:
4
+ - ی
5
+ - د
6
+ - س
7
+ - چ
8
+ - پ
9
+ - ج
10
+ - ش
11
+ abbr_month_names:
12
+ -
13
+ - ژانویه
14
+ - فوریه
15
+ - مارس
16
+ - آوریل
17
+ - مه
18
+ - ژوئن
19
+ - ژوئیه
20
+ - اوت
21
+ - سپتامبر
22
+ - اکتبر
23
+ - نوامبر
24
+ - دسامبر
25
+ day_names:
26
+ - یکشنبه
27
+ - دوشنبه
28
+ - سه‌شنبه
29
+ - چهارشنبه
30
+ - پنج‌شنبه
31
+ - جمعه
32
+ - شنبه
33
+ formats:
34
+ default: ! '%Y/%m/%d'
35
+ long: ! '%e %B %Y'
36
+ short: ! '%m/%d'
37
+ month_names:
38
+ -
39
+ - ژانویه
40
+ - فوریه
41
+ - مارس
42
+ - آوریل
43
+ - مه
44
+ - ژوئن
45
+ - ژوئیه
46
+ - اوت
47
+ - سپتامبر
48
+ - اکتبر
49
+ - نوامبر
50
+ - دسامبر
51
+ order:
52
+ - :day
53
+ - :month
54
+ - :year
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ one: حدود یک ساعت
59
+ other: حدود %{count} ساعت
60
+ about_x_months:
61
+ one: حدود یک ماه
62
+ other: حدود %{count} ماه
63
+ about_x_years:
64
+ one: حدود یک سال
65
+ other: حدود %{count} سال
66
+ almost_x_years:
67
+ one: حدود یک سال
68
+ other: حدود %{count} سال
69
+ half_a_minute: نیم دقیقه
70
+ less_than_x_minutes:
71
+ one: کمتر از یک دقیقه
72
+ other: کمتر از %{count} دقیقه
73
+ less_than_x_seconds:
74
+ one: یک ثانیه
75
+ other: کمتر از %{count} ثانیه
76
+ over_x_years:
77
+ one: بیش از یک سال
78
+ other: بیش از %{count} سال
79
+ x_days:
80
+ one: یک روز
81
+ other: ! '%{count} روز'
82
+ x_minutes:
83
+ one: یک دقیقه
84
+ other: ! '%{count} دقیقه'
85
+ x_months:
86
+ one: یک ماه
87
+ other: ! '%{count} ماه'
88
+ x_seconds:
89
+ one: یک ثانیه
90
+ other: ! '%{count} ثانیه'
91
+ prompts:
92
+ day: روز
93
+ hour: ساعت
94
+ minute: دقیقه
95
+ month: ماه
96
+ second: ثانیه
97
+ year: سال
98
+ errors:
99
+ format: ! '%{attribute} %{message}'
100
+ messages:
101
+ accepted: باید پذیرفته شود
102
+ blank: نباید خالی باشد
103
+ confirmation: با تایید نمی‌خواند
104
+ empty: نمی‌تواند خالی باشد
105
+ equal_to: باید برابر %{count} باشد
106
+ even: باید زوج باشد
107
+ exclusion: رزرو است
108
+ greater_than: باید بزرگتر از %{count} باشد
109
+ greater_than_or_equal_to: باید بزرگتر یا برابر %{count} باشد
110
+ inclusion: در لیست موجود نیست
111
+ invalid: نامعتبر است
112
+ less_than: باید کمتر از %{count} باشد
113
+ less_than_or_equal_to: باید کمتر یا برابر %{count} باشد
114
+ not_a_number: عدد نیست
115
+ not_an_integer: عدد صحیح نیست
116
+ odd: باید فرد باشد
117
+ record_invalid: رکورد نامعتبر است %{errors}
118
+ taken: پیشتر گرفته شده
119
+ too_long: بلند است (حداکثر %{count} کاراکتر)
120
+ too_short: کوتاه است (حداقل %{count} کاراکتر)
121
+ wrong_length: نااندازه است (باید %{count} کاراکتر باشد)
122
+ template:
123
+ body: ! 'موارد زیر مشکل داشت:'
124
+ header:
125
+ one: 1 خطا جلوی ذخیره این %{model} را گرفت
126
+ other: ! '%{count} خطا جلوی ذخیره این %{model} را گرفت'
127
+ helpers:
128
+ select:
129
+ prompt: لطفا انتخاب کنید
130
+ submit:
131
+ create: ! 'ایجاد %{model}'
132
+ submit: ! 'ذخیره‌ی %{model}'
133
+ update: ! 'بروز رسانی %{model}'
134
+ number:
135
+ currency:
136
+ format:
137
+ delimiter: ٬
138
+ format: ! '%n %u'
139
+ precision: 0
140
+ separator: ٫
141
+ significant: false
142
+ strip_insignificant_zeros: false
143
+ unit: ﷼
144
+ format:
145
+ delimiter: ٬
146
+ precision: 2
147
+ separator: ٫
148
+ significant: false
149
+ strip_insignificant_zeros: false
150
+ human:
151
+ decimal_units:
152
+ format: ! '%n %u'
153
+ units:
154
+ billion: میلیارد
155
+ million: میلیون
156
+ quadrillion: کادریلیون
157
+ thousand: هزار
158
+ trillion: تریلیون
159
+ unit: ''
160
+ format:
161
+ delimiter: ''
162
+ precision: 1
163
+ significant: true
164
+ strip_insignificant_zeros: true
165
+ storage_units:
166
+ format: ! '%n %u'
167
+ units:
168
+ byte:
169
+ one: بایت
170
+ other: بایت
171
+ gb: گیگابایت
172
+ kb: کیلوبایت
173
+ mb: مگابایت
174
+ tb: ترابایت
175
+ percentage:
176
+ format:
177
+ delimiter: ''
178
+ precision:
179
+ format:
180
+ delimiter: ''
181
+ support:
182
+ array:
183
+ last_word_connector: ! ' و '
184
+ two_words_connector: ! ' و '
185
+ words_connector: ! '، '
186
+ time:
187
+ am: قبل از ظهر
188
+ formats:
189
+ default: ! '%A، %e %B %Y، ساعت %H:%M:%S (%Z)'
190
+ long: ! '%e %B %Y، ساعت %H:%M'
191
+ short: ! '%e %B، ساعت %H:%M'
192
+ pm: بعد از ظهر