Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Book Data #1

Open
kresnasatya opened this issue Oct 6, 2024 · 0 comments
Open

Book Data #1

kresnasatya opened this issue Oct 6, 2024 · 0 comments

Comments

@kresnasatya
Copy link
Owner

kresnasatya commented Oct 6, 2024

Title, book cover, slug, Price (IDR), buyed_at, vote, categories, review.

Example.

// slug-of-book.md

// front-matter starts here
---
title: A Book
price: 123
purchase_date: YYY-MM-DD
categories: []
---

Review goes here.

For cover / book of image filename, follow the book slug. In the end, the data stored in json file.

- books
   - a.md
   - b.md
   - c.md
- img
   - a.jpg
   - b.jpg
   - c.jpg
- data.json

Data structure of data.json:

[
  {
      "title": "A Book",
      "slug": "a-book",
      "price": 123
      "purchase_date": "YYYY-MM-DD"
      "review": "<html goes here>"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant