From 7dc61f0a62d69c1a189a7de5825037c10b4fb0f0 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Tue, 23 Feb 2021 14:29:55 +0300 Subject: fix broken links in art page forgot to include pic-path tempate to the art page --- _includes/art-menu.html | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/_includes/art-menu.html b/_includes/art-menu.html index 08a50d8..36ae9c9 100644 --- a/_includes/art-menu.html +++ b/_includes/art-menu.html @@ -1,14 +1,7 @@
{%- for page in site.pages -%} {%- assign pagedir = page.dir | remove_first: "/" | split: "/" -%} - {%- capture arts -%} - {%- for file in site.static_files -%} - {%- if file.art and file.path contains page.title -%} - {{ file.path }} - {%- endif -%} - {%- endfor -%} - {%- endcapture -%} - {% assign artpics = arts | strip_newlines | split: " " %} + {%- include pic-path.html -%} {%- if pagedir.first == "art" and pagedir.size > 1 -%}