diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-02-23 14:23:15 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-02-23 14:23:15 +0300 |
| commit | 97c19c29cd3b9d7d69e103b6b78cd299a6428086 (patch) | |
| tree | fb05035181fd025be40340ff75afe9798a589312 /_layouts | |
| parent | 25843593a10da466a1e769b8fdf17284e24d37e6 (diff) | |
| download | aaoth.xyz-97c19c29cd3b9d7d69e103b6b78cd299a6428086.tar.gz aaoth.xyz-97c19c29cd3b9d7d69e103b6b78cd299a6428086.zip | |
add categories to art page
whooah!
there is some tough liquid-tagging involved.
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/art-category.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/_layouts/art-category.html b/_layouts/art-category.html new file mode 100644 index 0000000..fb70a11 --- /dev/null +++ b/_layouts/art-category.html @@ -0,0 +1,18 @@ +--- +layout: default +--- + +<h1>{{ page.title }}</h1> + +{{ content }} + +{%- include pic-path.html -%} <!-- provides artpics array --> + +<div class="art"> +{%- for imgpath in artpics -%} + {% assign imgname = imgpath | split: "/" | last | split: "." | first %} + <div class="art-img"> + <img src="{{ imgpath }}" alt="{{ imgname }}"> + </div> +{% endfor %} +</div> |
