summaryrefslogtreecommitdiff
path: root/examples/blog/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-06[ci] formatGravatar natemoo-re 2-6/+6
2023-09-04Update examples & uppercase endpoints & fix response (#8391)Gravatar 李瑞丰 1-1/+1
Co-authored-by: liruifeng <liruifeng@troila.com>
2023-09-04chore: use `z.coerce.date()` to pass input through `new Date(input)`. (#8383)Gravatar Michael Oliver 1-8/+2
2023-08-15Merge remote-tracking branch 'origin/main' into nextGravatar Emanuele Stoppa 2-2/+2
2023-08-11[ci] release (beta) (#7952)astro@3.0.0-beta.1@astrojs/vercel@4.0.0-beta.1@astrojs/telemetry@3.0.0-beta.1@astrojs/solid-js@3.0.0-beta.1@astrojs/react@3.0.0-beta.1@astrojs/preact@3.0.0-beta.1@astrojs/netlify@3.0.0-beta.1@astrojs/cloudflare@7.0.0-beta.1Gravatar Houston (Bot) 1-1/+1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-10Remove unnecessary hyphen from svg tag (#8025)Gravatar Shinya Fujino 1-1/+1
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10Update path to image in public/ to suppress warning (#8026)Gravatar Shinya Fujino 1-1/+1
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10Merge remote-tracking branch 'origin/main' into nextGravatar Emanuele Stoppa 1-6/+113
2023-08-09[ci] formatGravatar ElianCodes 1-14/+14
2023-08-09fixed image path and add markdown syntax in example (#7802)Gravatar Keshav Mohta 1-6/+113
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Elian ☕️ <hello@elian.codes>
2023-08-08chore: update prettier to `3.0` (#7957)Gravatar Emanuele Stoppa 1-1/+1
2023-08-08Remove support for Node 16 (#7780) (#7820)Gravatar Emanuele Stoppa 1-1/+1
2023-08-07Add screen reader text to example blog footer (#7984)Gravatar Jeff Ruane 1-0/+3
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-07-25[ci] formatGravatar doodlemarks 6-54/+103
2023-07-25Blog theme styling updates (#7768)Gravatar Mark Peck 14-81/+318
* 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-14nit: export props has been unnecessary.. forever (#7646)Gravatar Erika 2-2/+2
2023-06-26Format markdown files (#7439)Gravatar Bjorn Lu 4-16/+16
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-03-20added prop type definition for FormattedDate in Blog example (#6591)Gravatar Matthew Mercuri 1-0/+4
2023-02-21Fix import of type HTMLAttributes in blog example (#6322)Gravatar Christofer J. Ekervhén 1-1/+3
* 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-09Fix blog starter about page (#6195)Gravatar Ben Holmes 5-28/+86
* refactor: about.md -> about.astro * chore: add strictNullChecks * fix: format date on blog post layout
2023-01-19[RSS] Get ready for content collections (#5851)Gravatar Ben Holmes 1-1/+1
* 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-18Migrate blog and docs starters to content collections (#5858)Gravatar Ben Holmes 15-59/+99
* 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>
2022-12-21[ci] formatGravatar delucis 1-1/+1
2022-12-21Add canonical URL to blog example (#5651)Gravatar Shivam 1-0/+5
2022-11-08[ci] formatGravatar Princesseuh 2-17/+21
2022-11-01fix: consider trailing slashes when calculating current path in blog example ↵Gravatar Shoubhit Dash 1-1/+3
(#5272)
2022-10-24[ci] formatGravatar Princesseuh 1-14/+11
2022-09-22examples rss: add mdx file ending (#4710)Gravatar Tobias 1-1/+1
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-22Update blog post date text color to meet contrast-ratio guidelines (#4821)Gravatar Brett Jankord 1-1/+1
2022-09-13Template (Blog): fix `HeaderLink` `isActive` check (#4647)Gravatar Sami Jaber 1-1/+1
* 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-03examples: Blog template changes (#4577)Gravatar Daren Chandisingh 3-4/+4
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-08-26Remove "as Props" from the astro examples (#4494)Gravatar Mohammed Elhaouari 2-2/+2
2022-08-26Update blog.astro (#4486)Gravatar Peter Singh 1-2/+2
2022-08-17Switch examples favicon to use svg (#4331)Gravatar Nate Moore 1-1/+1
* 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-17Fix example blog post markdown-style-guide.md image extension (#4360)Gravatar Caleb 1-1/+1
2022-08-15fix(blog): height auto img (#4327)Gravatar Nate Moore 1-0/+1
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-15[ci] formatGravatar FredKSchott 2-9/+9
2022-08-15image fix (#4322)Gravatar Fred K. Schott 12-40/+30
2022-08-13[examples/blog] move copyGravatar Fred K. Schott 1-6/+6
2022-08-13[ci] formatGravatar FredKSchott 3-16/+23
2022-08-13Update: blog template (#4283)Gravatar Fred K. Schott 24-625/+476
* 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-08Add Astro.generator (#4012)Gravatar Nate Moore 1-0/+1
* 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-06[ci] formatGravatar FredKSchott 3-8/+7
2022-08-05Move types to a .d.ts file inside examples projects (#4171)Gravatar Erika 1-0/+1
* Move types to a .d.ts file to avoid making types explicit * Rename to proper types * Move to proper place * Add noEmit to tsconfig.json * Add back removed code by accident
2022-07-21Replace/Rename Astro.canonicalURL with new Astro.url helper (#3959)Gravatar Fred K. Schott 1-2/+3
* add Astro.url * Add examples of how to create the canonicalURL Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-07-12[ci] formatastro@1.0.0-beta.69@astrojs/vue@0.3.1@astrojs/vercel@0.2.6@astrojs/telemetry@0.3.1@astrojs/tailwind@0.2.4@astrojs/svelte@0.3.1@astrojs/solid-js@0.3.1@astrojs/sitemap@0.2.6@astrojs/react@0.3.1@astrojs/prefetch@0.0.5@astrojs/preact@0.4.1@astrojs/partytown@0.1.8@astrojs/node@0.1.6@astrojs/netlify@0.4.10@astrojs/mdx@0.1.1@astrojs/markdown-remark@0.11.5@astrojs/image@0.1.2@astrojs/deno@0.1.10@astrojs/cloudflare@0.2.4Gravatar matthewp 2-7/+7
2022-07-12Example blog rework (#3896)Gravatar Ben Holmes 15-428/+305
* refactor: restructure components, kill dead code * nit: tweak base styles * nit: remove unneeded code comments * refactor: replace unused permalink with canonicalURL * refactor: add missing prop types * feat: make markdown examples more interesting * chore: consistent semis and quotes * chore: astro check failures * fix: bad url prop * fix: bad frontmatter quote * chore: more dead styles * chore: add header gap * refactor: use tsx for likebutton * fix: restore post sorting * chore: remove unused flex-row util * fix: small md formatting on README * chore: run through astro-plugin-prettier * fix: revert to double quotes * fix: manually move style outside <body> * fix: update file tree in README * refactor: publish-date -> time * refactor: remove unused div and margin * refactor: publishDate -> time on layout * refactor: .heroImage -> img * refactor: .logo -> svg * feat: update social image, remove jpg * fix: remove prism stylesheet!
2022-07-08Format astro files in examples (#3862)Gravatar Marcus Otterström 6-39/+69
2022-05-11fix: updated blog template with existing address (#3312)Gravatar Gautier Ben Aïm 1-2/+2
2022-04-02update prettier width (#2968)Gravatar Fred K. Schott 1-3/+5