The blog app
- Hero post is hard-coded (featured or most popular)
- Don't use images with too much text (looks ugly)
- Double check frontMatter details and format.
- FrontMatter:
filename is the slug.
title {string}, publishedAt {yyyy-mm-dd}, summary {string - at least two lines}, image{"/path-to-image-from-public-root"}, category:{"route-string" e.g. 'how-to' or 'social-media'}
- Sample (link later)
- Internal Links start with
'/'
or'#'
- For internal images, use
'next/Image'
component. - External image needs to be configured in
next.cong.js
, so avoid. - To wrap an
<Image>
inside an link use<a> </a>
. Else the normal .md format will do. - Declare new components if needed.