Commit ff2f50fd authored by Paul Hibbitts's avatar Paul Hibbitts

Theme updates.

parent 46ccc5b6
# v2.1.4
## 02/20/2018
1. [](#bugfix)
* Fixed handling of (optional) separate summary field for blog items with only a single line of text
# v2.1.3
## 02/13/2018
......
name: Course Hub Bootstrap
version: 2.1.3
version: 2.1.4
description: "A customized version of the Bootstrap theme (built with Bootstrap 3) for use with the Grav Course Hub skeleton package."
icon: university
author:
......
......@@ -97,7 +97,7 @@ class CourseHubBootstrap extends Theme
// if custom summary exists, use that instead of the default page summary
if (!empty($page->header()->item_summary)) {
$page->setRawContent(htmlspecialchars($page->header()->item_summary, ENT_QUOTES, 'UTF-8') . "\n{$delimiter}\n" . $page->getRawContent());
$page->setRawContent(htmlspecialchars($page->header()->item_summary, ENT_QUOTES, 'UTF-8') . "\n{$delimiter}\n\r" . $page->getRawContent());
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment