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

refactor: replaced 'Read more' link text with 'Read this' #178

Merged
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
8 changes: 4 additions & 4 deletions partials/story/story-grid.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

{{else}}

{{!-- Read more --}}
<a href="{{url}}" class="link is-hover font-medium">{{t "Read more"}}<svg class="icon is-medium"><use xlink:href="#icon-arrow"></use></svg></a>
{{!-- Read this --}}
<a href="{{url}}" class="link is-hover font-medium" aria-label="{{title}}">{{t "Read this"}}<svg class="icon is-medium"><use xlink:href="#icon-arrow"></use></svg></a>
{{/match}}
</div>

Expand All @@ -63,8 +63,8 @@

{{else}}

{{!-- Read more --}}
<a href="{{url}}" class="link is-hover font-medium">{{t "Read more"}}<svg class="icon is-medium"><use xlink:href="#icon-arrow"></use></svg></a>
{{!-- Read this --}}
<a href="{{url}}" class="link is-hover font-medium" aria-label="{{title}}">{{t "Read this"}}<svg class="icon is-medium"><use xlink:href="#icon-arrow"></use></svg></a>
{{/match}}
</div>

Expand Down
4 changes: 2 additions & 2 deletions partials/story/story-post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

<div class="story-post-body">
<div class="post-body text-xl mb-5"><p>{{excerpt}}</p></div>
<a href="{{url}}" class="link is-hover font-medium">
{{t "Read more"}}
<a href="{{url}}" class="link is-hover font-medium" aria-label="{{title}}">
{{t "Read this"}}
<svg class="icon is-medium"><use xlink:href="#icon-arrow"></use></svg>
</a>
</div>
Expand Down