diff options
author | tdro <tdro@noreply.example.com> | 2023-02-12 17:37:23 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-02-12 17:39:29 -0500 |
commit | 79bc7a7def529ee28a9f33037ca4bc4bb297f22e (patch) | |
tree | 9eaa314c412313fdaf043162e40125915be66caa | |
parent | 66466100ad28a086b345a7e764c51eb29dc49fd8 (diff) | |
download | canory-79bc7a7def529ee28a9f33037ca4bc4bb297f22e.tar.gz canory-79bc7a7def529ee28a9f33037ca4bc4bb297f22e.tar.bz2 canory-79bc7a7def529ee28a9f33037ca4bc4bb297f22e.zip |
themes/default/layouts/_default/home.sources: Fix file count
-rw-r--r-- | themes/default/layouts/_default/home.sources.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/themes/default/layouts/_default/home.sources.html b/themes/default/layouts/_default/home.sources.html index 55f3d0c..cb809e9 100644 --- a/themes/default/layouts/_default/home.sources.html +++ b/themes/default/layouts/_default/home.sources.html @@ -13,7 +13,14 @@ {{ $partials := readDir (print "/themes/default/layouts/partials") }} {{ $shortcodes := readDir (print "/themes/default/layouts/shortcodes") }} - {{ $fileCount := add (len $shortcodes) (len $partials) }} + {{ $fileCount := add + (add + (len $_default) + (len $_markup)) + (add + (len $partials) + (len $shortcodes)) + }} {{ partial "navigator-middle.html" (dict |