Skip to content

Commit 178301b

Browse files
committed
fix: adjust layout for blog section and update test for latest news page
1 parent f49d713 commit 178301b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

templates/blog/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<div class="grid-row">
2121
<div class="grid-col-6 grid-col-start-large-3">
2222
<h1 class="p-heading--display">The Source</h1>
23-
<ul class="p-inline-list--middot">
24-
<span class="p-heading--5" style="display: inline;">Stay informed:&MediumSpace;</span>
23+
<span class="p-heading--5">Stay informed:&MediumSpace;</span>
24+
<ul class="p-inline-list--middot" style="display: inline;">
2525
<li class="p-inline-list__item">
2626
<a href="/blog/latest-news">Press center</a>
2727
</li>

tests/test_routes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ def test_blog_latest_news_uses_page_query_param(
196196
self.assertEqual(response.status_code, 200)
197197
mock_get_index.assert_called_once_with(page=3)
198198
mock_render_template.assert_called_once_with("blog/latest-news.html")
199+
199200
def test_ubuntu_pro_description(self):
200201
"""
201202
When given the /legal/ubuntu-pro-description URL,

0 commit comments

Comments
 (0)