aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/head_tags.php2
-rw-r--r--templates/note.php9
2 files changed, 5 insertions, 6 deletions
diff --git a/templates/head_tags.php b/templates/head_tags.php
index 47fcef0..395b707 100644
--- a/templates/head_tags.php
+++ b/templates/head_tags.php
@@ -1,5 +1,5 @@
<link rel="stylesheet" href="/static/style.css">
-<link rel="stylesheet" href="https://fonts.bunny.net/css?family=dm-sans:400,400i,800,800i">
+<link rel="stylesheet" href="https://fonts.bunny.net/css?family=nunito-sans:400,400i,800,800i">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#3b005e">
<script src="https://unpkg.com/htmx.org@2.0.4"></script>
diff --git a/templates/note.php b/templates/note.php
index 94edf2b..759a7c7 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -30,11 +30,10 @@ $pathToSelf = '/@/' . $note->author->getFullHandle() . '/note/' . $note->id;
<div class="infoLine">
<a class="authorName"
href="/@/<?= htmlspecialchars($note->author->getFullHandle()) ?>"><?= htmlspecialchars($note->author->displayName) ?></a>
- <span class="authorHandle">
- <?php if (isset($note->author->pronouns) && trim($note->author->pronouns) != ''): ?>
- <?= htmlspecialchars($note->author->pronouns) ?> &bullet;
- <?php endif; ?>
- @<?= htmlspecialchars($note->author->getFullHandle()) ?>
+ <span class="authorPronouns">
+ <?php if (isset($note->author->pronouns) && trim($note->author->pronouns) != '') {
+ echo htmlspecialchars($note->author->pronouns);
+ } ?>
</span>
<a class="timestamp" href="<?= htmlspecialchars($pathToSelf) ?>">
<?= format_datetime($note->created, $prefs?->get('locale.timezone'))