@@ -13,24 +13,46 @@ <h1 class="post-title flip-project-title">
1313 </ h1 >
1414
1515 < div class ="post-date ">
16- {% unless site.hydejack.hide_dates %}
17- {% assign post_format = site.data.strings.date_formats.post | default:"%d %b %Y" %}
18- < time datetime ="{{ post.date | date_to_xmlschema }} "> {{ post.date | date:post_format }}</ time >
19- {% else %}
20- {{ site.data.strings.posted | default:"Posted" }}
16+ {% capture foobar %}
17+ {%- unless site.hydejack.hide_dates -%}
18+ {%- assign post_format = site.data.strings.date_formats.post | default:"%d %b %Y" -%}
19+ < time datetime ="{{ post.date | date_to_xmlschema }} "> {{ post.date | date:post_format }}</ time >
20+ {%- else -%}
21+ {{- site.data.strings.posted | default:"Posted" -}}
22+ {%- endunless -%}
23+ {{ ' ' }}
24+ {%- assign category_start = site.data.strings.category_start | default:"in " -%}
25+ {%- assign tag_start = site.data.strings.tag_start | default:"on " -%}
26+ {%- include components/tag-list.html tags=post.categories meta=site.featured_categories start_with=category_start separator=category_separator -%}
27+ {{ ' ' }}
28+ {%- assign category_separator = site.data.strings.category_separator | default:" / " -%}
29+ {%- assign tag_separator = site.data.strings.tag_separator | default:", " -%}
30+ {%- include components/tag-list.html tags=post.tags meta=site.featured_tags start_with=tag_start separator=tag_separator -%}
31+ {% endcapture %}
32+ < span class ="ellipsis mr1 ">
33+ {{ foobar }}
34+ </ span >
35+ {% unless site.hydejack.hide_dates or site.hydejack.hide_last_modified or post.hide_last_modified %}
36+ {% if post.last_modified_at %}
37+ {% assign d1 = post.date | date:"%Y-%m-%d" %}
38+ {% assign d2 = post.last_modified_at | date:"%Y-%m-%d" %}
39+ {% if d1 != d2 %}
40+ {% assign label = site.data.strings.last_modified_at | default:"Last modified at" %}
41+ {% assign last_modified_at_format = site.data.strings.date_formats.last_modified_at | default:"%Y-%m-%d" %}
42+ < span class ="ellipsis " data-tippy-content ="{{ label }}{{ site.data.strings.colon }} {{ post.last_modified_at | date:last_modified_at_format }} ">
43+ < span class ="sr-only "> {{ label }}{{ site.data.strings.colon }}</ span >
44+ < span class ="{{ site.data.strings.last_modified_icon | default:'icon-history' }} "> </ span >
45+ < time datetime ="{{ post.last_modified_at | date_to_xmlschema }} "> {{ post.last_modified_at | date:last_modified_at_format }}</ time >
46+ </ span >
47+ {% endif %}
48+ {% endif %}
2149 {% endunless %}
22- {% assign category_start = site.data.strings.category_start | default:"in " %}
23- {% assign tag_start = site.data.strings.tag_start | default:"on " %}
24- {% assign category_separator = site.data.strings.category_separator | default:" / " %}
25- {% assign tag_separator = site.data.strings.tag_separator | default:", " %}
26- {% include components/tag-list.html tags=post.categories meta=site.featured_categories start_with=category_start separator=category_separator %}
27- {% include components/tag-list.html tags=post.tags meta=site.featured_tags start_with=tag_start separator=tag_separator %}
2850 </ div >
2951
3052 {% assign alt = false %}
3153 {% unless hide_image %}{% if post.image %}
3254 {% unless no_link_title %}< a href ="{{ post.url | relative_url }} " class ="no-hover no-print-link {% unless post.hide_image %}flip-project{% endunless %} " tabindex ="-1 "> {% endunless %}
33- < div class ="lead aspect-ratio sixteen-nine flip-project-img ">
55+ < div class ="img-wrapper lead aspect-ratio sixteen-nine flip-project-img ">
3456 {% include_cached components/hy-img.html img=post.image alt=post.title width=864 height=486 %}
3557 </ div >
3658 {% unless no_link_title %}</ a > {% endunless %}
0 commit comments