Skip to content

Commit

Permalink
fix: more layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashhhleyyy committed Aug 15, 2024
1 parent 6234adb commit 4122aa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 1 addition & 5 deletions src/apis/fedi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,10 @@ impl PostData {
img.fedi-avatar width="48" height="48" src=(self.account.avatar_static);

a href=(self.account.url) {
(self.account.display_name) " (@" (self.account.display_name) ")"
(self.account.display_name) " (@" (self.account.fqn) ")"
}
}

br;

(maud::PreEscaped(self.content.clone()))

@if !self.media_attachments.is_empty() {
Expand All @@ -114,8 +112,6 @@ impl PostData {
}
}

br; br;

a href=(self.url) {
@match self.timestamps {
Timestamps::Created { created_at } => {
Expand Down
4 changes: 3 additions & 1 deletion templates/blog-post.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ <h1>{{ title }}</h1>

<footer>
<blockquote>
Posted on {{ date }} by <a href="/">Ashhhleyyy</a>
<p>
Posted on {{ date }} by <a href="/">Ashhhleyyy</a>.
</p>
</blockquote>
</footer>
</main>
Expand Down

0 comments on commit 4122aa2

Please sign in to comment.