Skip to content

Commit

Permalink
♻️ refactor (README): update
Browse files Browse the repository at this point in the history
  • Loading branch information
dofbi committed Apr 6, 2024
1 parent 17b6826 commit 03e6a18
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This theme is built upon a theme called [simple-blog](https://github.com/10mohi6

## Features

- based on [bootstrap](https://getbootstrap.com/)
- content
- pagination
- tags
- categories
Expand All @@ -38,30 +38,27 @@ Feel free to check [our documentation](https://github.com/withastro/astro) or ju

## Site Configuration

```cjs
// src/config.cjs
// Web site base url
siteBaseUrl: '/',
// Web site language
siteLanguage: "en",
//Web site title. It is visible in sidebar and browser
siteTitle: "Astro Themes",
//Web site desciption. It is visible in sidebar. Also added head meta data.
siteDescription: "<your site description>",
//Override footer text.
siteCopyright: "© 2020 copyright text.",
//Site global date format. [dayjs](https://day.js.org/docs/en/display/format)
dateFormat: "MMMM D, YYYY",
// Pagination number of posts per page
paginate: 6,
//Customize the menu
memus:[
```json
{
"site": {
"baseUrl": "/",
"language": "en",
"title": "Astro Themes",
"description": "<your site description>",
"copyright": "© 2024 copyright text."
},
"memus":[
{
identifier: "about",
name: "About",
url: "/about/",
"identifier": "about",
"name": "About",
"url": "/about/"
}
],
"settings": {
"pagination": 6,
"blog_folder": "posts"
}
}
```

## Support
Expand Down

0 comments on commit 03e6a18

Please sign in to comment.