Integrated HTML template and synced with pattern