scaffolds by now

scaffolds-by-now

I created 3 post type for this site.

use

cd into site folder

create

  • normal post (blog post): hexo new "blog post title"
  • selling post: hexo new selling "selling post title"
  • collection post: hexo new collection "normally artist name"

default post

---
title: {{ title }}
date: {{ date }}
tags: [tag, tag, tag]
# replace preview image
preview: 'https://source.unsplash.com/iFSvn82XfGo/700x500'
summary: null
refs:
  - title: null
    link: null
    from: null
---

selling post

---
title: {{ title }}
date: {{ date }}
type: {{ layout }}
category: {{ layout }}
tags: [tag, tag, tag]
# replace preview image
preview: 'https://source.unsplash.com/iFSvn82XfGo/700x500'
summary: null
# product data
code: null
old_price: null
price: null
# product feature
overview:
  - list feature
  - of product
  - made to order
shipping:
  - ready to ship
  - deliver as payment
# more product image (image url, optional)
images:
  - null
  - null
  - null 
---

collection post

---
title: {{ title }}
date: {{ date }}
type: {{ layout }}
category: {{ layout }}
tags: [tag, tag, tag]
# replace preview image
preview: 'https://source.unsplash.com/IQIkl2iGnbw/700x500'
summary: null
# artist
artist: {{ title }}
linkto: '/link/to/artist/site'
# more photo (image url, optional)
collection:
  - null
  - null
  - null
---