Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ on:
# Allow rebuilding/redeploying the web manually
workflow_dispatch:
schedule:
# Rebuild the web periodically at 22:00 UTC to update team API contents and Rust version
# Rebuild the web periodically at 22:00 UTC to update team API contents and Rust version.
# Time must be kept in sync with the `autoupdate` parameter in
# `templates/components/footer.html.hbs`.
- cron: '0 22 * * *'
env:
RUST_BACKTRACE: 1
Expand Down
2 changes: 2 additions & 0 deletions locales/en-US/common.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ footer-github-alt = GitHub
footer-attribution = Maintained by the Rust Team. See a bug?
<a href="https://github.com/rust-lang/www.rust-lang.org/issues/new/choose">File an issue!</a>
footer-autoupdate = Web site built every day at { $autoupdate }
footer-old-site = Looking for the <a href="https://prev.rust-lang.org">previous website</a>?
## what/index.hbs
Expand Down
1 change: 1 addition & 0 deletions locales/fr/common.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ footer-youtube-alt = Twitter
footer-alt-youtube = Logo YouTube
footer-github-alt = GitHub
footer-attribution = Maintenu par l’équipe de Rust. Vous avez trouvé une erreur ? <a href="https://github.com/rust-lang/www.rust-lang.org/issues/new/choose">Envoyez-nous une correction!</a>
footer-autoupdate = Site mis à jour quotidiennement à { $autoupdate }
footer-old-site = Vous cherchez l'ancien <a href="https://prev.rust-lang.org">site web</a> ?
## what/index.hbs
Expand Down
1 change: 1 addition & 0 deletions templates/components/footer.html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<p>
{{fluent "footer-attribution"}}
</p>
<p>{{#fluent "footer-autoupdate"}}{{#fluentparam "autoupdate"}}22:00 UTC{{/fluentparam}}{{/fluent}}</p>
<p>{{fluent "footer-old-site"}}</p>
</div>
</div>
Expand Down