Format with prettier
This commit is contained in:
29
README.md
29
README.md
@ -47,7 +47,6 @@
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
### Project structure
|
### Project structure
|
||||||
@ -130,17 +129,17 @@ Basic configuration file: `./src/config.mjs`
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
export const SITE = {
|
export const SITE = {
|
||||||
name: "Example",
|
name: 'Example',
|
||||||
|
|
||||||
origin: "https://example.com",
|
origin: 'https://example.com',
|
||||||
basePathname: "/", // Change this if you need to deploy to Github Pages, for example
|
basePathname: '/', // Change this if you need to deploy to Github Pages, for example
|
||||||
trailingSlash: false, // Generate permalinks with or without "/" at the end
|
trailingSlash: false, // Generate permalinks with or without "/" at the end
|
||||||
|
|
||||||
title: "Example - This is the homepage title of Example",
|
title: 'Example - This is the homepage title of Example',
|
||||||
description: "This is the homepage description of Example",
|
description: 'This is the homepage description of Example',
|
||||||
|
|
||||||
googleAnalyticsId: false, // or "G-XXXXXXXXXX",
|
googleAnalyticsId: false, // or "G-XXXXXXXXXX",
|
||||||
googleSiteVerificationId: false // or some value,
|
googleSiteVerificationId: false, // or some value,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const BLOG = {
|
export const BLOG = {
|
||||||
@ -167,8 +166,6 @@ export const BLOG = {
|
|||||||
pathname: 'tag', // set empty to change from /tag/some-tag to /some-tag
|
pathname: 'tag', // set empty to change from /tag/some-tag to /some-tag
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
@ -199,24 +196,23 @@ Clone this repository on own GitHub account and deploy to Vercel:
|
|||||||
|
|
||||||
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fonwidget%2Fastrowind)
|
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fonwidget%2Fastrowind)
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
- *Project*:
|
- _Project_:
|
||||||
- Create simple and clear strategy to get template updates
|
- Create simple and clear strategy to get template updates
|
||||||
- Move specific configurations to a specialized file
|
- Move specific configurations to a specialized file
|
||||||
- *Blog*:
|
- _Blog_:
|
||||||
- Improve blog design
|
- Improve blog design
|
||||||
- Create component or utilities for latest posts
|
- Create component or utilities for latest posts
|
||||||
- Create component or utilities for related posts
|
- Create component or utilities for related posts
|
||||||
- Add more *shortcodes* or *embed* functions to posts in Markdown: (eg video, tweet...)
|
- Add more _shortcodes_ or _embed_ functions to posts in Markdown: (eg video, tweet...)
|
||||||
- *More widgets*:
|
- _More widgets_:
|
||||||
- Add more Tailwind components useful for most scenarios (Features, Contact, Call to Actions, Content, FAQs ...)
|
- Add more Tailwind components useful for most scenarios (Features, Contact, Call to Actions, Content, FAQs ...)
|
||||||
- Create external library or place with useful Tailwind components
|
- Create external library or place with useful Tailwind components
|
||||||
- *More Examples*: Add commonly used example pages (Ex: About, Terms, Services...)
|
- _More Examples_: Add commonly used example pages (Ex: About, Terms, Services...)
|
||||||
- *Documentation*: Create detailed documentation with best practices and redesign tips
|
- _Documentation_: Create detailed documentation with best practices and redesign tips
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
@ -226,7 +222,6 @@ Clone this repository on own GitHub account and deploy to Vercel:
|
|||||||
-
|
-
|
||||||
-
|
-
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
publishDate: "Aug 08 2022"
|
publishDate: 'Aug 08 2022'
|
||||||
title: "AstroWind template in depth"
|
title: 'AstroWind template in depth'
|
||||||
description: "Ornare cum cursus laoreet sagittis nunc fusce posuere per euismod dis vehicula a, semper fames lacus maecenas dictumst pulvinar neque enim non potenti. Torquent hac sociosqu eleifend potenti."
|
description: 'Ornare cum cursus laoreet sagittis nunc fusce posuere per euismod dis vehicula a, semper fames lacus maecenas dictumst pulvinar neque enim non potenti. Torquent hac sociosqu eleifend potenti.'
|
||||||
image: "~/assets/images/hero.jpg"
|
image: '~/assets/images/hero.jpg'
|
||||||
category: "Tutorials"
|
category: 'Tutorials'
|
||||||
tags: [astro, tailwind css, front-end]
|
tags: [astro, tailwind css, front-end]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
publishDate: "Aug 12 2022"
|
publishDate: 'Aug 12 2022'
|
||||||
title: "Get started with AstroWind to create a website using Astro and Tailwind CSS"
|
title: 'Get started with AstroWind to create a website using Astro and Tailwind CSS'
|
||||||
description: "Lorem ipsum dolor sit amet"
|
description: 'Lorem ipsum dolor sit amet'
|
||||||
excerpt: "Sint sit cillum pariatur eiusmod nulla pariatur ipsum. Sit laborum anim qui mollit tempor pariatur nisi minim dolor. Aliquip et adipisicing sit sit fugiat"
|
excerpt: 'Sint sit cillum pariatur eiusmod nulla pariatur ipsum. Sit laborum anim qui mollit tempor pariatur nisi minim dolor. Aliquip et adipisicing sit sit fugiat'
|
||||||
image: "~/assets/images/steps.jpg"
|
image: '~/assets/images/steps.jpg'
|
||||||
category: "Tutorials"
|
category: 'Tutorials'
|
||||||
tags: [astro, tailwind css]
|
tags: [astro, tailwind css]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
publishDate: "Aug 10 2022"
|
publishDate: 'Aug 10 2022'
|
||||||
title: "How to customize AstroWind template to suit your branding"
|
title: 'How to customize AstroWind template to suit your branding'
|
||||||
description: "Sint sit cillum pariatur eiusmod nulla pariatur ipsum. Sit laborum anim qui mollit tempor pariatur nisi minim dolor. Aliquip et adipisicing sit sit fugiat"
|
description: 'Sint sit cillum pariatur eiusmod nulla pariatur ipsum. Sit laborum anim qui mollit tempor pariatur nisi minim dolor. Aliquip et adipisicing sit sit fugiat'
|
||||||
image: "~/assets/images/colors.jpg"
|
image: '~/assets/images/colors.jpg'
|
||||||
tags: [astro, tailwind css, theme]
|
tags: [astro, tailwind css, theme]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
publishDate: "Aug 09 2022"
|
publishDate: 'Aug 09 2022'
|
||||||
title: "Useful tools and resources to create a professional website"
|
title: 'Useful tools and resources to create a professional website'
|
||||||
description: "Nibh senectus lacinia volutpat nostra taciti ac posuere, dictum ultricies dictumst luctus in vehicula, mus molestie venenatis penatibus ridiculus elementum. Phasellus sollicitudin dignissim parturient."
|
description: 'Nibh senectus lacinia volutpat nostra taciti ac posuere, dictum ultricies dictumst luctus in vehicula, mus molestie venenatis penatibus ridiculus elementum. Phasellus sollicitudin dignissim parturient.'
|
||||||
image: "~/assets/images/tools.jpg"
|
image: '~/assets/images/tools.jpg'
|
||||||
tags: [front-end, tools, resources]
|
tags: [front-end, tools, resources]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ const image =
|
|||||||
url: image.toString(),
|
url: image.toString(),
|
||||||
alt: ogTitle,
|
alt: ogTitle,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
: undefined,
|
: undefined,
|
||||||
// site_name: 'SiteName',
|
// site_name: 'SiteName',
|
||||||
}}
|
}}
|
||||||
|
@ -5,5 +5,5 @@ export const getFormattedDate = (date) =>
|
|||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
month: 'short',
|
month: 'short',
|
||||||
day: 'numeric',
|
day: 'numeric',
|
||||||
})
|
})
|
||||||
: '';
|
: '';
|
||||||
|
Reference in New Issue
Block a user