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

Fixes #342: Update Footer to Display Dynamic Year in Nightwatch Website #343

Open
wants to merge 1 commit into
base: versions/3.0
Choose a base branch
from

Conversation

rahulptl165
Copy link

Fixes #342

Description:

This PR updates the footer of the Nightwatch.js website to dynamically display the current year. The current implementation has a static "© 2023" text, which gives the impression that the website is outdated. The new implementation ensures the year is automatically updated using EJS.

Changes Made:

  • Updated the EJS template for the footer to dynamically render the current year using JavaScript's Date object.
  • Code snippet added:
    <footer>
      <p<%= new Date().getFullYear() %> Nightwatch.js. All rights reserved.</p>
    </footer>

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.

Footer on Nightwatch Website Displays "© 2023" Instead of the Current Year
1 participant