diff options
Diffstat (limited to 'lib/partials/header.p')
| -rw-r--r-- | lib/partials/header.p | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/partials/header.p b/lib/partials/header.p new file mode 100644 index 0000000..84e59d1 --- /dev/null +++ b/lib/partials/header.p @@ -0,0 +1,21 @@ +@USE +picture.p + +@header[brand] +$pokepi[ + $.[image/webp][/img/pokepi.webp] + $.[image/png][/img/pokepi.png] +] + +<header class="header clearfix" role="presentation"> + ^picture[$pokepi;image/png; + $.alt[Мой покепи] + $.class[pokepi] + ] + <h1 class="brand"> + ^for[i](0;^brand.length[] - 1){ + <span class="letter">^brand.mid($i;1)</span> + } + </h1> +</header> +#end @header[] |
