Fix News image
This commit is contained in:
parent
efa381fcf6
commit
e1a38a4d3f
File diff suppressed because one or more lines are too long
|
@ -121,8 +121,7 @@
|
|||
<% categories.forEach(function (content) { %>
|
||||
<div style="float: left; width: 50%;">
|
||||
<div style="margin: 0; padding: 10px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news">
|
||||
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%= content.title %>" style="height: 160px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
|
||||
<div class="cinemapress-news-title">
|
||||
<%= content.title %>
|
||||
</div>
|
||||
|
|
|
@ -228,8 +228,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 50%;">
|
||||
<div style="margin: 0; padding: 10px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news">
|
||||
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%= content.title %>">
|
||||
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
|
||||
<div class="cinemapress-news-title">
|
||||
<%= content.title %>
|
||||
</div>
|
||||
|
|
|
@ -229,8 +229,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 50%;">
|
||||
<div style="margin: 0; padding: 10px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news">
|
||||
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%= content.title %>">
|
||||
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
|
||||
<div class="cinemapress-news-title">
|
||||
<%= content.title %>
|
||||
</div>
|
||||
|
|
|
@ -243,8 +243,7 @@
|
|||
<% news.forEach(function (content) { %>
|
||||
<div style="float: left; width: 100%;">
|
||||
<div style="margin: 0; padding: 10px 0;">
|
||||
<a href="<%- content.url %>" class="cinemapress-news">
|
||||
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%= content.title %>" style="height: 160px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
|
||||
<div class="cinemapress-news-title">
|
||||
<%= content.title %>
|
||||
</div>
|
||||
|
|
|
@ -237,8 +237,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 50%;">
|
||||
<div style="margin: 0; padding: 10px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news">
|
||||
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%= content.title %>">
|
||||
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
|
||||
<div class="cinemapress-news-title">
|
||||
<%= content.title %>
|
||||
</div>
|
||||
|
|
|
@ -229,8 +229,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 50%;">
|
||||
<div style="margin: 0; padding: 10px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news">
|
||||
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%= content.title %>">
|
||||
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
|
||||
<div class="cinemapress-news-title">
|
||||
<%= content.title %>
|
||||
</div>
|
||||
|
|
|
@ -228,8 +228,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 50%;">
|
||||
<div style="margin: 0; padding: 10px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news">
|
||||
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%= content.title %>">
|
||||
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
|
||||
<div class="cinemapress-news-title">
|
||||
<%= content.title %>
|
||||
</div>
|
||||
|
|
|
@ -228,8 +228,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 50%;">
|
||||
<div style="margin: 0; padding: 10px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news">
|
||||
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%= content.title %>">
|
||||
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
|
||||
<div class="cinemapress-news-title">
|
||||
<%= content.title %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue