Build HTML using fetched layouts