refactor: use YAML for products
Added YAML support as per https://docs.astro.build/en/recipes/add-yaml-support and converted products.json to products.yaml.
This commit is contained in:
parent
64a0f9e90b
commit
2e633d3a96
6 changed files with 114 additions and 86 deletions
|
|
@ -3,10 +3,8 @@ layout: ~/layouts/PageLayout.astro
|
|||
title: Products and Services
|
||||
---
|
||||
|
||||
import ListingPage from "~/components/ListingPage.astro";
|
||||
import _ from "lodash";
|
||||
import priceFormatter from "~/price-formatter";
|
||||
import products from "~/products.json";
|
||||
import products from "~/products.yaml";
|
||||
|
||||
<div class="space-y-12">
|
||||
{products.map((product) => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue