feat: bump version to 0.3.1 and set default titleFormat in gemtext config

This commit is contained in:
aspizu
2025-03-10 04:15:52 +05:30
parent b04c5eb7f7
commit ac5a1f0529
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "astro-gemtext",
"homepage": "https://github.com/aspizu/astro-gemtext",
"version": "0.3.0",
"version": "0.3.1",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
+3
View File
@@ -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: {