Merge pull request #221 from threefoldfoundation/development

Publish latest posts and fixes
This commit is contained in:
timurgordon
2023-01-04 15:00:37 +03:00
committed by GitHub
19 changed files with 360 additions and 18 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@@ -0,0 +1,84 @@
---
id: decentralised_internet_india
title: "How would Decentralisation of the Internet help India?"
image_caption: Decentralised Internet India
description: While Indian internet usage ranks second in the world today behind China, with 43% of its total population online, this also means that there is still a lot of untapped potential.
date: 2023-01-03
taxonomies:
people: [ashish_bansal]
tags: [threefold_grid,technology,peer_to_peer,threefold_cloud]
categories: [foundation]
extra:
imgPath: decentralised_internet_india.png
---
## How would Decentralisation of the Internet help India?
*Ashish Bansal has been a member of the ThreeFold support team since October 2021. He was born in India. Ashish believes that we all deserve a better internet which is free, decentralized and equal for all.*
<br>
The Internet has become one of the most important aspects of human life. Our everyday lives are impacted by social media and other online platforms on a very minute level. Facebook, Instagram, WhatsApp and others have become the most convenient way to stay in touch with friends and family. WhiteHart, Udemy and others have made quality education accessible to all. Swiggy, Zomato and others have made our favourite cuisine accessible at home. Amazon, Flipkart and others have grown the shopping experience for Indians with a variety of choices. Netflix, Hotstar, Youtube and others have made entertainment on demand easy for us.
<br>
Over the past decade, we have all gotten addicted to the comforts that the internet has brought to us, and it wouldn't be wrong for us to say that we cannot imagine our lives without the internet.
<br>
While Indian internet usage ranks second in the world today behind China, with 43% of its total population online, this also means that there is still a lot of untapped potential in India.
## Issues with current Internet
Although the internet has helped us in making our lives comfortable, there are several issues with the current Internet services we use. Some of them are mentioned below:
### Cyber security
The cyber security infrastructure in India today is not well equipped to tackle increasing cyber-crimes. You may not have the resolution to your complaints filed with Cyber Cell Portals on time. Hence there is an increasing number of fraudsters and hackers in India.
### Data ownership
Personal details shared by you on the internet are used by big companies to influence your decision-making process strategically.
### Higher cost to customers
Since internet infrastructure is owned and controlled by a few big companies, there is an irregular price increase which makes the internet unaffordable to many parts of rural India.
## Decentralised Internet is the solution
Decentralisation of the internet refers to the arrangement of the internet or its components such that no single entity or organization has control or authority over the network. It holds the potential to revolutionize the way every nation accesses and utilizes the world wide web. India, one of the biggest players in the digital world, can greatly benefit from Internet decentralization. It would open up many new opportunities for both the country and its citizens.
<br>
To start, decentralization of the internet would give India more control over its digital landscape. Instead of relying on a single, centralized entity to power its network, India could decentralize its internet and make the administration of the network much more efficient. With this additional control and efficiency, India could develop a more secure and reliable infrastructure, while also controlling the delivery of services. This could lead to faster, more reliable connection speeds, along with increased safety and security.
<br>
Additionally, decentralization of the internet would allow India to establish itself as a technological leader. By decentralizing the internet, India could shift its focus from the existing internet infrastructure to developing innovative technology and applications. This could include the development of decentralized artificial intelligence, blockchain technology, and much more. Potential applications of these technologies could drastically improve the education, healthcare, and transportation sectors of India.
<br>
Finally, decentralization of the internet could help with digital media access and distribution. This could open up new opportunities for providing access to digital media in rural areas, allowing for more effective access to education and entertainment. Furthermore, it could also provide access to more reliable payment services, as well as better consumer protection policies.
<br>
In conclusion, decentralization of the internet holds the potential to greatly benefit India and its citizens. It would give India control over its internet infrastructure, opening the door for development of innovative technologies and applications. Additionally, it could provide more effective access to digital media, along with more reliable payment services and consumer protection policies. In order for India to take full advantage of the potential of decentralization of the internet, it must take decisive steps towards implementing the necessary reforms and investments to ensure its success.
## How ThreeFold can contribute
ThreeFold technology runs on the concept of a grid formed by farmers who are independent people, unlike big corporations, that connect their nodes anywhere network and electricity is present to create a global distributed internet infrastructure. This resolves the problem of monopoly and price of big internet companies.
<br>
The technology also ensures that you get data security which was how the internet was originally intended to be.
<br>
To know more of ThreeFold technology and start farming:
<br>
- Dive into [the ThreeFold Library](https://library.threefold.me)
- Get a node from [the Official ThreeFold webshop]( https://marketplace.3node.global/index.php)
- Build your [own node](https://library.threefold.me/info/threefold#/tfgrid/farming/threefold__diy_guide)
- Or join us on [our two-way chat](https://t.me/threefold)

View File

@@ -12,7 +12,7 @@ extra:
imgPath: digital_twin.png
---
# What is a Digital Twin?
## What is a Digital Twin?
In the current Internet system, each of us exists many times, each application provider owns _our_ data while offering functionality _they_ own. We become the user. We become the product. Instead, what if we were at the center of our digital lives?

View File

@@ -12,7 +12,7 @@ extra:
imgPath: tech_as_a_tool_for_humanity.png
---
# Technology as a tool for humanity
## Technology as a tool for humanity
Technology… In todays world, technology holds a central role. Younger generations in developed countries grow up amidst technological wonders of all sorts, truly immersed in an evolving digital landscape. Any information is a click away, offering immense intellectual capital unlike ever before and on the other hand, great distraction, misinformation, and potential for division.

View File

@@ -0,0 +1,149 @@
---
id: threefold_review_2022_preview_2023
title: "Heres our 2022 Year in Review!"
image_caption: Heres our 2022 Year in Review!
description: 2022 was a year marked by significant steps on technology, big strides towards decentralization, a commitment to our values, time well-spent on the ground, and strong contributions from the community.
date: 2022-12-31
taxonomies:
people: [sam_taggart]
tags: [threefold_grid, threefold_cloud, technology, blockchain, update]
categories: [foundation]
extra:
imgPath: threefold_review_2022_preview_2023.png
---
2022 was a year marked by significant steps on technology, big strides towards decentralization, a commitment to our values (planet, people, and authenticity), time well-spent on the ground, and strong contributions from the community. Lets take a look back at all that ThreeFold held space for this year.
## The ThreeFold Grid
The grid has grown significantly this year, with a whopping total of [2900+ online nodes as of this week](https://forum.threefold.io/t/grid-stats-new-nodes-utilization-overview/3291/33). The farming community is contributing capacity across 62 countries, made up of nearly 72,000 Cores and providing nearly 40PB of storage capacity.
<br>
- This year, we officially said goodbye to Grid v2, which was [discontinued](https://forum.threefold.io/t/discontinuation-grid-v2/3385), along with all platforms no longer needed on v3. Farewell old friend!
- Thanks to our motivated team and [testing community](https://t.me/threefoldtesting), the grid evolved from version 3.0 to 3.7.1, and soon [3.8](https://forum.threefold.io/t/tf-product-updates-december-2022-tfgrid-v3-8-0-updates/3654). Each update included improvements to various ThreeFold Grid components including the [Playground](https://play.grid.tf/), Zero-OS, TF Wallet, TF Chain and more.
## Farming
Thanks to all of our farmers for upholding & expanding the Grid! It was beautiful to see the community growth and engagement on both [chat](https://t.me/threefoldfarmers) and [the forum](https://forum.threefold.io/c/farming/42).
<br>
- A [power saving feature](https://forum.threefold.io/t/power-saving-feature-in-development-for-farmers/3399) is in development for farmers, allowing idle nodes to power off and still farm tokens. Our developers worked very hard to make it manageable from the chain. While they got it to work recently, the solution was not the most ideal one, therefore, the team is rethinking this feature as a service that a farmer can choose to run for their farm rather than something that happens entirely on TF Chain. Stay updated & contribute to this [on GitHub](https://github.com/threefoldtech/home/issues/1371).
- For those who are interested in farming, find your node(s) on the [global 3Node marketplace](https://marketplace.3node.global/), launched this year. (Or, [build your own](https://forum.threefold.io/c/farming/diy-farming/43)!)
## Technology
When it comes to ThreeFold technology, we saw major progress. Thanks to the team and testing community for your efforts here.
<br>
- The [ThreeFold Playground](https://play.grid.tf/) became a robust grid solution and gained new additions this year! Find more [here](https://forum.threefold.io/t/an-introduction-and-explanation-of-the-threefold-playground/3454).
- Full Virtual Machines, introduced in Q4, allow limitless possibilities and are [easier than ever to deploy on the Grid](https://forum.threefold.io/t/full-vms-now-live-on-mainnet-playground/3449) as from Grid 3.7.
- The grid experience became much more simple. For instance, the [Dashboard](https://forum.threefold.io/t/the-threefold-dashboard-dive-in-the-new-internet/3635) has been improved & features such as the explorer have been integrated within.
- We are very proud to have launched the [FreeFlow Twi](https://forum.threefold.io/t/lets-test-out-freeflow-twin-beta-formerly-uhuru/3299) (formerly Uhuru), a decentralized alternative to digital platforms, tools and browsers, offering a tangible UX. Anyone can try it out [here](https://demo.freeflow.life/).
- The [ThreeFold Connect App](https://forum.threefold.io/t/tf-product-focus-tfconnect-app-tfgrid-v3-8-0/3409) gained new features and improvements as well to offer a better UX.
- [Mastodon Powered by ThreeFold](https://forum.threefold.io/t/threefold-product-focus-mastodon-servers-powered-by-threefold/3562) are servers that are deployed on the ThreeFold Grid via [ThreeFolds Mastodon Deployer](https://getmastodon.threefold.io/). Its a web application that will enable anyone to deploy and manage their Mastodon within a few clicks (See more below).
## Decentralization
Decentralization is at the core of ThreeFold and creates resilience while involving the community in the decision-making process, leading to wider ownership and greater engagement. In 2022, we took great steps towards true decentralization, and will continue to take this path next year!
<br>
- Several Grid Enhancement Proposals were made and voted on by the community around the grid and farming.
- This year, we officially introduced the validator program, which will come to fruition in 2023.
- As of [ThreeFold Grid v3.6.1](https://forum.threefold.io/t/threefold-product-updates-july-2022-tfgrid-v3-6-1-highlights-more/3206), the DAO functionality has been live on TF Chain.
- The first [TF Chain (L1) DAO proposal](https://forum.threefold.io/t/the-first-vote-of-the-threefold-tf-chain-l1-dao-gold-certified-farming/3323) for the creation of the Gold Certified Farming Policy was voted on and approved
## TFT
While the token price has been low this year, it presents a great opportunity for believers to [buy TFT](https://library.threefold.me/info/threefold#/tokens/threefold__tft_ecosystem).
<br>
- This year, it became possible to buy TFT directly [with BTC](https://forum.threefold.io/t/get-tft-directly-with-btc/1825) (Bitcoin) as well as [with fiat currencies through the Mercuryo gateway](https://forum.threefold.io/t/tft-fiat-gateway-beta-testing-program/2746).
- In 2023, well be introducing TFT-fiat gateways into the Mastodon weblet (see below) and across the whole grid ecosystem to make it even easier to use grid services.
<br>
As believers in truly decentralized models, we have repeatedly questioned how to exist without centralized exchanges. In August, TFT was [delisted from the Liquid Exchange](https://forum.threefold.io/t/tft-will-be-delisted-on-liquid-what-now-and-what-next/3197), the result of their acquisition by FTX earlier this year. A blessing in disguise, after seeing the monumental [FTX crash](https://forum.threefold.io/t/on-the-ftx-crash-and-the-tft-model/3524) which affected Liquid (which could have resulted in a loss of funds, although the exchange Liquid “hopes to return customer funds in 2023”) and sent ripple effects across the entire industry.
<br>
Part of our aim next year will be to introduce concepts like the liquidity pool and P2P DeFi wallet to provide a resilient, sustainable, and native [financial system](https://forum.threefold.io/t/a-new-financial-system-is-needed-for-a-better-future/3547) for the Internet of Internets, which strengthens the foundation of the ecosystem by enhancing the stability and liquidity of the ThreeFold Token.
## Partnerships
We doubled down on commitment to follow our values, particularly when it comes to collaborations and partnerships.
<br>
- ThreeFold signed a Head of Terms in December 2022 to officialize a public-private-partnership with a country in East Africa in Q1 2023. This partnership will support the roll out of a decentralized Internet infrastructure to support fintech services, e-residency and more.
- ThreeFold is on track to support international communities to launch their digital nations (AKA network states).
- ThreeFold & OpenNebula [opened a collaboration](https://threefold.io/partners/opennebula/) to explore cooperation in open source & edge computing
- Alongside 27 organizations such as Atos and Deutsche Telekom, ThreeFold is part of [Structura-X](https://www.gaia-x.eu/news/structura-x-lighthouse-project-european-cloud-infrastructure-launched-concrete-implementation) a lighthouse project ensuring common European infrastructure services that meet [Gaia-X](https://www.gaia-x.eu/) requirements.
## Team on the Ground
We were on the ground in strategic locations and events all over the world, sharing about ThreeFold and expanding the community.
<br>
- ICT Tanzania (update [1](https://forum.threefold.io/t/ict-tanzania-update-1-karibu-threefold/3453), [2](https://forum.threefold.io/t/ict-tanzania-update-2-ourworld-mkusanyiko/3459), & [3](https://forum.threefold.io/t/ict-tanzania-update-3-hello-ourverse/3482)) in Zanzibar
- [Consensus 2022](https://threefold.io/blog/post/consensus_2022_recap/), Austin
- [World Blockchain Summit](https://twitter.com/threefold_io/status/1507009092165853185), Dubai
- [Visiting Lebanon](https://forum.threefold.io/t/threefold-weekly-february-21st-edition-volume-seven/2251)
## Mastodon, the Fediverse & ThreeFold
The aftermath of Musks acquisition of Twitter was a mass digital migration towards Mastodon (up from 300,000 to 2.5 million monthly active users). We supported this trend towards decentralized social media platforms, and saw that [ThreeFold could be of great support to Mastodon](https://forum.threefold.io/t/mastodon-threefold-101-what-is-mastodon-and-how-can-threefold-support/3494)!
<br>
- [Blog: Twitter, Mastodon, and Why Were Evolving the Internet](https://www.threefold.io/blog/twitter-mastodon/)
- [Community Call recording](https://forum.threefold.io/t/mastodon-the-fediverse-community-call-recording/3522) focused around Mastodon
- We have been working on a weblet to [deploy Mastodon servers on top of the Grid](https://forum.threefold.io/t/threefold-product-focus-mastodon-servers-powered-by-threefold/3562), and Mastodon powered by ThreeFold is now [ready for testing](https://forum.threefold.io/t/beta-testers-wanted-mastodon-powered-by-threefold/3637/2)! Your feedback is valued, and be sure to spread the word!
- Read the manual on how you can deploy your own Mastodon on TF Grid [here](https://library.threefold.me/info/manual/#/manual__threefold_mastodon_home).
- For more: [Fediverse section](https://forum.threefold.io/c/threefold-grid-utilization/fediverse/113) of the Forum
## Q4 Community Calls
In Q4, we held a series of Community Calls aimed at bringing the community together while updating on, exploring, and discussing key topics related to the ThreeFold Ecosystem! Watch them here:
<br>
- [Grid Utilization](https://forum.threefold.io/t/threefold-november-3-grid-utilization-community-call-recording/3476)
- [Tokenomics & Regional Internet](https://forum.threefold.io/t/tft-tokenomics-regional-internet-community-call-recording/3501)
- [Mastodon & the Fediverse](https://forum.threefold.io/t/mastodon-the-fediverse-community-call-recording/3522)
- [How to Create & Monetize Weblets](https://forum.threefold.io/t/building-your-own-weblets-community-call-recording/3553/4)
- [Farming](https://forum.threefold.io/t/december-2022-farming-community-call-recording/3567)
- [End-Of-Year Call](https://forum.threefold.io/t/end-of-year-2022-community-call-recording/3636)
## Wrapping up
In a fast-moving and ever-changing world, it is our belief that ThreeFold is one of the few projects out there that can genuinely enable a better future. We are driven by our mission and vision, guided by our values, and upheld by our global community.
<br>
2023 will be about continuing to improve the technology and simplify the grid experience, bringing to life the Regional Internets and Digital Twin concepts, introducing partnerships weve been alluding to this year, and furthering the decentralization of ThreeFold by empowering the community to take action independently.
<br>
ThreeFold is all of ours, and as a decentralized movement, we all share the responsibility to drive this project forward in meaningful ways to the best of our own abilities.
<br>
ThreeFold is the future. Based on decentralization and open source paradigms, we are a strong movement that continues to grow resilience. We are hungry for a better tomorrow, and ready to continue the journey towards the actualization of our common vision.
<br>
Heres to 2022!
<br>
Here we come, 2023!
<br>
Together We Build!

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@@ -0,0 +1,18 @@
---
id: cc_eoy_rec
title: 🎆 Watch - End-of-Year Community Call!
image_caption: End-Of-Year Community Call
description: Thanks to those who joined us live for the final team-run community call of the year. For the rest, you can find the recording here.
date: 2022-12-21
taxonomies:
people: [sam_taggart]
tags: [update, technology, news, community]
news-category: [foundation]
image:
---
Thanks to those who joined us live for the final team-run community call of the year. For the rest, you can find the recording [here](https://forum.threefold.io/t/end-of-year-2022-community-call-recording/3636). On we go. Together we build!
<br/>
_Please note the content of this call is for information purposes only and is subject to change as the project evolves._

View File

@@ -0,0 +1,17 @@
---
id: fake_facebook
title: 🥸 Fake Facebook Page Alert
tags: [update, news, community]
category: [foundation]
image:
image_caption: Fake Facebook Page Alert
excerpt: Please be advised there is a fake ThreeFold Facebook profile out there acting as a page, reposting images of people in our community and referring to a ThreeFold Bounty Program.
authors: [sam_taggart]
created: 2022-12-20
---
Please be advised there is a fake ThreeFold Facebook profile out there acting as a page, reposting images of people in our community and referring to a ThreeFold Bounty Program. Do not click on any links if you see any of these posts, instead please report the profile to Facebook.
<br/>
_Keep in mind that any and all official ThreeFold promotional activities would be announced via our ThreeFold News Channel._

View File

@@ -0,0 +1,30 @@
---
id: hot_on_forum
title: 🔥 Hot on the Forum
image_caption: Hot on the Forum
description: Take a look at the recording of the first Weekly Technical Help Room hosted by Drew, and tune in next Monday for the next session.
date: 2022-12-22
taxonomies:
people: [sam_taggart]
tags: [update, technology, news, community]
news-category: [foundation]
image:
---
The [ThreeFold Technology E-Book](https://forum.threefold.io/t/threefold-technology-ebook-read-and-learn/3634) is an incredible in-depth resource to learn about the inner workings of the grid and what makes our technology so unique.
<br/>
Take a look at the recording of the first [Weekly Technical Help Room](https://forum.threefold.io/t/weekly-technical-help-room/3627) hosted by Drew, and tune in next Monday for the next session.
<br/>
Thanks to Mik for creating a topic about the [ThreeFold Dashboard](https://forum.threefold.io/t/the-threefold-dashboard-dive-in-the-new-internet/3635). Get involved in the discussion about dashboard improvements!
<br/>
What's your "why" when it comes to ThreeFold? Take part in Sams [End of the Year Community Challenge](https://forum.threefold.io/t/end-of-year-community-challenge-my-why-personal-tft-grant/3638) theres even a chance to "win” a few TFT.
<br/>
_By the way, thanks to the 10 most active [forum](https://forum.threefold.io/) contributors from the past week!_

View File

@@ -0,0 +1,18 @@
---
id: share_your_why
title: ❤️ Share what you love about ThreeFold
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!
date: 2022-12-23
taxonomies:
people: [victoria_obeegadoo]
tags: [update, technology, news, community]
news-category: [foundation]
image:
---
[Here's](https://forum.threefold.io/t/end-of-year-community-challenge-my-why-personal-tft-grant/3638) a call to all ThreeFolders to share why they are involved in the ThreeFold project and what makes them believe in it! I just shared my own answer and would love to read yours!
<br/>
Ps: In the spirit of the holidays, 200 TFT gifts are available for community members answering on the forum post!

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View File

@@ -0,0 +1,22 @@
---
title: Ashish Bansal
weight: 3
taxonomies:
people: [ashish_bansal]
memberships: [foundation]
categories: [foundation]
extra:
imgPath: ashish_bansal.jpeg
organizations: [threefold_foundation]
countries: [India]
cities: [Mumbai]
private: 0
socialLinks:
{
LinkedIn: https://www.linkedin.com/in/ab-equity/,
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.

View File

@@ -1,5 +1,5 @@
---
title: ThreeFold_Community
title: ThreeFold Community
weight: 0
description: Together we build!
taxonomies:
@@ -13,8 +13,8 @@ extra:
cities: []
private: 0
socialLinks: {
LinkedIn:,
github: ,
LinkedIn: https://www.linkedin.com/company/threefold-foundation,
github: https://github.com/threefoldfoundation/,
websites: https://threefold.io,
}
---

View File

@@ -1,28 +1,22 @@
---
title: Victoria Obeegadoo
weight: 2
description: Seeking to do good, whether it concerns working for the environment, animals, or people.
taxonomies:
people: [victoria_obeegadoo]
memberships: [foundation]
categories: [foundation]
extra:
imgPath: victoria_obeegadoo.jpg
organizations: [threefold_foundation, twin, aci]
countries: [Netherlands, Mauritius, Nomad]
cities: [Amsterdam, Moka, Nomad]
private: 0
memberships: [foundation, twin, aci_members]
socialLinks:
{
LinkedIn: www.linkedin.com/in/victoria-obeegadoo,
LinkedIn: https://www.linkedin.com/in/victoria-obeegadoo,
github: https://github.com/VicObee,
websites: https://threefold.io/,
}
taxonomies:
people: [victoria_obeegadoo]
categories: [foundation, twin, aci]
---
<br>
<div class="aspect-w-16 aspect-h-9">
<iframe src="https://player.vimeo.com/video/607456068?h=64c911d55f" width="800" height="450" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
</div>
<br>
Having a Communication Science background, Victoria is eagerly using her skill set within the communication team at ThreeFold. She has always been seeking to do good, whether it concerns working for the environment, animals, or people. Victoria is indeed a strong advocate for the preservation and protection of environmental, human and animal rights. Taking a political science stance throughout her Master programme specializing in Global Environmental Governance, Sustainability & Climate Change, she gained a better understanding of the way societies work, the urgency of the climate crisis, how to actually spark change and take concrete action. She envisions for the future a more egalitarian society, one which lives in greater harmony with the environment and that has an inclusive economic system. Victoria craves being a part of making this world of ours a better place, and is excited to start with changing the internet and how we use it with the organization!

View File

@@ -101,8 +101,10 @@
</section>
</div>
<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)) %}
<img src="{{img_url}}" />
<img src="{{img_url}}" />
{%endif%}
</section>
<div class="py-12">

View File

@@ -31,7 +31,9 @@
</div>
<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="" />
{% endif %}
</div>
</div>
<hr class="mt-6">

View File

@@ -2,8 +2,10 @@
<div class="flex-1">
<a href={{ post.permalink }} class="block">
<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)) %}
<img class="h-48 w-full mx-auto object-cover" src={{img_url}} alt="" />
{% endif %}
</div>
<div class="flex-1 bg-white p-4 flex flex-col justify-between">

View File

@@ -12,11 +12,13 @@
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden">
<div class="flex-1 border-b">
<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',
to=post.extra.imgPath)) %}
<div class="flex-shrink-0">
<img class="h-48 w-full mx-auto object-cover" src={{img_url}} alt="{{post.title ~ ' Picture'}}" />
</div>
{%endif%}
<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">

View File

@@ -2,8 +2,10 @@
<div class="flex-1">
<a href={{ post.permalink }} class="block">
<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="" />
</div>
{%endif %}
</div>
<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">