feat: bump version to 0.3.1 and set default titleFormat in gemtext config
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
@@ -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