feat: bump version to 0.3.1 and set default titleFormat in gemtext config
This commit is contained in:
@@ -24,6 +24,9 @@ type SetupHookParams = HookParameters<"astro:config:setup"> & {
|
||||
}
|
||||
|
||||
export default function gemtext(config: GemtextConfig = {}): AstroIntegration {
|
||||
if (!config.titleFormat) {
|
||||
config.titleFormat = "first-heading"
|
||||
}
|
||||
return {
|
||||
name: "astro-gemtext",
|
||||
hooks: {
|
||||
|
||||
Reference in New Issue
Block a user