mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-07-23 10:28:57 +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
|
@ -69,22 +69,9 @@ form:
|
|||
options:
|
||||
asc: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_ORDER_DIR_ASC
|
||||
desc: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_ORDER_DIR_DESC
|
||||
|
||||
header.show_breadcrumbs:
|
||||
|
||||
header.content.pagination:
|
||||
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
|
||||
highlight: 1
|
||||
default: 1
|
||||
|
@ -93,10 +80,9 @@ form:
|
|||
0: PLUGIN_ADMIN.DISABLED
|
||||
validate:
|
||||
type: bool
|
||||
|
||||
|
||||
header.content.url_taxonomy_filters:
|
||||
type: toggle
|
||||
toggleable: true
|
||||
label: FUTURE.ADMIN.BLOG.BLOG_CONTENT_ITEMS_URL_TAXONOMY_FILTERS
|
||||
highlight: 1
|
||||
default: 1
|
||||
|
@ -127,5 +113,9 @@ form:
|
|||
whatsapp: Whatsapp
|
||||
telegram: Telegram
|
||||
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