Skip to content

Commit

Permalink
Added opengraph
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmeister committed Dec 31, 2024
1 parent d461fcb commit 91137b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,15 @@ export default defineConfig({
title: "Diskrete Mathematik",
base: "/dm/",
description: "Interactive script",
lang: "en-US",
srcDir: 'docs',
head: [
['meta', { property: 'og:url', content: 'https://manuelmeister.github.io/dm/' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:title', content: 'Diskrete Mathematik' }],
['meta', { property: 'og:description', content: 'Skript von Ueli Maurer, digitalisiert von Studierenden' }],
['meta', { property: 'og:image', content: 'https://manuelmeister.github.io/dm/social.png'}],
],
sitemap: {
hostname: 'https://manuelmeister.github.io/dm/',
transformItems: (items) => {
Expand Down
Binary file added docs/public/social.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 91137b9

Please sign in to comment.