aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorwinter2025-03-11 18:12:10 +0000
committerwinter2025-03-11 18:12:10 +0000
commit357697ef01f5d3bd0646a242eb0d34e293217fc4 (patch)
tree6ca9d847f49afcc7fa3c3a8815d188d6d04a3f9c /templates
parentdb29e3c45d9f6c815b077bdb48a6247be086ff4b (diff)
new fonts!!
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'))