Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonathan Bell
srctweb
Commits
239f03fb
Unverified
Commit
239f03fb
authored
Oct 18, 2017
by
Zach Knox
Browse files
side by side view for event and hero image on events page
parent
ed3066ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
srctweb/_layouts/category.html
View file @
239f03fb
...
...
@@ -13,10 +13,32 @@ layout: default
{% endif %}
<br
/>
<div
class=
"row"
>
{% if post.hero_image %}
<p><img
class=
"img-fluid"
src=
"{{ post.hero_image | absolute_url }}"
alt=
{{
post.hero_alt
}}
></p>
<div
class=
"col-md-6"
>
<p>
<img
class=
"img-fluid"
src=
"{{ post.hero_image | absolute_url }}"
alt=
{{
post.hero_alt
}}
>
</p>
</div>
<div
class=
"col-md-6"
>
<p>
{{ post.excerpt }}
</p>
<p>
<a
href=
"{{ post.url | absolute_url }}"
>
Read More
<i
class=
"fa fa-arrow-circle-right"
></i>
</a>
</p>
</div>
{% else %}
{{ post.excerpt }}
<p>
<a
href=
"{{ post.url | absolute_url }}"
>
Read More
<i
class=
"fa fa-arrow-circle-right"
></i>
</a>
</p>
{% endif %}
{{ post.excerpt }}
<p><a
href=
"{{ post.url | absolute_url }}"
>
Read More
<i
class=
"fa fa-arrow-circle-right"
></i></a></p
>
</div
>
<br
/>
{% endfor %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment