X Tutup
Skip to content

Added enable parameter for rendering index page#289

Merged
slaveeks merged 1 commit intomainfrom
feature/conditional-index-rendering
Dec 13, 2022
Merged

Added enable parameter for rendering index page#289
slaveeks merged 1 commit intomainfrom
feature/conditional-index-rendering

Conversation

@slaveeks
Copy link
Member

If parameter enabled for index page is false, static file index.html will not create

@slaveeks slaveeks requested a review from nikmel2803 December 13, 2022 10:58

await renderIndexPage(config.indexPageUri);
// Check if index page is enabled
if (config.indexPage.enabled) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not forget to add docs for the new properties.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but for now there are no docs about static building, it is experimental feature. I think, docs about it will appear later

@slaveeks slaveeks merged commit d3e0cb1 into main Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup