~bfiedler/website

5c7bf6e9da1734dc470f2290f7c1b1cb50c88be0 — Ben Fiedler 1 year, 11 months ago 1cdf627
Open the analysis board in a new tab/page
1 files changed, 1 insertions(+), 1 deletions(-)

M layouts/shortcodes/fen.html
M layouts/shortcodes/fen.html => layouts/shortcodes/fen.html +1 -1
@@ 1,6 1,6 @@
{{ $fen := cond .IsNamedParams (.Get "pos") (.Get 0) }}
<figure class="fen">
  <a href="https://lichess.org/analysis/fromPosition/{{ $fen }}">
  <a href="https://lichess.org/analysis/fromPosition/{{ $fen }}" target="_blank">
  <div class="board{{ if (.Get "flip") }} flipped{{ end }}">
    {{- range $f := split $fen " " | first 1 }}
    {{- range $r := split $f "/" }}