lib/sculptor/templates/glyptotheque/source/glyptotheque/_model.slim in sculptor-0.0.11 vs lib/sculptor/templates/glyptotheque/source/glyptotheque/_model.slim in sculptor-0.0.11.1
- old
+ new
@@ -22,10 +22,10 @@
._standalone = link_to standalone_url, target: '_blank' do
i.fa.fa-external-link title="Standalone version"
section.glypto-model-stage
- if current_page.metadata.page.iframe
- iframe src="#{standalone_url}" height="0" width="100%" frameborder="0" scrolling="no" onload='javascript:resizeIframe(this);'
+ iframe src="#{url_for(standalone_url)}" height="0" width="100%" frameborder="0" scrolling="no" onload='javascript:resizeIframe(this);'
- else
figure = html
= partial 'glyptotheque/model-utils', locals: { html: html }