Pages directory: (see how they refer like Jekyll layouts with a heading)
In a layout file the title argument is defined. And it's referenced in the @title attribute on <Layout> in a page.
In a layout file we set a <slot/>, and on the page, we fill it with the structure we need.
The Typescript code from the old website works in Astro!
However some of the old functions do not work in the new static environment.
Issues with selecting page. On the old website, they were generating random @class values using React's select component. The class values look really weird as a result! We can now just use static human-readable @class values.
This could be converted to a Readme File later. But we'll just start some notes here. We are building on the Astro documentation.
Recommend we use
pnpm
to install, for better management of global package installation.Layout is similar to Jekyll. See
In a layout file the title argument is defined. And it's referenced in the
@title
attribute on<Layout>
in a page.In a layout file we set a
<slot/>
, and on the page, we fill it with the structure we need.The Typescript code from the old website works in Astro! However some of the old functions do not work in the new static environment.
@class
values using React's select component. The class values look really weird as a result! We can now just use static human-readable@class
values.