mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-07-23 18:38:55 +00:00
Fixed pagination and reordered blueprint options
This commit is contained in:
parent
d9abf598f5
commit
53bab9ebef
2 changed files with 46 additions and 17 deletions
|
@ -70,21 +70,8 @@ form:
|
||||||
asc: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_ORDER_DIR_ASC
|
asc: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_ORDER_DIR_ASC
|
||||||
desc: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_ORDER_DIR_DESC
|
desc: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_ORDER_DIR_DESC
|
||||||
|
|
||||||
header.show_breadcrumbs:
|
header.content.pagination:
|
||||||
type: toggle
|
type: toggle
|
||||||
toggleable: true
|
|
||||||
label: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_BREADCRUMBS
|
|
||||||
highlight: 1
|
|
||||||
default: 1
|
|
||||||
options:
|
|
||||||
1: PLUGIN_ADMIN.ENABLED
|
|
||||||
0: PLUGIN_ADMIN.DISABLED
|
|
||||||
validate:
|
|
||||||
type: bool
|
|
||||||
|
|
||||||
header.show_pagination:
|
|
||||||
type: toggle
|
|
||||||
toggleable: true
|
|
||||||
label: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_PAGINATION
|
label: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_PAGINATION
|
||||||
highlight: 1
|
highlight: 1
|
||||||
default: 1
|
default: 1
|
||||||
|
@ -96,7 +83,6 @@ form:
|
||||||
|
|
||||||
header.content.url_taxonomy_filters:
|
header.content.url_taxonomy_filters:
|
||||||
type: toggle
|
type: toggle
|
||||||
toggleable: true
|
|
||||||
label: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_URL_TAXONOMY_FILTERS
|
label: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_URL_TAXONOMY_FILTERS
|
||||||
highlight: 1
|
highlight: 1
|
||||||
default: 1
|
default: 1
|
||||||
|
@ -128,4 +114,8 @@ form:
|
||||||
telegram: Telegram
|
telegram: Telegram
|
||||||
use: keys
|
use: keys
|
||||||
|
|
||||||
|
import@:
|
||||||
|
type: partials/blog-bits
|
||||||
|
context: blueprints://pages
|
||||||
|
|
||||||
|
|
||||||
|
|
39
blueprints/partials/blog-bits.yaml
Normal file
39
blueprints/partials/blog-bits.yaml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
form:
|
||||||
|
fields:
|
||||||
|
|
||||||
|
blog_config:
|
||||||
|
type: spacer
|
||||||
|
title: Configuration
|
||||||
|
|
||||||
|
header.blog_url:
|
||||||
|
type: text
|
||||||
|
toggleable: true
|
||||||
|
label: FUTURE.ADMIN.BLOG.BLOG_ROUTE
|
||||||
|
help: FUTURE.ADMIN.BLOG.BLOG_ROUTE_HELP
|
||||||
|
default: '/blog'
|
||||||
|
placeholder: '/blog'
|
||||||
|
size: medium
|
||||||
|
|
||||||
|
header.show_breadcrumbs:
|
||||||
|
type: toggle
|
||||||
|
toggleable: true
|
||||||
|
label: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_BREADCRUMBS
|
||||||
|
highlight: 1
|
||||||
|
default: 1
|
||||||
|
options:
|
||||||
|
1: PLUGIN_ADMIN.ENABLED
|
||||||
|
0: PLUGIN_ADMIN.DISABLED
|
||||||
|
validate:
|
||||||
|
type: bool
|
||||||
|
|
||||||
|
header.show_pagination:
|
||||||
|
type: toggle
|
||||||
|
toggleable: true
|
||||||
|
label: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_SHOWPAGINATION
|
||||||
|
highlight: 1
|
||||||
|
default: 1
|
||||||
|
options:
|
||||||
|
1: PLUGIN_ADMIN.ENABLED
|
||||||
|
0: PLUGIN_ADMIN.DISABLED
|
||||||
|
validate:
|
||||||
|
type: bool
|
Loading…
Add table
Reference in a new issue