Generate HTML (from API) during build process instead of on page load with Javascript