feat(pagination): add option to disable prev/next navigation
* Feature: disable next/previous pagination buttons site-wide * Moved the displayPagination to the layout level and adjusted the documentation. * fix: improve pagination docs and layout whitespace - Fix indentation in docs layout templates - Add pagination documentation for all languages (fa, ja, zh-cn) - Simplify documentation to be more succinct --------- Co-authored-by: Xin <xin@imfing.com>
This commit is contained in:
@@ -121,6 +121,19 @@ params:
|
||||
height: 20
|
||||
```
|
||||
|
||||
### صفحهبندی
|
||||
|
||||
برای غیرفعال کردن ناوبری قبلی/بعدی در پایین صفحات مستندات یا مقالات وبلاگ:
|
||||
|
||||
```yaml {filename="hugo.yaml"}
|
||||
params:
|
||||
page:
|
||||
displayPagination: false # برای صفحات مستندات
|
||||
blog:
|
||||
article:
|
||||
displayPagination: false # برای مقالات وبلاگ
|
||||
```
|
||||
|
||||
## نوار کناری
|
||||
|
||||
### نوار کناری اصلی
|
||||
|
||||
Reference in New Issue
Block a user