We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dadd331 commit f37c8c3Copy full SHA for f37c8c3
src/app.lua2p
@@ -964,7 +964,13 @@ local function setup()
964
local subpages = {}
965
966
for _, page in ipairs(site._pages) do
967
- if (page ~= pageCurrent or allowCurrentPage) and page._path:sub(1, #dir) == dir then
+ if (page ~= pageCurrent or allowCurrentPage) and (
968
+ dir == ""
969
+ or (
970
+ page._path:byte(#dir+1) == !(string.byte"/") and
971
+ page._path:find(dir, 1, true) == 1
972
+ )
973
+ ) then
974
if not page._isGenerated then
975
generateFromTemplateFile(page)
976
end
testsite/content/blogosphere/index.md
@@ -0,0 +1 @@
1
+Nope, nothing here.
0 commit comments