Polish multilang mode, update docs

This commit is contained in:
Alex Shpak
2019-11-14 00:23:01 +01:00
parent 7b52bf4232
commit 13584878c2
14 changed files with 32 additions and 27 deletions
+3 -1
View File
@@ -1 +1,3 @@
/* To be overridden by theme user, scss variables are also accessible here */
/* You can add custom styles here. */
// @import "plugins/numbered";
+3 -1
View File
@@ -1 +1,3 @@
/* To be overridden by theme user, e.g. set SASS vars*/
/* You can override SASS variables here. */
// @import "plugins/dark";
+1 -1
View File
@@ -1,7 +1,7 @@
'use strict';
(function() {
const indexCfg = {{ with .Site.Params.BookSearchConfig }}
const indexCfg = {{ with .Scratch.Get "bookSearchConfig" }}
{{ . }};
{{ else }}
{};
+1 -1
View File
@@ -1,6 +1,6 @@
'use strict';
{{ $searchDataFile := printf "%s.%s" .Language.Lang "search-data.js" }}
{{ $searchDataFile := printf "%s.search-data.js" .Language.Lang }}
{{ $searchData := resources.Get "search-data.js" | resources.ExecuteAsTemplate $searchDataFile . | resources.Minify | resources.Fingerprint }}
(function() {