Skip to content

Commit

Permalink
Removed Fira Code (not included)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhariri committed Apr 8, 2024
1 parent b17ac77 commit 710baf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions service/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

_now = lambda: datetime.datetime.now(datetime.UTC)

# TODO: Pydantic isn't necessary here
class Post(BaseModel):
"""
A blog post, stored in the database.
Expand Down Expand Up @@ -59,6 +60,7 @@ def __build_posts_dict() -> dict[str, Post]:

return posts_dict

# TODO: For a very large site, this will slow boot up
ALL_POSTS = __build_posts_dict()

def get_all_posts() -> list[Post]:
Expand Down
2 changes: 1 addition & 1 deletion static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ span.icon.email:before {

p code,
a code {
font-family: 'Fira Code', monospace;
font-family: monospace;
color: var(--inline-code-color);
font-size: 0.9rem;
background-color: var(--bg-set-in-color);
Expand Down

0 comments on commit 710baf6

Please sign in to comment.