# Which Slidev deck projects onto which site pages. # # One source, N pages: the deck is not translated, so a single capture feeds both the # es and en surfaces — they differ only in slug and frontmatter, never in body. { decks = [ { source = "ontology_slides.md", # relative to outreach/presentation/ id = "ontoref-ontologia-reflexion", pages = [ { lang = "es", slug = "ontoref-ontologia-reflexion" }, { lang = "en", slug = "ontoref-ontology-and-reflection" }, ], }, ], # Classes the site is entitled to carry INTO the deck. Everything else of the site's # is reverted at the boundary. `gloss-`: the glossary decorates deck text — the whole # point of the projection. `deck-`: the projection's own chrome (card, switcher, zoom). boundary_allow = ["[class*=\"gloss-\"]", "[class*=\"deck-\"]"], # Slidev's native slide geometry. The WIDTH is the scaling base; the height is only a # floor — 12 of 16 slides in this deck hold more than 552px, so the card grows to its # measured content instead of cutting it. slide = { width = 980, height = 552 }, # The chrome is the SITE's UI, so it speaks the page's language. One capture, N pages: # the deck body is shared, the wrapper around it is not. i18n = { es = { read = "Leer todo", slider = "Diapositivas", index = "Índice", index_head = "Índice", slides = "diapositivas", prev = "Anterior", next = "Siguiente", zoom = "Ampliar diapositiva", slide = "Diapositiva", aria = "Deck de %n diapositivas. Con el foco puesto, las flechas o la barra espaciadora navegan.", }, en = { read = "Read all", slider = "Slides", index = "Index", index_head = "Index", slides = "slides", prev = "Previous", next = "Next", zoom = "Enlarge slide", slide = "Slide", aria = "Deck of %n slides. With focus on it, arrows or the space bar navigate.", }, }, }