Jump to content

Meta Content Settings in Blog Settings

Recommended Posts

On my website, I have two pages using the blog template. One is actually used as a blog. The other is used as a portfolio page. The reason that I didn't setup my second page with the portfolio collection is that I wanted to use categories and tags to organize my portfolio sub-pages .

Here's my problem. I wanted my blog page to have its primary meta content set to categories and its secondary meta content set to date. Then I wanted my portfolio page to have its primary meta content set to categories and its secondary meta content set to none. It doesn't seem to allow me to have different meta content settings on these two pages. When I set these fields on one page, they are applied to the other page. Has anyone experienced the same issue? Is it a bug? I thought those settings should affect the instance you're working on, not all pages using blog. Any workaround?

 

Thank you.

Link to comment
  • Replies 5
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

On 10/15/2023 at 11:43 AM, Beecacher said:

@tuanphan Thanks for your suggestion. It works with a caveat. That's, once I am on a blog post and I click on the category, I will be taken to the original blog page with the posts tagged with that category, not to the page that uses the Summary Block with the posts tagged with that category. I know it is a small nuisance. Is there a way to fix it?

Thank you.


 

We can use code to change url of these meta links

Can you share link to page where you use Summary Block? We can check & give code to change url

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 weeks later...
On 10/28/2023 at 2:22 PM, Beecacher said:

@tuanphan Here's the URL to the page where uses the Summary Block.

Add to Website > Website Tools (under Not Linked) > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('.summary-metadata [href="/news?category=Team+Updates"]').attr('href','https://www.pragmaticprofessionalengineers.com/news');
});
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.