all repos — aaoth.xyz @ 7dc61f0a62d69c1a189a7de5825037c10b4fb0f0

aaoth.xyz website

fix broken links in art page

forgot to include pic-path tempate to the art page
la-ninpre leobrekalini@gmail.com
Tue, 23 Feb 2021 14:29:55 +0300
commit

7dc61f0a62d69c1a189a7de5825037c10b4fb0f0

parent

97c19c29cd3b9d7d69e103b6b78cd299a6428086

1 files changed, 1 insertions(+), 8 deletions(-)

jump to
M _includes/art-menu.html_includes/art-menu.html

@@ -1,14 +1,7 @@

<div class="art-menu"> {%- 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 -%} <div class="art-category"> <a href="{{ page.url }}">