Skip to content

Commit

Permalink
Adjust minutes text
Browse files Browse the repository at this point in the history
  • Loading branch information
mcruzdev committed Oct 29, 2024
1 parent efe3b60 commit f51aac9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blog/src/test/java/io/quarkiverse/roq/it/RoqTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class RoqTest {
public void testIndex() {
given().when().get("/").then().statusCode(200).body(containsString(
"I provide you with all the tools to generate static websites out of your Quarkus web application."))
.body(containsString("Hello, world! I'm Roq")).body(containsString("minute read"))
.body(containsString("Hello, world! I'm Roq")).body(containsString("minute(s) read"))
.body(containsString("Page 1 of")).body(containsString("2024 © ROQ"));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ layout: main
<p>{post.description}</p>
<span class="post-date">{post.date.format('yyyy, MMM dd')}&nbsp;&nbsp;&nbsp;—&nbsp;</span> // <4>
<span class="post-words">
{post.readTime} minute read <5>
{post.readTime} minute(s) read <5>
</span>
</div>
</article>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2 class="post-title"><a href="{post.url}">{post.title}</a></h2>
<p>{post.description}</p>
<span class="post-date">{post.date.format('yyyy, MMM dd')}&nbsp;&nbsp;&nbsp;—&nbsp;</span>
<span class="post-words">
{post.readTime} minute read
{post.readTime} minute(s) read
</span>
</div>
</article>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2 class="post-title"><a href="{post.url}">{post.title}</a></h2>
<p>{post.description}</p>
<span class="post-date">{post.date.format('yyyy, MMM dd')}&nbsp;&nbsp;&nbsp;—&nbsp;</span>
<span class="post-words">
{post.readTime} minute read
{post.readTime} minute(s) read
</span>
</div>
</article>
Expand Down

0 comments on commit f51aac9

Please sign in to comment.