Home

This file

src/pages/index.mdx

This shows your index page can be Markdown. There is no index.astro
Nested lists can be hard work in HTML.
# comments can be included in mdx frontmatter

General

This site is for testing everything to do with a blog

CSS

I’m still exploring global stylesheet vs. <style> and <style is:global> within Astro files

<ul>

I’ve added src/styles/astro-blog.css including ul {list-style-type:disc;} and included this in Layout.astro.
I never want the alternating bullet, circle square default.

Test pages

.md file with all the features I need
Test .astro file
Test .mdx file

These could be beefed up as new techniques are discovered.

Images and galleries

Single image .mdx file. Probably never used literally.
Simple gallery .mdx file with Fancybox behaviour. Hardcoded HTML.
Simple gallery .mdx file using FlexGallery component.

Git log

When sorting out the RSS feed for astro-wpress I had to make many small commits and pushes. I thought about squashing the local Git log to tidy it up, but because the Cloudflare build log matches the pushes, and is immutable, it’s best to keep all the local commits, so local → GitHub → Cloudflare remain 1:1

WordPress REST API

Early experiment en-route to astro-wpress
Can’t link to posts.
Fancybox doesn’t work in posts with galleries.
See astro-wpress.ncvp.me for thorough workout.

404

Supplied with blog starter template
Quite interesting, including a search box. Investigate.

Changes to original template

Replace BaseHead.astro with Layout.astro from astro-test. <BaseHead> seems to be mainly about SEO.