@@ -47,10 +47,16 @@ Front matter fields:
|
||||
| `author` | Yes | Displayed under the post title. |
|
||||
| `authorLink` | No | If set, the author name links out (e.g. to a LinkedIn profile). |
|
||||
| `tags` | Yes | One or more tags. Drives the sidebar category list and RSS category. |
|
||||
| `previewImg` | No | Relative path to an image in the same folder (e.g. `'./cover.png'`). Feed posts usually omit this since they're short-form. |
|
||||
| `previewImg` | No | Relative path to an image in the same folder (e.g. `'./cover.png'`). The template renders this image on the post page automatically - do NOT also embed the same image in the markdown body. |
|
||||
|
||||
Use regular dashes (`-`) in content, not em-dashes.
|
||||
|
||||
If the post is adapted from source copy the user provided (e.g. a LinkedIn post), paste the original text into an HTML comment (verbatim, except strip the literal `hashtag` prefix that LinkedIn sometimes adds before `#tags`, e.g. `hashtag#sas` -> `#sas`) (`<!-- ... -->`) at the bottom of the markdown file, labelled (e.g. `Source LinkedIn post:`). This preserves the original - including hashtags and checkmarks that get dropped/adapted in the site version - for future reuse.
|
||||
|
||||
When editing an existing feed post that has a `Source LinkedIn post:` comment, update the LinkedIn version too, so the overall message stays consistent (same points, same claims, same ordering of any lists). Wording does not need to be identical, and formatting will differ: the article uses Markdown, while LinkedIn is plain text with `✓`-style bullets, hashtags, and a comment-based CTA (see `.agents/docs/linkedin.md`).
|
||||
|
||||
Likewise, if an image was generated for the post (e.g. the `previewImg`), record the full image-generation prompt in the same HTML comment block, labelled (e.g. `Image prompt:`), so it can be tweaked and regenerated later.
|
||||
|
||||
### 3. Add images (optional)
|
||||
|
||||
If you set `previewImg` or reference images in the body, place the image files in the same post directory and reference them with a relative path.
|
||||
|
||||
Reference in New Issue
Block a user