Skip to content

Commit

Permalink
Trim leading - from objective bullet points
Browse files Browse the repository at this point in the history
We already have a checkbox acting as a bullet point, we don't need an
additional `-` which is an artifact of being a markdown bulleted list.
  • Loading branch information
illicitonion committed Aug 26, 2024
1 parent 91c5cb1 commit 7b7383f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common-theme/layouts/partials/objectives/block.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<ul class="c-objectives__list">
{{ range . }}
<li class="c-objectives__item">
<label><input type="checkbox" />{{ . }}</label>
<label><input type="checkbox" />{{ strings.TrimPrefix "- " . }}</label>
</li>
{{ end }}
</ul>
<div id="announcer" aria-live="polite"></div>
<div id="announcer" aria-live="polite"></div>

0 comments on commit 7b7383f

Please sign in to comment.