Get blog name from article object

Brian_Humes
New Member
1 0 0

Hello,

Is it possible to retrieve the blog name from an article object?

Thanks!

0 Likes
cfx
Excursionist
16 1 4

I want to do this too. Did you ever figure it out? The Blog is a setting in each Article so I would think it would be possible.

0 Likes
Taz_Khan
Shopify Partner
12 0 2

use use "blog"

Taz Khan , Shopify Partner, Contact me here: https://www.facebook.com/maahirsystems/
http://pph.me/maahir-systems
0 Likes
elvonkh
New Member
1 0 0
You can extract it from article.handle (In code below article assigned as featuredArticle)

 

{% assign blogTitle = featuredArticle.handle | split: '/' %}
      <h5 class="gold">{{ blogTitle[0] }}</h5>

 

0 Likes