سازنده قالب سایت شخصی

اطلاعات خود را وارد کنید تا یک قالب HTML آماده برای GitHub Pages تحویل بگیرید.

⚙️ تنظیمات سایت

👁️ پیش‌نمایش زنده

index.html

📝 کد HTML

تبلیغات
تبلیغات
`; } function updatePreview() { const html = generateHTML(); document.getElementById('code-output').value = html; document.getElementById('preview-frame').srcdoc = html; } function copyCode() { const code = document.getElementById('code-output'); code.select(); document.execCommand('copy'); alert('✅ کد با موفقیت کپی شد!'); } function downloadCode() { const code = document.getElementById('code-output').value; const blob = new Blob([code], { type: 'text/html' }); const url = URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url; a.download = 'index.html'; a.click(); URL.revokeObjectURL(url); } // اجرای اولیه window.onload = updatePreview;