diff --git a/_config.yml b/_config.yml index 2f85441..e61731d 100644 --- a/_config.yml +++ b/_config.yml @@ -5,7 +5,7 @@ layouts: ./_layouts include: ['.htaccess'] exclude: ['.gitignore','Gemfile','Gemfile.lock','README.md','TODO'] keep_files: ['.git','.svn'] -gems: [jekyll-pagination] +gems: [] future: true limit_posts: 0 @@ -14,10 +14,7 @@ pygments: true relative_permalinks: true permalink: pretty -paginate: 10 -paginate_path: -- 'blog/:num' -- 'ru/blog/:num' +paginate_path: 'blog/:num' markdown: rdiscount markdown_ext: markdown,mkd,mkdn,md @@ -30,7 +27,7 @@ host: 0.0.0.0 port: 4000 baseurl: / url: http://localhost:4000 -lsi: true +lsi: false maruku: use_tex: false diff --git a/_posts/2014-01-14-about-zshrc.html b/_posts/2014-01-14-about-zshrc.html index a210306..25784b0 100644 --- a/_posts/2014-01-14-about-zshrc.html +++ b/_posts/2014-01-14-about-zshrc.html @@ -1,4 +1,5 @@ --- +category: en layout: paper last: 14 January 2014 tags: zshrc, configuration, linux diff --git a/blog/archive.html b/blog/archive.html new file mode 100644 index 0000000..f2cb3fc --- /dev/null +++ b/blog/archive.html @@ -0,0 +1,19 @@ +--- +layout: default +title: Archive +comment: false +share: false +back: 2 +--- +
+{{ post.date | date_to_string}} » {{ post.title }} ({{ post.tags }})
+ {% endfor %} + + diff --git a/blog/index.html b/blog/index.html index cb3957f..1c7331e 100644 --- a/blog/index.html +++ b/blog/index.html @@ -9,38 +9,15 @@ back: 1{{ post.date | date_to_string}}
-{{ post.description }}
-Tags: {{ post.tags }}
+ {% for post in site.categories.en limit:10 %} +{{ post.date | date_to_string}}
+{{ post.description }}
+Tags: {{ post.tags }}
{% endfor %} - {% if paginator.total_pages > 1 %} - {% if paginator.previous_page %} - « Prev - {% else %} - « Prev - {% endif %} - - {% for page in (1..paginator.total_pages) %} - {% if page == paginator.page %} - {{ page }} - {% elsif page == 1 %} - {{ page }} - {% else %} - {{ page }} - {% endif %} - {% endfor %} - - {% if paginator.next_page %} - Next » - {% else %} - Next » - {% endif %} - {% endif %} - diff --git a/ru/blog/archive.html b/ru/blog/archive.html new file mode 100644 index 0000000..528f9d4 --- /dev/null +++ b/ru/blog/archive.html @@ -0,0 +1,20 @@ +--- +category: ru +layout: default +title: Архив материалов +comment: false +share: false +back: 2 +--- + +{{ post.date | date_to_string}} » {{ post.title }} ({{ post.tags }})
+ {% endfor %} + + diff --git a/ru/blog/index.html b/ru/blog/index.html index 35ae0fa..e99c081 100644 --- a/ru/blog/index.html +++ b/ru/blog/index.html @@ -10,38 +10,15 @@ back: 1{{ post.date | date_to_string}}
-{{ post.description }}
-Тэги: {{ post.tags }}
+ {% for post in site.categories.ru limit:10 %} +{{ post.date | date_to_string}}
+{{ post.description }}
+Тэги: {{ post.tags }}
{% endfor %} - {% if paginator.total_pages > 1 %} - {% if paginator.previous_page %} - « Предыдущая - {% else %} - « Предыдущая - {% endif %} - - {% for page in (1..paginator.total_pages) %} - {% if page == paginator.page %} - {{ page }} - {% elsif page == 1 %} - {{ page }} - {% else %} - {{ page }} - {% endif %} - {% endfor %} - - {% if paginator.next_page %} - Следующая » - {% else %} - Следующая » - {% endif %} - {% endif %} -