feat: design + perf + tags etc.
This commit is contained in:
parent
93f3506f83
commit
6c63611198
44 changed files with 279 additions and 299 deletions
10
src/_includes/partials/banners/old-post.liquid
Normal file
10
src/_includes/partials/banners/old-post.liquid
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% assign isOldPost = date | oldPost %}
|
||||
{% if isOldPost %}
|
||||
{% capture css %}
|
||||
{% render "../../../assets/styles/components/banners.css" %}
|
||||
{% endcapture %}
|
||||
<style>{{ css }}</style>
|
||||
<div class="banner old-post">
|
||||
<p>{% tablericon "clock-x" "Old post" %} This post is over 3 years old. I've probably changed my mind since it was written and it <em>could</em> be out of date.</p>
|
||||
</div>
|
||||
{% endif %}
|
Reference in a new issue