mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 12:01:33 +02:00

- Implement dynamic post listing grouped by year with improved date formatting - Add reading time display for each post - Update index pages for both default and localized routes - Modify content utility functions to support reading time metadata - Refactor global styles and type definitions to support new features
19 lines
422 B
TypeScript
19 lines
422 B
TypeScript
import type { AttributifyAttributes } from '@unocss/preset-attributify'
|
|
|
|
declare global {
|
|
namespace astroHTML.JSX {
|
|
interface HTMLAttributes extends AttributifyAttributes {}
|
|
}
|
|
|
|
interface Document {
|
|
startViewTransition: (updateCallback: () => void) => ViewTransition
|
|
}
|
|
|
|
interface ViewTransition {
|
|
finished: Promise<void>
|
|
ready: Promise<void>
|
|
updateCallbackDone: Promise<void>
|
|
}
|
|
}
|
|
|
|
export {}
|