You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the tutorial it says for the settings #permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style.
The url returned is indeed page/:num, but the pages are saved as page/:num:index.html, and thus the generated links are wrong and you get a 404.
Even more interesting is, if you set it to page/:num index instead of generating page/2 index.html, it generates page/2 indexindex.html
The tutorial says Optional, the default name of the index file for generated pages (e.g. 'index.html')
If it's the default name of the index file, then if you specify an actual name, the default should no longer be applied (otherwise this happens).
Setting indexpage: '' to "fix" it only causes an error. (probably understandable since files do have to be named something)
Edit:: I guess a lot of this is because the way this was written, it expects to generate url's like /name/num/, so it always places index in there
The text was updated successfully, but these errors were encountered:
In the tutorial it says for the settings
#permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style.
The url returned is indeed
page/:num
, but the pages are saved aspage/:num:index.html
, and thus the generated links are wrong and you get a 404.Even more interesting is, if you set it to
page/:num index
instead of generatingpage/2 index.html
, it generatespage/2 indexindex.html
The tutorial says
Optional, the default name of the index file for generated pages (e.g. 'index.html')
If it's the default name of the index file, then if you specify an actual name, the default should no longer be applied (otherwise this happens).
Setting
indexpage: ''
to "fix" it only causes an error. (probably understandable since files do have to be named something)Edit:: I guess a lot of this is because the way this was written, it expects to generate url's like
/name/num/
, so it always places index in thereThe text was updated successfully, but these errors were encountered: