Skip to content

Commit

Permalink
WK-748 suppress last updated text
Browse files Browse the repository at this point in the history
  • Loading branch information
SourabhChakraborty committed Mar 13, 2023
1 parent f180b8c commit e21920a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
16 changes: 0 additions & 16 deletions wp-content/themes/workingnyc/views/guides/guide.twig
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,6 @@
{{ post.preview|wpautop }}
</div>

<ul class="c-card__features">
<li>
<svg class="icon-ui c-card__feature-icon" role="img">
<title>{{ __('Last Updated', 'WNYC') }}</title>

<use href="#lucide-info"></use>
</svg>

<span>
{{ __('Updated', 'WNYC') }}
{{ post.date|date(fn('get_option', 'date_format')) }}
{{ post.date|date(fn('get_option', 'time_format')) }}
</span>
</li>
</ul>

<span></span>
</div>
</article>
13 changes: 0 additions & 13 deletions wp-content/themes/workingnyc/views/guides/single.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,6 @@

{{ post.post_content|replace({"<!-- featured_image -->": featured_image}) }}

<p class="small flex items-center">
<svg class="icon-ui mie-1 icon-2" role="img">
<title>{{ __('Last updated', 'WNYC-Date') }}</title>

<use href="#lucide-info"></use>
</svg>

{{ __('Last updated', 'WNYC-Date') }}

{{ post.date|date(fn('get_option', 'date_format')) }}
{{ post.date|date(fn('get_option', 'time_format')) }}
</p>

{% if post.thumbnail %}
<p class="text-center">
<a class="inline-block text-center" href="#explore">
Expand Down

0 comments on commit e21920a

Please sign in to comment.