Patrick Wilson
0bc8eeeac8
feat: add edit post feature in blog posts ( #384 )
...
* feat: add edit post feature
* fix: remove edit button except on post detail pages
* docs: update site config docs for editPost
Resolves #191
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-10-11 18:14:17 +07:00
Erison Silva
c11b2a2960
fix(docs): update giscus blog post ( #392 )
2024-10-02 21:44:40 +07:00
Alberto Perdomo
70b2486293
docs: add a blog post for LaTex support ( #373 )
...
Add a blog post for adding LaTex equation rendering
in AstroPaper blog posts.
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-09-11 09:21:43 +07:00
faiz ahnaf
ec373c3369
fix(blog): correct file reference in reading time guide ( #359 )
...
Ensure no duplicate items appear in the list of the blog post
and update the list with the correct one.
2024-09-08 12:25:24 +07:00
Sat Naing
dab61b3714
build: bump Astro to v4.14.2 & use content layer ( #355 )
...
Bump Astro from v4.13 to v4.14.2 and use experimental
content layer api.
2024-08-19 12:53:58 +07:00
satnaing
65b6a492c3
docs: update estimated reading time blog post async section
...
Update `getStaticPaths` section of `/tags/[tag]/[page].astro`
to have resolved promises. Replace `flatMap` with
`await Promise.all` and `.flat()`.
2024-08-18 01:50:55 +07:00
Sat Naing
88e5c430c8
docs: update estimated reading time blog post ( #354 )
...
Resolves #350
2024-08-17 21:03:28 +07:00
Sat Naing
910b72e513
docs: update pre-commit hook blog post ( #344 )
...
Add a section about the removal of the pre-commit
hook in v4.3.0.
2024-08-03 11:41:23 +07:00
u8b19
2f82febff4
fix: resolve non-latin char issue in generated OG images ( #318 )
...
Changes made
- update font source with Google font
- add error handling in font fetching logic
- update docs in dynamic-og-images blog post
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-07-27 14:36:52 +07:00
FjellOverflow
76b65556f7
docs: add guide on integrating user comments with Giscus ( #335 )
2024-07-27 10:01:25 +07:00
Matthieu
aa9430a1cf
docs: fix typo in development note of theme configuration guide ( #333 )
2024-07-24 22:04:13 +07:00
David Legrand
0d5ea52c23
feat: add number of posts config for home page ( #281 )
...
* Add a SITE config parameter for posts in index page
* docs: update blog post for `postPerIndex` config
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-07-14 16:48:49 +07:00
Jahseh J
c9150f2774
fix: update incorrect typo in predefined-color-schemes.md ( #245 )
2024-01-24 09:20:45 +06:30
David Legrand
3efa05cc10
feat: hide posts in Prod with future pubDatetime ( #234 )
...
* Hide posts when PubDateTime is not reached
* refactor: extract filter logic into a file
* docs: update SITE config docs
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2024-01-15 19:40:02 +06:30
Simon Smale
de605d87a0
docs: adds blog post for how to add a social icon ( #221 )
...
* docs: adds blog post for how to add a social icon
* refactor: update the blog post
---------
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2024-01-09 15:47:38 +06:30
Simon Smale
bb60a9b3db
docs: updates the hook post with a smarter updateHook ( #222 )
2024-01-09 11:18:40 +06:30
satnaing
ff30dee418
docs: add an AstroPaper v4 announcement post
2024-01-04 15:53:12 +06:30
Simon Smale
9c776dac1f
docs: adds an article about git hook date setting ( #211 )
...
* feat: adds post on git hook date setting
* fix: make necessary adjustments and fix typo
---------
Co-authored-by: Sat Naing <satnaingdev@gmail.com >
2024-01-04 15:53:12 +06:30
satnaing
1c806b7ddd
docs: add new color scheme for AstroPaper v4
2024-01-04 15:53:12 +06:30
satnaing
792a02b325
docs: #205 update estimated-reading-time article
...
Fix typo. Update await files in getSortedPosts.
Closes : #205
2024-01-04 15:53:12 +06:30
Simon Smale
14e2936608
feat: add code-snippets for content creation ( #206 )
...
* Create astro-paper.code-snippets
* feat: allow nullable modDatetime
this is needed to allow the snippet to work with a blank date time, and is a precursor of adding in a modified date time setting hook
* Update astro-paper.code-snippets to make feat false by default
2024-01-04 15:53:12 +06:30
Sat Naing
2827d4e7d8
refactor: replace postSlug with Astro content slug
...
* refactor: replace postSlug with Astro content slug
Remove postSlug from blog schema. Refactor articles that use postSlug. Remove slugify function from slugify util file. Replace slugify logic with Astro's content collections slug logic.
Closes : #186
* docs: update docs for removed slugify contents
* refactor: remove unused import
2023-12-27 10:20:55 +06:30
Sat Naing
80e67a1dca
feat: add modified datetime in blog posts
...
* feat: add modified datetime in blog posts
Add modDatetime in blogSchema. Update Datetime component to accept modDatetime. Update sorting logic. Rename datetime to pubDatetime in Datetime component.
Closes : #134
* feat: add published_time & modified_time meta tags
* docs: update related blog posts to be up-to-date
* fix: remove extra spaces in breadcrumbs
2023-12-26 10:11:26 +06:30
satnaing
cd02b047d2
fix : #133 update LOCALE config to cover overall locales
...
Update LOCALE inside config.ts to include html lang value and datetime locale values. Updated respective files and blog post.
Closes : #133
2023-12-20 10:50:45 +06:30
Tanishq Manuja
9dcc5e1932
refactor: update site URL to be single source of truth ( #143 )
...
* wip: astro config to use .ts instead of .mjs
* fix: remove invalid prop in astro config
* refactor: single source of truth for site url
* refactor: make minor updates due to astro.config.ts
---------
Co-authored-by: satnaing <satnaingdev@gmail.com >
2023-10-09 03:07:45 +00:00
satnaing
d57f53ac4d
docs: add a new theme and add main image in v3 post
2023-09-26 02:04:11 +06:30
satnaing
4c33936b66
docs: add upgrade section for AstroPaper v3
2023-09-26 02:04:11 +06:30
satnaing
485671ac05
docs: remove AstroPaper-2 post from featured posts
2023-09-26 02:04:11 +06:30
satnaing
d7196caec9
docs: add AstroPaper v3 release blog post
2023-09-26 02:04:11 +06:30
satnaing
e4463ad62a
docs: update generated svg image to generated OG image
2023-09-26 02:04:11 +06:30
satnaing
a5feb4b3ab
docs: update reading-time post for astro-paper v3
2023-09-26 02:04:11 +06:30
satnaing
58c68ee055
docs: update docs for astro-papaer v3
...
Make docs articles up to date with the latest version of AstroPaper. Add a section for storing
images for blog posts. Rename rec-2 to example-draft-post and update its content.
resolve #117
2023-09-26 02:04:11 +06:30
tanishqmanuja
7f3edbdecd
fix: get og image url correctly
2023-09-26 02:04:11 +06:30
tanishqmanuja
b03b722369
fix: remove empty string as ogImage
2023-09-26 02:04:11 +06:30
tanishqmanuja
35bb517d3a
chore: remove unused file
2023-09-26 02:04:11 +06:30
tanishqmanuja
20c89709ad
feat: default post author to site author
2023-09-26 02:04:11 +06:30
tanishqmanuja
e9d4303219
feat: add image validation to schema
2023-09-26 02:04:11 +06:30
tanishqmanuja
817e67ac65
refactor: move schema to config file
2023-09-26 02:04:11 +06:30
tanishqmanuja
1cc51c00a7
refactor: use astro generated CollectionEntry type
2023-09-26 02:04:11 +06:30
satnaing
b118f09d5d
docs: update schema code in docs for new canonicalURL property
2023-07-23 10:59:44 +06:30
Nahuel Garbezza
4687bd516b
feat: support custom canonical URLs ( #83 )
...
Adding an optional attribute in the posts' frontmatter that allows the user to set a custom canonical URL
2023-07-23 10:55:19 +06:30
Nahuel Garbezza
08383093d1
docs: update "adding new post" tutorial with...
...
...info about canonical URLs
2023-07-23 10:55:19 +06:30
satnaing
606203d034
docs: add a blog post for adding estimated reading time
...
Add an article for adding estimated reading time. #74
resolve #74
2023-07-22 23:15:57 +06:30
satnaing
d9743af65d
docs: add a blog post for updating AstroPaper and dependencies
...
Add an article to show how to update project dependencies and AstroPaper template.
resolve #68
2023-07-21 21:04:02 +06:30
satnaing
26ecd173dd
fix : #72 replace SITE.website with a URL in astro.config site value
...
Using SITE.website in astro.config.mjs causes the problem . Thus, change back to the original url string in site value of .
Closes : #72
2023-07-20 16:30:02 +06:30
Andrea Mignone
0e9f709c5d
feat: add locale configuration for Datetime component ( #59 )
2023-04-17 23:56:58 +06:30
satnaing
4fe508462e
refactor: replace astro.config site value with SITE.website
2023-03-16 14:58:26 +06:30
Mahesh Rijal
cbce54bd1c
fix: correct typo in blog posts
...
Fix typo (#35 )
2023-02-12 19:16:50 +06:30
B. Burt
d9a2ffe909
docs: fix typo in blog post ( #24 )
...
Change spelling of criteria.
2023-02-01 12:16:15 +06:30
Sha Mwe La
dc026b38de
fix: make schema(s) strict ( #23 )
...
If schema(s) are made with strict, it will disallow extra keys in the markdown frontmatter.
2023-02-01 12:13:41 +06:30