Aver is a modern and elegant Astro theme designed for portfolios and blogs. It features a sleek header, smooth scrolling, and a clean minimal design with dark-light mixed mode.
The theme files are structured as follows:
./theme-files
β
βββ public
β β
β βββ fonts
β β
β βββ images
β β
β βββ plugins
β
βββ src
β β
β βββ components
β β
β βββ config
β β
β βββ content
β β
β βββ layouts
β β
β βββ lib
β β
β βββ pages
β β
β βββ styles-plugin
β β
β βββ styles
β
βββ .gitignore
β
βββ astro.config.mjs
β
βββ package.json
β
βββ tsconfig.json
Checkout Official AstroJS Documentation if you need.
v18.17.1
or v20.3.0
, v22.0.0
or higher. ( v19
and v21
are not supported.)Nevigate to theme-files/
then open terminal and install dependencies by running
npm install
Run npm run dev
on your terminal and open http://localhost:4321
at your browser to see the local development preview
npm run dev
Open theme-files/src/config/site.config.json
Change Default settings with yours
{
"metaData": {
"title" : "Aver - Astrojs Portfolio and Blog Theme",
"description" : "Astrojs Portfolio and Blog Theme",
"ogImage" : "/images/ogimage.jpg",
"keywords" : "Astrojs, Portfolio, Astrojs Portfolio"
},
"logo" : "/images/logo.svg",
"logoText" : "Aver",
"favicon" : "/images/favicon.png",
"baseUrl" : "https://aver-astro.vercel.app/",
"basePath" : "/",
"trailingSlash" : false,
"settings" : {
"deviceIndicator" : false,
"pagination_limit" : 6
},
"socialLinks" : [
{
"name": "FB",
"fullName": "Facebook",
"link": "https://facebook.com/"
},
...
]
}
Open theme-files/src/config/menus.json
Customize(add or remove) menu Links by changing the name
and link
value
{
"mainMenu": [
{
"name": "Home",
"link": "/"
},
{
"name": "About",
"link": "/about"
},
...
],
"footerMenu": [
{
"name": "Imprint",
"link": "!#"
},
{
"name": "Privacy policy",
"link": "/privacy"
}
]
}
Update the Contact Page content by editing theme-files/src/content/pages/contact.mdx
file content.
Contact form works with https://formsubmit.co/
In contactForm
params, you will find contact_email
contact_email: "platoltheme@gmail.com"
We are using one Self Hosted Font
and one Google Font
Update the fonts form theme-files/src/layouts/Layout.astro
file Line no 45
and 49