mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-03 22:39:44 +03:00 
			
		
		
		
	- Added ogImages integration to generate Open Graph images for blog posts. - Updated configuration to include Open Graph settings and default preview image. - Refactored Head component to utilize new preview property for Open Graph meta tags. - Enhanced blog post schema to include preview image for structured data representation. - Introduced utility functions for creating Open Graph images with dynamic content.
		
			
				
	
	
		
			20 lines
		
	
	
		
			477 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			477 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import { defineConfig } from "astro/config";
 | 
						|
import { remarkReadingTime } from "./src/plugins/remarkReadingTime";
 | 
						|
import ogImages from "./src/integrations/ogImages";
 | 
						|
import sitemap from "@astrojs/sitemap";
 | 
						|
 | 
						|
export default defineConfig({
 | 
						|
	site: "https://popov.link",
 | 
						|
	output: "static",
 | 
						|
	integrations: [sitemap(), ogImages()],
 | 
						|
	build: {
 | 
						|
		inlineStylesheets: "always",
 | 
						|
	},
 | 
						|
	markdown: {
 | 
						|
		remarkPlugins: [remarkReadingTime],
 | 
						|
		shikiConfig: {
 | 
						|
			theme: "vitesse-dark",
 | 
						|
		},
 | 
						|
	},
 | 
						|
});
 |