Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Edit info displayed on blog page with Antimatter

Started by anarchocat 1 year ago · 5 replies · 73 views
1 year ago

I'm trying to find how I can edit the info displayed on the blog page (i.e. the page where all the articles are listed). More precisely, I'm trying to remove the title of the article from this page. I'm using the Antimatter theme

For instance, right now, I have the following info displayed :

TXT
Page title
Image (header)
Article title 
Part of the text

image|662x500

My question is : Is it possible to remove the article title from this page while keeping the title once you access the article ?

last edited 01/18/25 by anarchocat
1 year ago

I'm using Antimatter. I edited the post. Sorry for that :)

1 year ago

Based on the code, it seems like all this text comes either from your page.summary or page.content (lines 53-62)

1 year ago

Thanks ! I can confirm that it's where the modification should be done. However, I didn't find how to remove the title part. I'm not sure how the page.x works. I also tried a work around by modifying the custom.css file with the following lines:

CSS
.p-summary h1 {
    display: none;
}

But for some reason, the custom.css file doesn't seem to do anything for this. I'll write a post for that.

1 year ago

How does your MD file look like? I'm pretty sure you have a title directly in your content

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 64 17 hours ago
Support · by Anna, 3 days ago
2 68 20 hours ago
Support · by Justin Young, 21 hours ago
1 35 21 hours ago
Support · by Duc , 1 week ago
2 71 6 days ago
Support · by Colin Hume, 1 week ago
2 63 6 days ago