onadrog / cmd_theme

"Cmd Theme" for astro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cmd Theme

A theme for astro.

home page blog posts list about page

Live Preview

Feat

  • Use Sass
  • Blog post pagination
  • Semantic / A11y ready

Usage

requirements

$ mv .env.example .env # set your site URL and base
$ pnpm install # install dependencies
$ pnpm run dev # run the dev env
$ pnpm run build # check astro and ts files and build your site
$ pnpm run build:prev # build the site without check and run the preview command

Site data

You must set the variables in the .env file ( rename .env.example to .env if you haven't already do that) You can modify default values in data/site.ts file.

Astroadd cli

You can use Astroadd-cli to create markdown files with auto generate frontmatter.

A11y / Semantics Resources

style guide

W3C

License Mit

About

"Cmd Theme" for astro

License:MIT License


Languages

Language:Astro 52.1%Language:SCSS 38.6%Language:TypeScript 9.1%Language:JavaScript 0.1%