Skip to content

Commit

Permalink
init πŸ§‘β€πŸš€
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Apr 8, 2022
0 parents commit 4625859
Show file tree
Hide file tree
Showing 30 changed files with 12,927 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# build output
dist

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
/.vscode
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## force pnpm to hoist
shamefully-hoist = true
3 changes: 3 additions & 0 deletions .stackblitzrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"startCommand": "npm run dev"
}
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Daisy Blog

Simple blog template with Astro, Tailwind CSS, daisyUI

## Features

- Dark mode and light mode
- Markdown content
- Tailwind CSS and daisyUI included
- Tailwind CSS Typography plugin included
- Posts have date, author name, description and image
- SEO tags, meta tags, and social tags included
- Posts can be draft (only visible on development environment)
24 changes: 24 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import astroRemark from '@astrojs/markdown-remark';
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";

// https://astro.build/config
export default defineConfig(
/** @type {import('astro').AstroUserConfig} */
{
markdown: {
render: [astroRemark, {
remarkPlugins: [],
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', {
behavior: 'wrap'
}]],
shikiConfig: {
theme: 'poimandres',
langs: [],
wrap: false
}
}]
},
site: 'http://localhost:3000/',
integrations: [sitemap()]
});
Loading

0 comments on commit 4625859

Please sign in to comment.