diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-02-23 14:29:55 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-02-23 14:29:55 +0300 |
| commit | 7dc61f0a62d69c1a189a7de5825037c10b4fb0f0 (patch) | |
| tree | 7247a0033187dba8322d7a38a789a23b0bd4a168 | |
| parent | 97c19c29cd3b9d7d69e103b6b78cd299a6428086 (diff) | |
| download | aaoth.xyz-7dc61f0a62d69c1a189a7de5825037c10b4fb0f0.tar.gz aaoth.xyz-7dc61f0a62d69c1a189a7de5825037c10b4fb0f0.zip | |
fix broken links in art page
forgot to include pic-path tempate to the art page
| -rw-r--r-- | _includes/art-menu.html | 9 |
1 files changed, 1 insertions, 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 @@ <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 }}"> |
