πŸ“¦ toddLiao469469 / todd-dev-log

β˜… 0 stars β‘‚ 0 forks πŸ‘ 0 watching βš–οΈ MIT License
πŸ“₯ Clone https://github.com/toddLiao469469/todd-dev-log.git
HTTPS git clone https://github.com/toddLiao469469/todd-dev-log.git
SSH git clone git@github.com:toddLiao469469/todd-dev-log.git
CLI gh repo clone toddLiao469469/todd-dev-log
Loading files...
πŸ“„ README.md

πŸ₯Fuwari

A static blog template built with Astro.

πŸ–₯️ Live Demo (Vercel)   /    πŸ“¦ Old Hexo Version   /    🌏 δΈ­ζ–‡   /    🌏 ζ—₯本θͺž   /    🌏 ν•œκ΅­μ–΄   /    🌏 EspaΓ±ol   /    🌏 ΰΉ„ΰΈ—ΰΈ’

README version: 2024-09-10
Preview Image

✨ Features

  • Built with Astro and Tailwind CSS
  • Smooth animations and page transitions
  • Light / dark mode
  • Customizable theme colors & banner
  • Responsive design
  • Comments
  • Search
  • TOC

πŸš€ How to Use

  • Generate a new repository from this template or fork this repository.
  • To edit your blog locally, clone your repository, run pnpm install AND pnpm add sharp to install dependencies.
  • Install pnpm npm install -g pnpm if you haven't.
  • Edit the config file src/config.ts to customize your blog.
  • Run pnpm new-post <filename> to create a new post and edit it in src/content/posts/.
  • Deploy your blog to Vercel, Netlify, GitHub Pages, etc. following the guides. You need to edit the site configuration in astro.config.mjs before deployment.

βš™οΈ Frontmatter of Posts

---
title: My First Blog Post
published: 2023-09-09
description: This is the first post of my new Astro blog.
image: ./cover.jpg
tags: [Foo, Bar]
category: Front-end
draft: false
lang: jp      # Set only if the post's language differs from the site's language in `config.ts`
---

🧞 Commands

All commands are run from the root of the project, from a terminal:

CommandAction
pnpm install AND pnpm add sharpInstalls dependencies
pnpm devStarts local dev server at localhost:4321
pnpm buildBuild your production site to ./dist/
pnpm previewPreview your build locally, before deploying
pnpm new-post <filename>Create a new post
pnpm astro ...Run CLI commands like astro add, astro check
pnpm astro --helpGet help using the Astro CLI