Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] about and help pages #28

Merged
merged 3 commits into from
Jan 18, 2024
Merged

Conversation

ponsfrilus
Copy link
Member

This add the base for /help and /about pages.

@ponsfrilus ponsfrilus added the documentation Improvements or additions to documentation label Jan 4, 2024
@ponsfrilus ponsfrilus self-assigned this Jan 4, 2024
@ponsfrilus ponsfrilus marked this pull request as draft January 4, 2024 22:26
@ponsfrilus
Copy link
Member Author

Depend on #26 to place the CSS in the right place.

@ponsfrilus ponsfrilus marked this pull request as ready for review January 9, 2024 18:04
Copy link
Member

@obieler obieler left a comment

Choose a reason for hiding this comment

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

Could you please include the latest searches you've added (#29) in the help page?

@@ -17,6 +17,6 @@
<% }); %>
</ul>
</div>
<%- include('partials/footer'); %>
<%- include('partials/footer'); include('partials/footer_scripts'); -%>
Copy link
Member

Choose a reason for hiding this comment

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

I have an error, you should split like you did in about.ejs:

<%- include('partials/footer'); -%> <%- include('partials/footer_scripts');
    -%>

</div>
</div>
</div>
<%- include('partials/footer'); include('partials/footer_scripts'); -%>
Copy link
Member

Choose a reason for hiding this comment

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

Same here.

And by the way, what about to include the 'footer_scripts' in footer.ejs?

Copy link
Member Author

Choose a reason for hiding this comment

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

The <script> tag should not be in the <footer> tag. And keeping them both in the page's file would allow us to uses variables when including the template (see "includes" on https://ejs.co): this would be convenient if we don't want every script loaded on every page.

@ponsfrilus
Copy link
Member Author

Could you please include the latest searches you've added (#29) in the help page?

Done.

@ponsfrilus ponsfrilus mentioned this pull request Jan 13, 2024
@ponsfrilus ponsfrilus merged commit d8052c6 into main Jan 18, 2024
2 checks passed
@ponsfrilus ponsfrilus deleted the feature/about-and-help-pages branch January 18, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants