lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model.slim in sculptor-0.0.2 vs lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model.slim in sculptor-0.0.3
- old
+ new
@@ -13,10 +13,11 @@
= title
- if locals[:description]
p._description = description
- url = locals[:url] ? locals[:url] : current_page.url
- ._standalone = link_to 'Standalone', url.sub('.html', '-full.html'), target: '_blank'
+ ._standalone = link_to url.sub('.html', '-full.html'), target: '_blank' do
+ i.fa.fa-external-link title="Standalone version"
section.glypto-model-stage
figure = html
= model_source(source_type) { source_code }