wip
This commit is contained in:
parent
d15c7be6af
commit
e4374e3f74
5 changed files with 58 additions and 5 deletions
13
layouts/galerie/_markup/render-table.html
Normal file
13
layouts/galerie/_markup/render-table.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<div class="galerie-table">
|
||||
{{ range .TBody }}
|
||||
{{ $name := ((index . 0).Text | safeHTML ) }}
|
||||
{{ $link := ((index . 1).Text | safeURL ) }}
|
||||
|
||||
|
||||
<div class="galerie-entry">
|
||||
{{ if ne $link "" }}
|
||||
<img class="galerie-image" src="{{ $link }}" alt="{{ $name }}" />
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
5
layouts/galerie/single.html
Normal file
5
layouts/galerie/single.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{{ define "main" }}
|
||||
<div class="galerie">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue