EveSunMaple/Frosti
Acerca de
Una plantilla de blog estático, limpia, elegante y rápida. 🚀 Desarrollada con Astro.
Desarrollo web y de aplicacionesWhat you can do
- ✅ Light / Dark mode available
- ✅ Super fast performance with excellent SEO
- ✅ View transition animations (using ClientRouter)
- ✅ Search functionality for your articles (using Pagefind)
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalA clean, elegant, and fast static blog template! 🚀 Built with Astro
🖥️ Frosti Demo / 🌏 Chinese README / ❤️ My Blog
📷 Preview

✨ Features
- ✅ Light / Dark mode available
- ✅ Super fast performance with excellent SEO
- ✅ View transition animations (using ClientRouter)
- ✅ Search functionality for your articles (using Pagefind)
- ✅ Responsive design built with Tailwind CSS and daisyUI
- ✅ RSS feed support
- 🛠️ Easy to use blog
- Customize your blog content in
frosti.config.yaml
- Customize your blog content in
💬 Comment System
- Tutorial (Waline)
- Custom styles (SCSS)
- This repo provides a default, site-matching comment stylesheet at
src/styles/waline.scss. You can use it as-is or modify it to fit your needs.
- This repo provides a default, site-matching comment stylesheet at
✒️ Article Information
| Name | Meaning | Required |
|---|---|---|
| title | Article title | Yes |
| description | Article description | Yes |
| pubDate | Publication date | Yes |
| image | Article cover image | No |
| categories | Article categories | No |
| tags | Article tags | No |
| badge | Article badge | No |
| draft | Draft status | No |
[!TIP]
- You can pin your article by setting the
badgeproperty toPin- Setting
draft: truewill mark the article as a draft, and it won't appear in the article list
⬇️ Usage
- Install pnpm package manager (if you haven't already)
npm i -g pnpm
- Clone the project
git clone https://github.com/EveSunMaple/Frosti.git Frosti
- Enter the project folder
cd Frosti
- Install dependencies
pnpm i
5. Debug and Run the Project
On first run or after updating content, execute search:index to generate the search index:
# Generate the search index for development use
pnpm run search:index
pnpm run dev
🔧 Configuration
Frosti uses frosti.config.yaml as its configuration file, where you can configure the website's basic information, navigation bar, footer, and more.
Website Basic Information (site)
site:
tab: Frosti # Text displayed in the browser tab
title: Frosti # Website title
description: A clean, elegant, and fast static blog template! # Website description for SEO
language: en # Website language code, e.g., "en" for English, "zh" for Chinese
favicon: /favicon.ico # Website favicon path
Theme Settings (theme)
theme:
light: winter # Light mode theme, based on daisyUI themes
dark: dracula # Dark mode theme, based on daisyUI themes
code: github-dark # Code block theme style
- Themes are based on options provided by daisyUI
- The daisyUI theme list is generated from this config on dev/build, so changing the theme names here is enough
- Code block themes use styles provided by Expressive Code
Date Format (date_format)
date_format: ddd MMM DD YYYY # Date display format
Menu Configuration (menu)
menu:
- id: home # Unique identifier for the menu item
text: Home # Text displayed in the menu
href: / # Link address
svg: "material-symbols:home-outline-rounded" # Icon
target: _self # Link target
Each menu item includes the following properties:
id: Unique identifiertext: Displayed texthref: Link addresssvg: Icon code using Iconify icon settarget: Link target (_selffor current window or_blankfor new window)
Sub-menu Items (subItems)
You can configure sub-menu items by adding subItems with the same format as main menu items.
User Information (user)
user:
name: EveSunMaple # Username
site: "https://example.com" # User website
avatar: /profile.png # User avatar
Social Media Configuration (social)
Sidebar and footer can have different social media links:
sidebar:
social:
- href: "https://github.com/username" # Link address
ariaLabel: Github # Accessibility label
title: Github # Tooltip on hover
svg: "ri:github-line" # Icon code
Icon Settings (icon)
Frosti uses Iconify as its icon library. You can search for icons you like on their website, then copy the icon code to the svg field in the configuration file.
Language Settings (language)
Frosti supports multiple languages, configured through:
- Setting the default language in
frosti.config.yaml:
site:
language: en # Set to "en" for English, "zh" for Chinese
- Managing all interface text translations in the
src/i18n/translations.yamlfile:
en: # English translations
label:
noTag: No tags assigned
tagCard: Tags
# Other English labels...
zh: # Chinese translations
label:
noTag: 未分配标签
tagCard: 标签
# Other Chinese labels...
Adding or Modifying Translations
To add new language support or modify existing translations:
- Add a new language code and corresponding translations in the
translations.yamlfile, or modify existing translations - Change
site.languageinfrosti.config.yamlto your preferred language code
🚀 Automatic Updates
To keep your project up to date with the latest version of Frosti, you can use the provided update script.
bash frosti.update.sh
This script will:
- Clone the latest version of the Frosti repository.
- Safely update your project files, adding and overwriting files based on the
.updateignorefile. - Intelligently delete files that have been removed from the official repository, without affecting your ignored files.
- Clean up any remaining empty folders and temporary files.
- Install or update dependencies using
pnpm.
👀 Issues
If you have any questions or suggestions, you can provide feedback or communicate with the developer by submitting Issues!
🎉 Acknowledgements
@Saicaca Their inspiration was the main reason I created this theme
@WRXinYue They helped me a lot when I was first getting started
Explorar proyectos relacionados
Cargando…