changed template image paths to use correct ones

This commit is contained in:
Henry Oswald 2014-07-28 12:50:56 +01:00
parent 24f140ed8b
commit d4be1ba7aa
3 changed files with 4 additions and 8 deletions

View file

@ -25,8 +25,7 @@ block content
.row .row
a(ng-href='{{hit.url}}') a(ng-href='{{hit.url}}')
.col-md-3 .col-md-3
img(src="https://d1hk1zhcb5hn6i.cloudfront.net/52fb8c6f34a287a85245b493/v/0/pdf-converted-cache/style-thumbnail") img(ng-src='{{hit.image_url}}')
//img(ng-src='{{hit.image_url}}')
.col-md-7 .col-md-7
h1(ng-bind-html='hit.name') h1(ng-bind-html='hit.name')
p(ng-bind-html='hit.description') p(ng-bind-html='hit.description')
@ -44,8 +43,7 @@ block content
-each template in tag.exampleTemplates -each template in tag.exampleTemplates
.col-md-3.template-thumbnail .col-md-3.template-thumbnail
a(href=template.templatePagePath ? template.templatePagePath : template.canonicalUrl).thumbnail a(href=template.templatePagePath ? template.templatePagePath : template.canonicalUrl).thumbnail
//- img(src=template.thumbnailUrl) img(src=template.thumbnailUrl)
img(src="https://d1hk1zhcb5hn6i.cloudfront.net/52fb8c6f34a287a85245b493/v/0/pdf-converted-cache/style-thumbnail")
div.caption div.caption
h3.txt-middle #{template.name} h3.txt-middle #{template.name}

View file

@ -14,7 +14,6 @@ block content
a(href=template.templatePagePath || template.canonicalUrl) a(href=template.templatePagePath || template.canonicalUrl)
.col-md-3.template-thumbnail .col-md-3.template-thumbnail
a(href=template.templatePagePath ? template.templatePagePath : template.canonicalUrl).thumbnail a(href=template.templatePagePath ? template.templatePagePath : template.canonicalUrl).thumbnail
//- img(src=template.thumbnailUrl) img(src=template.thumbnailUrl)
img(src="https://d1hk1zhcb5hn6i.cloudfront.net/52fb8c6f34a287a85245b493/v/0/pdf-converted-cache/style-thumbnail")
div.caption div.caption
h3 #{template.name} h3 #{template.name}

View file

@ -18,8 +18,7 @@ block content
.row .row
.col-md-12 .col-md-12
a(href=template.pdfUrl) a(href=template.pdfUrl)
//img(src="#{template.previewUrl}") img(src="#{template.previewUrl}")
img(src="https://d1hk1zhcb5hn6i.cloudfront.net/52fb89a333621a613683ec95/v/1/pdf-converted-cache/style-preview")
.col-md-6 .col-md-6
.template-details-section .template-details-section