Skip to content

Commit

Permalink
Lazy-load iframes
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Sep 25, 2024
1 parent 04393cb commit 4cc2fd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blog/en/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Photo by [Oleg Laptev](https://unsplash.com/@snowshade?utm_content=creditCopyTex
Whether you are a chess instructor or a chess blogger, now you can keep your readers more engaged. ChesslaBlab's analysis board can be easily embedded into your blog posts as an HTML iframe. Here is a classical position showing how to play the Nimzo-Indian Defense after 1.d4 ♘f6 2.c4 e6 3.♘c3 ♗b4.

<iframe
loading="lazy"
title="E25 Nimzo-Indian Defense: Sämisch Variation, Keres Variation"
width="100%"
onload="resize(this)"
Expand All @@ -15,6 +16,7 @@ The Nimzo-Indian Defense is a popular response to White's d4. The Sämisch Varia
Also chess games can be embedded in Recursive Annotation Variation (RAV) format. This is an extension of the Standard Algebaric Notation (SAN) format that allows to annotate chess variations. It is especially useful for tutorials, notable games, chess studies and so on.

<iframe
loading="lazy"
title="Lasker - Capablanca World Championship"
width="100%"
onload="resize(this)"
Expand Down
2 changes: 2 additions & 0 deletions blog/es/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Foto de [Oleg Laptev](https://unsplash.com/@snowshade?utm_content=creditCopyText
Ya seas instructor de ajedrez o blogger de ajedrez, ahora puedes mantener a tus lectores más interesados. El tablero de análisis de ChesslaBlab se puede integrar fácilmente en las publicaciones de su blog como un iframe HTML. Aquí hay una posición clásica que muestra cómo jugar la Defensa Nimzoindia después de 1.d4 ♘f6 2.c4 e6 3.♘c3 ♗b4.

<iframe
loading="lazy"
title="E25 Nimzo-Indian Defense: Sämisch Variation, Keres Variation"
width="100%"
onload="resize(this)"
Expand All @@ -15,6 +16,7 @@ La Defensa Nimzoindia es una respuesta popular al d4 de las blancas. La Variaci
También es posible incorporar partidas de ajedrez en formato de Variación de Anotación Recursiva (RAV). Se trata de una extensión del formato de Notación Algebárica Estándar (SAN) que permite anotar variantes de ajedrez. Es especialmente útil para tutoriales, partidas destacadas, estudios de ajedrez, etc.

<iframe
loading="lazy"
title="Campeonato del mundo de Capablanca - Lasker"
width="100%"
onload="resize(this)"
Expand Down

0 comments on commit 4cc2fd4

Please sign in to comment.