Show members-only posts in the post loop by default
This commit is contained in:
parent
f631f874f7
commit
35e68f6d3f
3 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@
|
|||
<div class="inner posts">
|
||||
|
||||
<div class="post-feed">
|
||||
{{#foreach posts}}
|
||||
{{#foreach posts visibility="all"}}
|
||||
|
||||
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
||||
{{> "post-card"}}
|
||||
|
|
|
@ -25,7 +25,7 @@ into the {body} of the default.hbs template --}}
|
|||
<div class="inner posts">
|
||||
|
||||
<div class="post-feed">
|
||||
{{#foreach posts}}
|
||||
{{#foreach posts visibility="all"}}
|
||||
|
||||
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
||||
{{> "post-card"}}
|
||||
|
@ -47,7 +47,7 @@ into the {body} of the default.hbs template --}}
|
|||
// Dropping the scroll event and using only a raf loop results in smoother
|
||||
// scrolling but continuous processing even when not scrolling
|
||||
$(document).ready(function () {
|
||||
|
||||
|
||||
var nav = document.querySelector('.site-nav-main .site-nav');
|
||||
var feed = document.querySelector('.post-feed');
|
||||
|
||||
|
|
2
tag.hbs
2
tag.hbs
|
@ -23,7 +23,7 @@
|
|||
<main id="site-main" class="site-main outer">
|
||||
<div class="inner posts">
|
||||
<div class="post-feed">
|
||||
{{#foreach posts}}
|
||||
{{#foreach posts visibility="all"}}
|
||||
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
|
|
Loading…
Reference in a new issue