Skip to content

Commit

Permalink
fix: generate device and browser specific favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
thilobillerbeck committed Jan 13, 2025
1 parent bf72c37 commit 98ddce0
Show file tree
Hide file tree
Showing 4 changed files with 2,352 additions and 1,922 deletions.
27 changes: 15 additions & 12 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,24 @@ import icon from "astro-icon";
// theme derivated from https://raw.githubusercontent.com/shikijs/textmate-grammars-themes/main/packages/tm-themes/themes/vesper.json
import syntaxTheme from "./src/lib/shiki/theme.json";

import favicons from "astro-favicons";

// https://astro.build/config
export default defineConfig({
output: "static",
site: "https://nixos.org",
integrations: [
tailwind(),
mdx(),
sitemap(),
icon({
include: {
mdi: ["*"],
simpleIcons: ["*"],
},
}),
],
integrations: [tailwind(), mdx(), sitemap(), icon({
include: {
mdi: ["*"],
simpleIcons: ["*"],
},
}), favicons({
manifest: {
name: "Nix & NixOS | Declarative builds and deployments",
short_name: "Nix & NixOS",
start_url: "/",
}
})],
legacy: {
collections: true, // TODO: migrate to Content Layer API
},
Expand All @@ -32,4 +35,4 @@ export default defineConfig({
},
},
compressHTML: true,
});
});
Loading

0 comments on commit 98ddce0

Please sign in to comment.