Closed zeleznypa closed 12 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1:
Interested in opening a PR against the pico-3.0
branch?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1:
The content folder (
.../content
) and extension (.md
) is fixed for every pages, so it is not necessary to count the string length of the extension for every page.https://github.com/picocms/Pico/blob/09aa82578710d82dd7dc482febe32991be0ea307/lib/Pico.php#L1739
It will be better to count it once before the
foreach
and use the result everytime ...