This is probably super-basic, but:
I’m using Ruby, and don’t want ANY tag to display above the title of each post on my homepage—mostly because all my posts basically use the same tag(s). So how do I Code Inject (presumably) to prevent that…or at least make each post title on my homepage MUCH bigger than the tag (the default is that post titles and tags are nearly the same size!).
Thank you!
You can add the following in code injection:
.home-template .post-tag {
display: none;
}
Hi, I am using Casper theme on my self hosted blog. I wanted to achieve the same as mentioned in the original question.
I have tried the following code using code injection but it did not work
.home-template .post-tag {
display: none;
}
Any help?
Thanks
Casper has different markup and uses a different classes.
This should work there:
.home-template .post-card-tags {
display: none;
}
Thats worked ! Thanks a lot>
I need another favour, I have created a different page to separate my posts with tags “blog” . I used the following Routes code, the code works and all the posts with tag “blog” lands on this page. However, I do not want the publication cover on this page. How do I disable the publication cover image on this page?
collections:
/:
permalink: /{slug}/
template: index
filter: tag:-blog
order: featured desc, published_at asc
/blog/:
permalink: /blog/{slug}/
template: blog
filter: tag:blog
order: featured desc, published_at desc
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
Thanks