File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22layout: default
33title: Home
4- image: /assets/images/babcia.jpg
54---
65< style >
76 .dashboard {
177176 overflow : hidden;
178177 }
179178 .news-thumb-img { width : 100% ; height : 100% ; object-fit : cover; display : block; }
180- .news-thumb-img .is-icon { width : 96px ; height : 96px ; object-fit : contain; }
179+ .news-thumb-img .is-icon {
180+ width : 96px ; height : 96px ;
181+ object-fit : cover;
182+ border-radius : 18px ;
183+ border : 1px solid rgba (0 , 210 , 255 , 0.25 );
184+ background : rgba (0 , 210 , 255 , 0.08 );
185+ }
181186 .news-thumb-fallback {
182187 font-size : 3.2rem ;
183188 width : 96px ; height : 96px ;
@@ -399,9 +404,9 @@ <h1 class="hero-title">DEVLAB<br>STUDY<span>_</span></h1>
399404
400405 {% if thumb == blank %}
401406 {% if t.content contains '< img ' %}
402- {% assign thumb = t.content | split: '< img ' | second | split: 'src="' | second | split: '"' | first %}
407+ {% assign img_parts = t.content | split: '< img ' %}{% assign src_parts = img_parts[1] | split: 'src="' %}{% assign thumb = src_parts[1] | split: '"' | first %}
403408 {% elsif t.content contains '' | first %}
409+ {% assign md_parts = t.content | split: '![' %}{% assign md_parts2 = md_parts[1] | split: '](' %}{% assign thumb = md_parts2[1] | split: ')' | first %}
405410 {% endif %}
406411 {% endif %}
407412
You can’t perform that action at this time.
0 commit comments