Moving various things around and fixing some links

This commit is contained in:
Chris Hodapp
2020-04-29 19:18:58 -04:00
parent bb2cba781b
commit e3506f9f4c
2030 changed files with 5995 additions and 87 deletions

View File

@@ -44,6 +44,9 @@ Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
<div class="box{{ with .Get "caption-position" }} fancy-figure caption-position-{{.}}{{end}}{{ with .Get "caption-effect" }} caption-effect-{{.}}{{end}}" {{ with .Get "width" }}style="max-width:{{.}}"{{end}}>
<figure {{ with .Get "class" }}class="{{.}}"{{ end }} itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">
<!-- Prepending ../.. below is a hack to get around
https://github.com/gohugoio/hugo/issues/2744 when I don't
feel like setting baseURL and using absolute URLs. -->
<div class="img"{{ if .Parent }} style="background-image: url('../..{{ $thumb }}');"{{ end }}{{ with .Get "size" }} data-size="{{.}}"{{ end }}>
<img itemprop="thumbnail" src="{{ $thumb }}" {{ with .Get "alt" | default (.Get "caption" | markdownify) }}alt="{{.}}"{{ end }}/><!-- <img> hidden if in .gallery -->
</div>