From 13584878c23146c7093c8d1b9150ff9a98d28c8b Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 14 Nov 2019 00:23:01 +0100 Subject: Polish multilang mode, update docs --- exampleSite/assets/_custom.scss | 2 +- exampleSite/assets/_variables.scss | 2 +- exampleSite/config.toml | 6 +----- exampleSite/config.yaml | 8 +------- 4 files changed, 4 insertions(+), 14 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/assets/_custom.scss b/exampleSite/assets/_custom.scss index 38b16a2..0de9ae1 100644 --- a/exampleSite/assets/_custom.scss +++ b/exampleSite/assets/_custom.scss @@ -1,3 +1,3 @@ -// You can add custom styles here. +/* You can add custom styles here. */ // @import "plugins/numbered"; diff --git a/exampleSite/assets/_variables.scss b/exampleSite/assets/_variables.scss index 431dabc..6e34d16 100644 --- a/exampleSite/assets/_variables.scss +++ b/exampleSite/assets/_variables.scss @@ -1,3 +1,3 @@ -/* You can override SASS variables here. Below example of simple dark theme. */ +/* You can override SASS variables here. */ // @import "plugins/dark"; diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 96e8165..27e1b13 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -61,11 +61,7 @@ defaultContentLanguage = 'en' # - In blog posts BookDateFormat = 'Jan 2, 2006' - # (Optional, default true) Enables search function with lunr.js, + # (Optional, default true) Enables search function with flexsearch, # Index is built on fly, therefore it might slowdown your website. BookSearch = true - # (Optional, default {}) Search config for flexsearch index. - # Read documentation at https://github.com/nextapps-de/flexsearch#usage. By default 'balance' preset is used. - # This option allows to set specific configs for languages support. Must be valid JavaScript object. - BookSearchConfig = '{ cache: true }' diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 6db35ed..3d8dedc 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -59,12 +59,6 @@ params: # - In blog posts BookDateFormat: 'Jan 2, 2006' - # (Optional, default true) Enables search function with lunr.js, + # (Optional, default true) Enables search function with flexsearch, # Index is built on fly, therefore it might slowdown your website. BookSearch: true - - # (Optional, default {}) Search config for flexsearch index. - # Read documentation at https://github.com/nextapps-de/flexsearch#usage. By default 'balance' preset is used. - # This option allows to set specific configs for languages support. Must be valid JavaScript object. - BookSearchConfig: | - { cache: true } -- cgit v1.2.3