AstroRebut is a minimal, responsive, accessible and SEO-friendly Astro blog theme. This theme is designed and crafted based as a proyect.
This theme no follows best practices and provides accessibility out of the box. It has not got Light and dark mode by default.
This theme is self-documented _ which means articles/posts in this theme can also be considered as documentations.
- super fast performance
- accessible (Keyboard/VoiceOver)
- responsive (mobile ~ desktops)
- SEO-friendly
- draft posts & pagination
- highly customizable
Inside of AstroPaper, you'll see the following folders and files:
/
├── public/
│ ├── assets/
│ │ └── favicon.svg
├── src/
│ ├── assets/
│ │ └── logo.png
│ │ └── undrawpic.svg
│ │ └── undrawpic2.svg
│ ├── components/
│ ├── contents/
│ │ └── Button.astro
│ │ └── Card.astro
│ │ └── ContentPosts.astro
│ │ └── Footer.astro
│ │ └── Headerprincipal.astro
│ │ └── PageTitle.astro
│ │ └── PostsShowSeccion.astro
│ │ └── seccionsShow.astro
│ ├── css/
│ │ └── base.css
│ │ └── styles.css
│ │ └──
│ └── layouts/
│ │ └── indexLayout.astro
│ │ └── postsLayout.astro
│ └── pages/
│ │ └── about/
│ │ │ └── index.astro
│ │ └── blog/
│ │ │ └── javascript/
│ │ │ │ └── index.astro
│ │ │ └── python/
│ │ │ │ └── index.astro
│ │ │ └── posts/
│ │ │ │ └── firstPost.md
│ │ │ └── index.astro
│ └──-└── index.astro
│── astro.config.mjs
│── package-lock.json
│── package.json
│── seccionsPost.json
│── tailwind.config.cjs
│── tsconfig.json
└── package.json
Astro looks for .astro
or .md
files in the src/pages/posts
directory. Each page is exposed as a route based on its file name.
Any static assets, like images, can be placed in the public/
directory.
All blog posts are stored in src/page/blog/posts
directory.
Main Framework - Astro
Styling - TailwindCSS
UI/UX - Imagination
Icons - Boxicons | Tablers
Code Formatting - Prettier
Illustration in About Page - [https://undraw.co/)
The easiest way to run this project locally is to run the following command in your desired directory.
# npm 6.x
npm create astro@latest
# npm 7+, extra double-dash is needed:
npm create astro@latest
# yarn
yarn create astro
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run format:check |
Check code format with Prettier |
npm run format |
Format codes with Prettier |
npm run cz |
Commit code changes with commitizen |
npm run astro ... |
Run CLI commands like astro add , astro preview |
npm run astro --help |
Get help using the Astro CLI |
If you have any suggestions/feedback, you can contact me via my email. Alternatively, feel free to open an issue if you find bugs or want to request new features.
Licensed under the MIT License, Copyright © 2023