Add RelPermalink to pics
This commit is contained in:
parent
7a81623c3b
commit
541221b04a
14 changed files with 14 additions and 29 deletions
|
|
@ -1,17 +0,0 @@
|
|||
<div class="galerie-table">
|
||||
{{ range .TBody }}
|
||||
{{ $name := ((index . 0).Text | safeHTML ) }}
|
||||
{{ $link := ((index . 1).Text | safeURL ) }}
|
||||
<a href="{{ $link }}">
|
||||
<div class="galerie-entry">
|
||||
{{ if ne $link "" }}
|
||||
<img
|
||||
class="galerie-image"
|
||||
src="{{ $link }}"
|
||||
alt="{{ $name }}"
|
||||
/>
|
||||
{{ end }}
|
||||
</div>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue