feat: bio profil + URL publique pré-remplie dans /profile
This commit is contained in:
+15
-4
@@ -22,15 +22,26 @@
|
||||
class="form-control"
|
||||
value="<?= htmlspecialchars($profileCurrentName) ?>"
|
||||
placeholder="Prénom Nom" required>
|
||||
<div class="form-text">Affiché comme auteur sur vos articles.</div>
|
||||
<div class="form-text">
|
||||
Affiché comme auteur sur vos articles.
|
||||
<?php if (($profileCurrentSlug ?? '') !== ''): ?>
|
||||
Page publique : <a href="/profil/<?= rawurlencode($profileCurrentSlug) ?>">/profil/<?= htmlspecialchars($profileCurrentSlug) ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label fw-semibold" for="profile_url">URL de profil</label>
|
||||
<label class="form-label fw-semibold" for="bio">Biographie</label>
|
||||
<textarea id="bio" name="bio" class="form-control" rows="4"
|
||||
placeholder="Quelques mots sur vous…"><?= htmlspecialchars($profileCurrentBio ?? '') ?></textarea>
|
||||
<div class="form-text">Affichée sur votre page de profil public.</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label fw-semibold" for="profile_url">URL de profil externe</label>
|
||||
<input type="url" id="profile_url" name="profile_url"
|
||||
class="form-control"
|
||||
value="<?= htmlspecialchars($profileCurrentUrl) ?>"
|
||||
value="<?= htmlspecialchars($profileCurrentUrl ?? '') ?>"
|
||||
placeholder="https://example.com/~vous">
|
||||
<div class="form-text">Utilisée dans les métadonnées de vos articles (article:author, JSON-LD).</div>
|
||||
<div class="form-text">Lien vers un site ou profil externe (utilisé dans les métadonnées article:author, JSON-LD).</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label fw-semibold text-muted">Email</label>
|
||||
|
||||
Reference in New Issue
Block a user