templates/stackexchange.mustache in onebox-1.1.0 vs templates/stackexchange.mustache in onebox-1.2.0
- old
+ new
@@ -1,3 +1,19 @@
-<h1>{{title}}</h1>
-<h2 class="host">stackexchange.com</h2>
-<p>{{question}}</p>
+{{#owner.profile_image}}
+ <a href="{{owner.link}}" target="_blank">
+ <img alt="{{owner.display_name}}" src="{{owner.profile_image}}" class="thumbnail">
+ </a>
+{{/owner.profile_image}}
+<h4>
+ <a href="{{link}}" target="_blank">{{{title}}}</a>
+</h4>
+
+<div class="date">
+ asked by <a href="{{owner.link}}" target="_blank">
+ {{owner.display_name}}
+ </a>
+ on <a href="{{link}}" target="_blank">{{creation_date}}</a>
+</div>
+
+<div>
+ <strong>{{tags}}</strong>
+</div>