Skip to content

Commit

Permalink
Переносим эксклюзивы на главную, прячем всё остальное
Browse files Browse the repository at this point in the history
  • Loading branch information
mkpankov committed Jul 1, 2018
1 parent ebcdc00 commit 63bc460
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion exclusives-full.html → all-full.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
changefreq: 'daily'

---
{% include index.html do_paginate=false tag="эксклюзивы" %}
{% include index.html do_paginate=false %}
14 changes: 14 additions & 0 deletions all.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
# Выбор шаблона для страницы. Шаблоны находятся в `_layouts`.
layout: default
# Заголовок. Становится тегом <title> в <head>
title: Лента | Все
# Метаданные для карты сайта
permalink: 'all'
sitemap:
priority: 0.7
changefreq: 'daily'
pagination:
enabled: true
---
{% include index.html do_paginate=true first_page='index.html' all_items='/all-full.html' page_path='all/' %}
11 changes: 0 additions & 11 deletions exclusives.html

This file was deleted.

4 changes: 2 additions & 2 deletions index-full.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: Лента | Все публикации
title: Лента | Эксклюзивы | Все
sitemap:
priority: 0.7
changefreq: 'daily'

---
{% include index.html do_paginate=false %}
{% include index.html do_paginate=false tag="эксклюзивы" %}
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
# Выбор шаблона для страницы. Шаблоны находятся в `_layouts`.
layout: default
# Заголовок. Становится тегом <title> в <head>
title: Лента | Главная
# Метаданные для карты сайта
sitemap:
priority: 0.7
changefreq: 'daily'
pagination:
enabled: true
tag: эксклюзивы
indexpage: 'index'
---
{% include index.html do_paginate=true first_page='index.html' all_items='/index-full.html' page_path='' %}

{% include index.html do_paginate=true page_path='' first_page='index.html' all_items='/index-full.html' %}

0 comments on commit 63bc460

Please sign in to comment.