Show members-only posts in the post loop by default

This commit is contained in:
Sodbileg Gansukh 2021-01-05 15:47:56 +08:00
parent f631f874f7
commit 35e68f6d3f
3 changed files with 4 additions and 4 deletions

View File

@ -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"}}

View File

@ -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');

View File

@ -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}}