From 6e24ffe9eb7fcf1e0a931494801673b13e274cd1 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Mon, 27 Jul 2015 17:55:15 +0200 Subject: [PATCH] Add blueprint for `delta`. Remove `path` because it's not used --- blueprints.yaml | 10 ++++++++++ pagination.yaml | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/blueprints.yaml b/blueprints.yaml index 9548416..be0546d 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -25,6 +25,16 @@ form: validate: type: bool + delta: + type: text + size: x-small + label: Delta (How many pages to show left and right of the current page) + default: 0 + help: The 'delta' value controls how many pages left and right of the current page are visible. If set to 0 all pages will be shown. + validate: + type: number + min: 0 + built_in_css: type: toggle label: Use built in CSS diff --git a/pagination.yaml b/pagination.yaml index 0d02aaa..c83c903 100644 --- a/pagination.yaml +++ b/pagination.yaml @@ -1,4 +1,3 @@ enabled: true -path: /blog built_in_css: true delta: 0