Skip to content

Commit 38aa011

Browse files
committed
Fix static site build
1 parent 0a691e0 commit 38aa011

File tree

5 files changed

+31
-27
lines changed

5 files changed

+31
-27
lines changed

astro.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ export default defineConfig({
1818
vite: {
1919
plugins: [yaml()]
2020
},
21+
image: {
22+
service: {
23+
entrypoint: 'astro/assets/services/noop'
24+
}
25+
},
2126
markdown: {
2227
remarkPlugins: [remarkHeadingId, remarkKramdownClasses],
2328
rehypePlugins: [[rehypeExternalLinks, {

package-lock.json

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/content/pages/letter.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: "An Open Letter to Google regarding Mandatory Developer Registration for Android App Distribution"
33
description: "Open Letter to Google Regarding Mandatory Developer Registration for Third-Party App Distribution"
44
lang: en
5-
id: letter
65
---
76

87
<style>

src/layouts/Letter.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const {
1313
title,
1414
lang,
1515
description,
16-
contact_header,
1716
} = Astro.props;
1817
1918
---

src/pages/[locale]/index.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export async function getStaticPaths() {
66
const pages = await getCollection('pages');
77
return pages
88
.filter((page) => page.slug !== 'en')
9+
.filter((page) => page.slug !== 'letter')
910
.map((page) => {
1011
// Use id (preserves original case: pt-BR, zh-CN, zh-TW)
1112
const locale = page.id.replace('/index.md', '');

0 commit comments

Comments
 (0)