Skip to content

Commit

Permalink
change blog base url and url on our blog
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo-cunha authored Mar 6, 2024
1 parent 94242dc commit d3fa2e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dataroots_profile/ghost.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def posts(key: str, admin_domain: str = "dataroots.ghost.io") -> list[Post]:
def post2str(
post: Post,
*,
base_url: str = "https://dataroots.io/research/contributions",
base_url: str = "https://dataroots.io/blog",
) -> str:
"""Get a formatted string for markdown profile from posts information."""
base_url = base_url.rstrip("/", 1)[0] if base_url.endswith("/") else base_url
Expand All @@ -65,8 +65,8 @@ def content2str(posts: list[Post], n_posts: int = 5) -> str:
{_posts}
Check out all our posts at [dataroots.io/research/contributions/]\
(https://dataroots.io/research/contributions/) 👈""",
Check out all our posts at [dataroots.io/blog/]\
(https://dataroots.io/blog/) 👈""",
)


Expand Down

0 comments on commit d3fa2e1

Please sign in to comment.