如何在 shopify 中阅读我页面上的博客条目

How can I read the blog entries on my page in shopify

对不起,我的技术语言很薄弱。我正在玩 Shopify 并遇到问题。

所以,问题是,我有一些 blog 条目,比如说推荐信。 我试图在每个 .

上显示这些推荐

这是我的示例博客条目

这是一个将使用博客条目的页面

 {% for article in blog.articles %}
    <ul class="news">
        <li><span class="testimonial">"{{ article.content }}"</span>
        <p class="author">{{ article.title }}</p>
        </li>
    </ul>
    {% endfor %}

我发现我无法访问我页面上的博客...当我尝试在页面上使用此代码访问博客条目时...它不起作用。但如果我在 'blog.xyz' 上使用它,它会起作用

so my problem is, how can I read the blog entries on any page. I am thank full to all the developers...

要访问自定义页面中的推荐,请使用此代码段(在上面的示例中,它应该放在 "page.rug-cleaning.liquid" 中):

{% for article in blogs.testimonials.articles %}
    <ul class="news">
        <li><span class="testimonial">"{{ article.content }}"</span>
        <p class="author">{{ article.title }}</p>
        </li>
    </ul>
{% endfor %}