Skip to content
Permalink
Browse files

Threw in a wide post layout idea but that's for another branch really

  • Loading branch information...
lowercasename committed Jun 15, 2019
1 parent b869c84 commit 3b20f942e1fa014618e40fe8fbea34f653dd3d16
Showing with 22 additions and 1 deletion.
  1. +0 −1 app/viewingSweet.js
  2. +22 −0 potential-wide-post-layout.md
@@ -996,7 +996,6 @@ module.exports = function (app) {
comment.parsedTimestamp = moment(comment.timestamp).format('D MMM YYYY');
}
if (comment.timestamp > latestTimestamp) {
console.log(comment.timestamp, "is newer than", latestTimestamp)
latestTimestamp = comment.timestamp;
displayedPost.lastCommentAuthor = comment.author;
}
@@ -0,0 +1,22 @@
<section class="content{{#if this.contentWarnings}} content-warning-post{{/if}}">
<div class="row-content-and-images row">
<div class="column-content col-md-6 mb-1 mb-md-0">
{{#if this.contentWarnings}}
<aside class="content-warning">
{{this.contentWarnings}}
</aside>
<div class="abbreviated-content content-warning-content" style="height:0">
{{/if}}
{{{this.parsedContent}}}
{{#if this.contentWarnings}}
</div>
<button type="button" class="button grey-button content-warning-show-more" data-state="contracted">Show post</button>
{{/if}}
</div>
<div class="column-images col-md-6">
{{#if this.images}}
{{> imagegallery }}
{{/if}}
</div>
</div>
</section>

0 comments on commit 3b20f94

Please sign in to comment.
You can’t perform that action at this time.