You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: remove unused ogImage size validation
Validation of `ogImage` field in blog collection
causes unintentional broken og images after the build.
Removing the validation solve the issue.
* docs: update docs for ogImage path
* chore: update asset
|**_title_**| Title of the post. (h1) | required<sup>\*</sup>|
29
+
|**_description_**| Description of the post. Used in post excerpt and site description of the post. | required<sup>\*</sup>|
30
+
|**_pubDatetime_**| Published datetime in ISO 8601 format. | required<sup>\*</sup>|
31
+
|**_modDatetime_**| Modified datetime in ISO 8601 format. (only add this property when a blog post is modified) | optional|
32
+
|**_author_**| Author of the post. | default = SITE.author|
33
+
|**_slug_**| Slug for the post. This field is optional. | default = slugified file name|
34
+
|**_featured_**| Whether or not display this post in featured section of home page | default = false|
35
+
|**_draft_**| Mark this post 'unpublished'. | default = false|
36
+
|**_tags_**| Related keywords for this post. Written in array yaml format. | default = others|
37
+
|**_ogImage_**| OG image of the post. Useful for social media sharing and SEO. This can be a remote URL or an image path relative to current folder. | default = `SITE.ogImage` or generated OG image |
38
+
|**_canonicalURL_**| Canonical URL (absolute), in case the article already exists on other source. | default = `Astro.site` + `Astro.url.pathname`|
39
39
40
40
> Tip! You can get ISO 8601 datetime by running `new Date().toISOString()` in the console. Make sure you remove quotes though.
description: How to update project dependencies and AstroPaper template.
12
12
---
13
13
14
14
Updating the dependencies of a project can be tedious. However, neglecting to update project dependencies is not a good idea either 😬. In this post, I will share how I usually update my projects, focusing on AstroPaper as an example. Nonetheless, these steps can be applied to other js/node projects as well.
0 commit comments