Skip to content

Commit 0d3da7d

Browse files
authored
Update posts.php
1 parent a1d9b98 commit 0d3da7d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

posts.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
$summary = strip_tags((string) $entry->summary); // Remove any HTML tags for a clean summary
3030

3131
// Append each entry to the posts list
32-
$posts .= sprintf("\n* **[%s]** [%s](%s \"%s\")\n > %s", $date, $title, $link, $title, $summary);
32+
//$posts .= sprintf("\n* **[%s]** [%s](%s \"%s\")\n > %s", $date, $title, $link, $title, $summary);
33+
$posts .= sprintf("\n* **[%s]** [%s](%s \"%s\")\n%s\n\n", $date, $title, $link, $title, trim($summary));
34+
3335
}
3436

3537
// Load README.md content

0 commit comments

Comments
 (0)