Eduardo Pereira
fa240ff2f2
Fix markdown of markdown-style-guide.md
in the blog example ( #10962 )
2024-05-08 20:03:25 +08:00
Viktor Szépe
a146cf1012
Fix typos ( #10923 )
2024-05-01 13:56:38 +08:00
Damanjeet Singh
f214ae798c
fixed the path to checkout existing blog posts on the home page of the blog starter template ( #10814 )
...
Currently the 4th point on home page says: "Check out the included blog posts in src/pages/blog/". It the path here should be "src/content/blog/".
2024-04-19 10:02:17 +02:00
zsombok
9001d063ae
Fix blog ordering ( #10168 )
...
Co-authored-by: David Zsombok <david.zsombok@baxter-it.com>
2024-02-21 07:42:43 +00:00
だいき
2adf3b56eb
chore: support isActive link all subpages ( #9694 )
...
* chore: support isActive link all subpages
* Update examples/blog/src/components/HeaderLink.astro
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-30 11:50:26 +00:00
Jaga Santagostino
f27f790b92
remove unused prop in blog template ( #9848 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-29 17:47:05 +08:00
Houston (Bot)
35987afeb5
[ci] format
2024-01-02 07:17:00 +00:00
__dil__
1a4d593ddb
feat(examples): make content collections type explicit
...
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Bjorn Lu <34116392+bluwy@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2023-12-08 09:22:08 +01:00
natemoo-re
eb7615f25a
[ci] format
2023-09-06 15:25:56 +00:00
李瑞丰
d92ab06544
Update examples & uppercase endpoints & fix response ( #8391 )
...
Co-authored-by: liruifeng <liruifeng@troila.com>
2023-09-04 23:10:39 +08:00
Michael Oliver
77922ae5db
chore: use z.coerce.date()
to pass input through new Date(input)
. ( #8383 )
2023-09-04 18:46:24 +08:00
Emanuele Stoppa
7530d5689d
Merge remote-tracking branch 'origin/main' into next
2023-08-15 09:24:06 +01:00
Houston (Bot)
40efae6550
[ci] release (beta) ( #7952 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 11:14:20 -04:00
Shinya Fujino
3bc74dd4a9
Remove unnecessary hyphen from svg tag ( #8025 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:50 -05:00
Shinya Fujino
210f8d9f79
Update path to image in public/ to suppress warning ( #8026 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:37 -05:00
Emanuele Stoppa
14b0626f3e
Merge remote-tracking branch 'origin/main' into next
2023-08-10 11:49:52 +01:00
ElianCodes
e65b5b5495
[ci] format
2023-08-09 18:52:48 +00:00
Keshav Mohta
e2b1b4fa6e
fixed image path and add markdown syntax in example ( #7802 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Elian ☕ ️ <hello@elian.codes>
2023-08-09 20:50:25 +02:00
Emanuele Stoppa
0f1e9d8361
chore: update prettier to 3.0
( #7957 )
2023-08-08 13:01:38 +01:00
Emanuele Stoppa
9a01cc64c2
Remove support for Node 16 ( #7780 ) ( #7820 )
2023-08-08 11:01:33 +01:00
Jeff Ruane
2c2e9362a2
Add screen reader text to example blog footer ( #7984 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07 14:27:44 -05:00
doodlemarks
ec40c8ccbe
[ci] format
2023-07-25 14:54:12 +00:00
Mark Peck
8e14621659
Blog theme styling updates ( #7768 )
...
* whole lotta updates and including some new fonts
* update placeholders
* fix mobile first child
* remove experimental stuff
* adding accessible text to header icon links
* preloading font files
* i did dum things
---------
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2023-07-25 09:51:38 -05:00
Erika
b3b640435b
nit: export props has been unnecessary.. forever ( #7646 )
2023-07-14 09:57:06 -04:00
Bjorn Lu
8e3cb20b5c
Format markdown files ( #7439 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-06-26 11:34:13 +08:00
Matthew Mercuri
c341bd07ac
added prop type definition for FormattedDate in Blog example ( #6591 )
2023-03-20 19:49:38 +08:00
Christofer J. Ekervhén
2a6d09e5d2
Fix import of type HTMLAttributes in blog example ( #6322 )
...
* Fix extend type HTMLAttributes in blog example
* Update examples/blog/src/components/HeaderLink.astro
Co-authored-by: Christofer J. Ekervhén <45903979+ChrisEke@users.noreply.github.com>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-02-21 14:21:19 +01:00
Ben Holmes
5616167358
Fix blog starter about page ( #6195 )
...
* refactor: about.md -> about.astro
* chore: add strictNullChecks
* fix: format date on blog post layout
2023-02-09 09:48:29 -05:00
Ben Holmes
81dce94f2a
[RSS] Get ready for content collections ( #5851 )
...
* chore: strictNullChecks for zod
* feat: expose `rssSchema` helper
* refactor: align types with schema types
* feat: break glob handler to globToRssItems util
* refactor: RSS options validation to Zod
* refactor: avoid intermediate type
* fix: allow numbers and dates in pubDate
* test: update glob and error tests
* feat: add rss to with-content starter
* fix: move globToRssItems back to internal behavior
* chore: JSON.stringify
* Revert "fix: move globToRssItems back to internal behavior"
This reverts commit 85305075e6444907455541b24bccbccd5016951a.
* test: missing url
* docs: `import.meta.env.SITE` -> `context.site`
* docs: update README to content collections example
* fix: url -> link
* docs: add `rssSchema` to README
* chore: consistent formatting
* docs: add `pagesGlobToRssItems()` reference
* chore: globToRssItems -> pagesGlobToRssItems
* chore: changeset
* fix: bad docs line highlighting
* fix: add collections export to example
* nit: remove "our"
* fix: are -> all
* fix: more README edits
* deps: kleur
* chore: add back import.meta.glob handling as deprecated
* docs: bump down to `minor`, update headline to be less content collections-y
* typo: suggest adding
* chore: support URL object on `site`
* docs: add await to pagesGlob ex
* docs: tighten `rssSchema` explainer
* docs: tighten pagesGlobToRssItems section
* docs: add content to README
* docs: replace examples with docs link
* docs: re-we
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-19 11:24:55 -05:00
Ben Holmes
7d72aeeae8
Migrate blog and docs starters to content collections ( #5858 )
...
* docs: update README for `content/`
* chore: update env
* feat: update blog to use content collections
* chore: remove with-content starter
* fix: single quotes -> double
* feat: update docs starter to content collections
* refactor: config -> consts
* chore: import type
* edit: Astro will -> Use
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* chore: remove unused null check
* nit: spacing
* nit: `as Props` 1
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* nit: `as Props` 2
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* chore: consistent CONSTS usage
* chore: `type` imports at top
* chore: consistent quote usage on YAML
* chore: remove `as Props` from docs
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-18 08:43:58 -05:00
delucis
b64081deed
[ci] format
2022-12-21 18:19:56 +00:00
Shivam
46757a6ce3
Add canonical URL to blog example ( #5651 )
2022-12-21 19:17:40 +01:00
Princesseuh
dcdeca56ac
[ci] format
2022-11-08 18:39:22 +00:00
Shoubhit Dash
0bab357c48
fix: consider trailing slashes when calculating current path in blog example ( #5272 )
2022-11-01 16:08:45 -04:00
Princesseuh
7e430a3dc9
[ci] format
2022-10-24 13:34:10 +00:00
Tobias
9fb03b2e99
examples rss: add mdx file ending ( #4710 )
...
This follows the same pattern used in https://github.com/withastro/astro/blob/main/examples/blog/src/pages/blog.astro#L8 . Without adding `mdx` here, only some blog posts will be part of the rss.xml file.
2022-09-22 14:53:07 -04:00
Brett Jankord
2c2bbc5158
Update blog post date text color to meet contrast-ratio guidelines ( #4821 )
2022-09-22 15:18:09 +08:00
Sami Jaber
234057b020
Template (Blog): fix HeaderLink
isActive
check ( #4647 )
...
* remove trailing slashes when checking active href
* use simpler regex
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* remove unused code
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-09-13 14:02:32 -05:00
Daren Chandisingh
1bee84920a
examples: Blog template changes ( #4577 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-09-03 16:58:00 +02:00
Mohammed Elhaouari
5fbb359afb
Remove "as Props" from the astro examples ( #4494 )
2022-08-26 10:16:17 -04:00
Peter Singh
74cb94ca3c
Update blog.astro ( #4486 )
2022-08-26 16:15:50 +08:00
Nate Moore
41b81d0d7e
Switch examples favicon to use svg ( #4331 )
...
* chore(examples): switch favicon to svg
* chore: astro.svg => favicon.svg
* Update examples/basics/README.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-08-17 15:19:04 -05:00
Caleb
675b6d47f4
Fix example blog post markdown-style-guide.md image extension ( #4360 )
2022-08-17 16:11:09 +08:00
Nate Moore
655d9840f8
fix(blog): height auto img ( #4327 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-15 11:19:47 -05:00
FredKSchott
faa49db39b
[ci] format
2022-08-15 04:28:38 +00:00
Fred K. Schott
0e2f4d74b7
image fix ( #4322 )
2022-08-15 00:26:33 -04:00
Fred K. Schott
6a3aa12079
[examples/blog] move copy
2022-08-13 01:12:57 -07:00
FredKSchott
485742dc0d
[ci] format
2022-08-13 07:12:04 +00:00
Fred K. Schott
d54588c7a4
Update: blog template ( #4283 )
...
* add new blog template
* update placeholder images
* use svg favicon
* Update examples/blog/src/pages/blog/using-mdx.mdx
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fred pass
* more fred pass
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-13 00:09:40 -07:00
Nate Moore
f207c417e0
Add Astro.generator ( #4012 )
...
* feat: add generator property and component
* chore: remove `Generator` component
* chore: update generator description
* chore: include generator in examples
* chore: update lockfile
* chore: format
* fix: do not reference core from server runtime
* chore: remove component test
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-08 12:34:05 -05:00