fixes to accomodate news post without image
This commit is contained in:
@@ -5,9 +5,9 @@ image_caption: Share what you love about ThreeFold
|
|||||||
description: Here's a call to all ThreeFolders to share why they are involved in the ThreeFold project and what makes them believe in it!
|
description: Here's a call to all ThreeFolders to share why they are involved in the ThreeFold project and what makes them believe in it!
|
||||||
date: 2022-12-23
|
date: 2022-12-23
|
||||||
taxonomies:
|
taxonomies:
|
||||||
people: [victoria.obeegadoo]
|
people: [victoria_obeegadoo]
|
||||||
tags: [update, technology, news, community]
|
tags: [update, technology, news, community]
|
||||||
news-category: [foundation]
|
news-category: [foundation]
|
||||||
image:
|
image:
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,20 +1,22 @@
|
|||||||
taxonomies:
|
|
||||||
people: [ashish_bansal]
|
|
||||||
memberships: [foundation]
|
|
||||||
categories: [foundation]
|
|
||||||
---
|
---
|
||||||
title: Ashish Bansal
|
title: Ashish Bansal
|
||||||
weight: 3
|
weight: 3
|
||||||
|
taxonomies:
|
||||||
|
people: [ashish_bansal]
|
||||||
|
memberships: [foundation]
|
||||||
|
categories: [foundation]
|
||||||
extra:
|
extra:
|
||||||
imgPath: ashish_bansal.jpeg
|
imgPath: ashish_bansal.jpeg
|
||||||
organizations: [threefold_foundation]
|
organizations: [threefold_foundation]
|
||||||
countries: [India]
|
countries: [India]
|
||||||
cities: [Mumbai]
|
cities: [Mumbai]
|
||||||
private: 0
|
private: 0
|
||||||
socialLinks: {
|
socialLinks:
|
||||||
LinkedIn: https://www.linkedin.com/in/ab-equity/,
|
{
|
||||||
github: https://github.com/Ashishban/,
|
LinkedIn: https://www.linkedin.com/in/ab-equity/,
|
||||||
websites: https://threefold.io/,
|
github: https://github.com/Ashishban/,
|
||||||
|
websites: https://threefold.io/,
|
||||||
}
|
}
|
||||||
---
|
---
|
||||||
|
|
||||||
Ashish has extensive experience analyzing and evaluating investment possibilities, market trends and crypto projects, with a proven track record of 15+ years in improving profits by identifying new themes for investments. He believes and supports ThreeFold's vision for a decentralized internet for all.
|
Ashish has extensive experience analyzing and evaluating investment possibilities, market trends and crypto projects, with a proven track record of 15+ years in improving profits by identifying new themes for investments. He believes and supports ThreeFold's vision for a decentralized internet for all.
|
||||||
|
|||||||
@@ -101,8 +101,10 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<section class="post-image mx-auto w-full">
|
<section class="post-image mx-auto w-full">
|
||||||
|
{% if page.extra.imgPath %}
|
||||||
{% set img_url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %}
|
{% set img_url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %}
|
||||||
<img src="{{img_url}}" />
|
<img src="{{img_url}}" />
|
||||||
|
{%endif%}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="py-12">
|
<div class="py-12">
|
||||||
|
|||||||
@@ -31,7 +31,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="-mx-4 relative lg:mt-0 max-w-full">
|
<div class="-mx-4 relative lg:mt-0 max-w-full">
|
||||||
|
{% if featured.extra.imgPath %}
|
||||||
<img class="relative mx-auto w-7/12 md:w-auto md:max-w-full max-h-80" src={{featured.permalink}}{{featured.extra.imgPath}} alt="" />
|
<img class="relative mx-auto w-7/12 md:w-auto md:max-w-full max-h-80" src={{featured.permalink}}{{featured.extra.imgPath}} alt="" />
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr class="mt-6">
|
<hr class="mt-6">
|
||||||
|
|||||||
@@ -2,8 +2,10 @@
|
|||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<a href={{ post.permalink }} class="block">
|
<a href={{ post.permalink }} class="block">
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
|
{% if post.extra.imgPath %}
|
||||||
{% set img_url = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath)) %}
|
{% set img_url = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath)) %}
|
||||||
<img class="h-48 w-full mx-auto object-cover" src={{img_url}} alt="" />
|
<img class="h-48 w-full mx-auto object-cover" src={{img_url}} alt="" />
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-1 bg-white p-4 flex flex-col justify-between">
|
<div class="flex-1 bg-white p-4 flex flex-col justify-between">
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,13 @@
|
|||||||
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden">
|
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden">
|
||||||
<div class="flex-1 border-b">
|
<div class="flex-1 border-b">
|
||||||
<a href="{{ post.permalink }}" class="block">
|
<a href="{{ post.permalink }}" class="block">
|
||||||
|
{% if post.extra.imgPath %}
|
||||||
{% set img_url = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md',
|
{% set img_url = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md',
|
||||||
to=post.extra.imgPath)) %}
|
to=post.extra.imgPath)) %}
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
<img class="h-48 w-full mx-auto object-cover" src={{img_url}} alt="{{post.title ~ ' Picture'}}" />
|
<img class="h-48 w-full mx-auto object-cover" src={{img_url}} alt="{{post.title ~ ' Picture'}}" />
|
||||||
</div>
|
</div>
|
||||||
|
{%endif%}
|
||||||
<div class="flex-1 bg-white p-6 flex flex-col justify-between">
|
<div class="flex-1 bg-white p-6 flex flex-col justify-between">
|
||||||
|
|
||||||
<h3 class="mt-2 text-xl leading-6 font-medium text-gray-900 text-left not-italic">
|
<h3 class="mt-2 text-xl leading-6 font-medium text-gray-900 text-left not-italic">
|
||||||
|
|||||||
@@ -2,8 +2,10 @@
|
|||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<a href={{ post.permalink }} class="block">
|
<a href={{ post.permalink }} class="block">
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
|
{% if post.extra.imgPath %}
|
||||||
<img class="h-48 w-full mx-auto object-cover" src={{ post.permalink }}{{post.extra.imgPath}} alt="" />
|
<img class="h-48 w-full mx-auto object-cover" src={{ post.permalink }}{{post.extra.imgPath}} alt="" />
|
||||||
</div>
|
{%endif %}
|
||||||
|
</div>
|
||||||
<div class="flex-1 bg-white p-6 flex flex-col justify-between">
|
<div class="flex-1 bg-white p-6 flex flex-col justify-between">
|
||||||
|
|
||||||
<h3 class="mt-2 text-xl leading-7 font-medium text-gray-900 text-left not-italic">
|
<h3 class="mt-2 text-xl leading-7 font-medium text-gray-900 text-left not-italic">
|
||||||
|
|||||||
Reference in New Issue
Block a user