Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing wording in the motd #8

Merged
merged 2 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/term_rst_post/ansimotd.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def accomodate_motd(body_file, head_file=None, foot_file=None, foot_link=None, w

# Inject extra link between body and footer
if foot_link:
foot_link_text = f"\nMore information in\n{foot_link}\n"
foot_link_text = f"\nMore information at\n{foot_link}\n"

if motd["foot"]["text"] is None:
motd["foot"]["text"] = ""
Expand Down
2 changes: 1 addition & 1 deletion tests/references/ablog_motd_wrapped_headfoot_url.ansi
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ magna vitae lorem. Nam quam risus, pellentesque nec facilisis eu, facilisis
vitae justo. Curabitur a ipsum placerat libero aliquam volutpat. Proin interdum
porta consequat.

More information in
More information at
https://example.com/posts/year/test
------
FOOTER
2 changes: 1 addition & 1 deletion tests/references/ablog_motd_wrapped_indented_url.ansi
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ magna vitae lorem. Nam quam risus, pellentesque nec facilisis eu, facilisis
vitae justo. Curabitur a ipsum placerat libero aliquam volutpat. Proin interdum
porta consequat.

More information in
More information at
https://example.com/posts/year/test
Loading