Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
eth-landing-page
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Erick Hitter
eth-landing-page
Commits
e7b67a7e
Verified
Commit
e7b67a7e
authored
Dec 26, 2016
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render thumbnail when present
parent
fd06fc1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
public/js/main.js
public/js/main.js
+0
-1
render/partials/post-image.handlebars
render/partials/post-image.handlebars
+7
-1
No files found.
public/js/main.js
View file @
e7b67a7e
...
...
@@ -10,5 +10,4 @@
}
}
);
}
);
}
)
(
jQuery
);
render/partials/post-image.handlebars
View file @
e7b67a7e
<h3><a
href=
"
{{
data
.
post
.
link
}}
"
>
{{{
data
.
post
.
title
.
rendered
}}}
</a></h3>
{{{
data
.
post
.
content
.
rendered
}}}
{{#if
data
.
post
.
medium_image
}}
<div
class=
"featured-image"
>
<a
href=
"
{{
data
.
post
.
link
}}
"
><img
src=
"
{{{
data
.
post
.
medium_image
}}}
"
/></a>
</div>
{{/if}}
{{{
data
.
post
.
excerpt
.
rendered
}}}
<p><a
href=
"
{{
data
.
post
.
link
}}
"
>
See more at
{{
data
.
domain
}}
→
</a></p>
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