https://github.com/officialrajdeepsingh/deno-markdown-blog
Create a static markdown blog with less than 5 minutes in deno
https://github.com/officialrajdeepsingh/deno-markdown-blog
deno denoblog denoland denomarkdownblog denostaticblog
Last synced: 7 months ago
JSON representation
Create a static markdown blog with less than 5 minutes in deno
- Host: GitHub
- URL: https://github.com/officialrajdeepsingh/deno-markdown-blog
- Owner: officialrajdeepsingh
- Created: 2022-09-08T12:48:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T11:55:13.000Z (over 2 years ago)
- Last Synced: 2025-02-28T11:22:42.502Z (7 months ago)
- Topics: deno, denoblog, denoland, denomarkdownblog, denostaticblog
- Language: JavaScript
- Homepage: https://deno-markdown-blog.deno.dev/
- Size: 6 MB
- Stars: 13
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
To create a static markdown blog with deno. You need a [blog module](https://deno.land/x/blog) to create a static blog with deno. I write full article on a static markdown blog.
## How to play with deno-markdown-blog
Firstly Clone repo `git clone https://github.com/officialrajdeepsingh/deno-markdown-blog.git` and run local development server with `deno task dev` command. For running the local and production development, you need create a `.env` file and add `URL` environment variable. In the `URL` environment variable, you need a production ready domain.```bash
// .envURL=https://deno-markdown-blog.deno.dev/
```The `URL` environment variable help to load you asset,image and icon with correct path in your blog. Understand with with a example
```typescript
// main.tsxblog({
avatar:`${Deno.env.get("URL")}assets/logos/profile.jpg`,
favicon: `${Deno.env.get("URL")}favicon.ico`,
cover:`${Deno.env.get("URL")}assets/logos/backgroundbanner.png`,
ogImage: {
url: `${Deno.env.get("URL")}assets/logos/Frame.png`,
twitterCard:"summary_large_image"
},
});```
## DEMO
