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

Update file sizes on update #89

Open
waldoj opened this issue Sep 16, 2019 · 1 comment
Open

Update file sizes on update #89

waldoj opened this issue Sep 16, 2019 · 1 comment

Comments

@waldoj
Copy link
Member

waldoj commented Sep 16, 2019

The file sizes are hard-coded in the home page's HTML. But most of them change size each week. Ensure that the home page file listing reflects the reality of the file sizes.

@waldoj
Copy link
Member Author

waldoj commented Sep 16, 2019

The best way to do this is probably to, at the time of updating the files, generate a JSON file of file names and sizes. Then, when the home page is loaded, use the JSON file (called server-side) to populate the list of file sizes.

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

No branches or pull requests

1 participant