Skip to content

Commit 04577af

Browse files
committed
wip
1 parent bc9e83a commit 04577af

28 files changed

+1830
-1384
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ pnpm-debug.log*
2525

2626
node_modules
2727

28-
public/admin
28+
public/admin
29+
30+
dist/

astro.config.mjs

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ import icon from "astro-icon";
55
import tailwind from "@astrojs/tailwind";
66
import sectionize from "@hbsnow/rehype-sectionize";
77
import expressiveCode from "astro-expressive-code";
8+
import partytown from '@astrojs/partytown'
9+
import sitemap from '@astrojs/sitemap';
10+
import { targetBlank } from './src/plugins/targetBlank';
811

912
// https://astro.build/config
1013
export default defineConfig({
14+
site: 'https://thealbert.dev',
1115
markdown: {
1216
// @ts-ignore
13-
rehypePlugins: [sectionize],
17+
rehypePlugins: [sectionize, [targetBlank, { domain: 'thealbert.dev' }]],
1418
},
1519
i18n: {
1620
defaultLocale: "es",
@@ -27,5 +31,16 @@ export default defineConfig({
2731
host: "0.0.0.0",
2832
port: 3000,
2933
},
30-
integrations: [icon(), tailwind(), expressiveCode(), mdx()],
34+
integrations: [
35+
icon(),
36+
tailwind(),
37+
expressiveCode(),
38+
sitemap(),
39+
partytown({
40+
config: {
41+
forward: ["dataLayer.push"],
42+
},
43+
}),
44+
mdx(),
45+
],
3146
});

0 commit comments

Comments
 (0)