Skip to content

Commit

Permalink
Moves emoji into config
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeSteam committed Nov 12, 2024
1 parent 4492e4c commit bb91c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ replace_read_time_with_word_count: true
show_excerpts_html: true
open_external_links_in_new_tab: true
outdated_content_warning:
warning_text: "This article was last updated <b><DATE></b> and may be outdated."
warning_text: "⚠️ This article was last updated <b><DATE></b> and may be outdated."
placeholder_text: "<DATE>"
warning_threshold_days: 365
ignore_date_updated: false
Expand Down
2 changes: 1 addition & 1 deletion _includes/custom/outdated_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{% assign time_since = days_since_last_modified | append: " days ago" %}
{% endif %}
<div class="outdated-warning">
⚠️ {{ site.outdated_content_warning.warning_text | replace: site.outdated_content_warning.placeholder_text, time_since }}
{{ site.outdated_content_warning.warning_text | replace: site.outdated_content_warning.placeholder_text, time_since }}
</div>
{% endif %}
{% endif %}

0 comments on commit bb91c79

Please sign in to comment.