Skip to content

Commit

Permalink
Hide icons for Safari reader view
Browse files Browse the repository at this point in the history
  • Loading branch information
Dartegnian authored Dec 12, 2024
1 parent ccf7a08 commit 474a925
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ into the {body} tag of the default.hbs template --}}
{{/primary_tag}}
{{#if featured}}
<span class="post-card-featured">
<span class="material-symbols-rounded">local_fire_department</span> Featured
<span class="material-symbols-rounded" hidden aria-hidden="true">local_fire_department</span> Featured
</span>
{{/if}}
</div>
Expand Down Expand Up @@ -52,10 +52,10 @@ into the {body} tag of the default.hbs template --}}
<div class="article-byline-meta">
<h4 class="author-name">{{authors}}</h4>
<div class="byline-meta-content">
<time class="byline-meta-date" datetime="{{date format="YYYY-MM-DD"}}"><span class="post-card-meta-date__icon material-symbols-rounded">calendar_today</span>{{date format="DD MMM YYYY"}}</time>
<time class="byline-meta-date" datetime="{{date format="YYYY-MM-DD"}}"><span class="post-card-meta-date__icon material-symbols-rounded" hidden aria-hidden="true">calendar_today</span>{{date format="DD MMM YYYY"}}</time>
{{#if reading_time}}
<span class="byline-reading-time">
<span class="post-card-meta-length__icon material-symbols-rounded">schedule</span>
<span class="post-card-meta-length__icon material-symbols-rounded" hidden aria-hidden="true">schedule</span>
{{reading_time}}
</span>
{{/if}}
Expand Down

0 comments on commit 474a925

Please sign in to comment.