diff --git a/README.md b/README.md index 65788e6..327af67 100755 --- a/README.md +++ b/README.md @@ -53,6 +53,9 @@ Markdown document and it can be at any point. - `@csgen.displayAuthors = "true"` - `@csgen.enableComments = "true";` - `@csgen.addAuthor = "one author here";` +- `@csgen.author = "author1|author2|author3";` +- `@csgen.addTag = "one tag here";` +- `@csgen.tag = "tag1|tag2|tag3";` - `@csgen.markAsFeed = "false";` - `@csgen.includePage = "/blog/my-awesome-blog-post";` - `@csgen.redirectTo = "/blog/rss.xml";` @@ -81,6 +84,10 @@ There are also special csgen reserved endpoints. These are: - Additional items to prepend to the menu. - `/_404` - The error to display when no page was found for the endpoint. +- `/_css` + - Stylesheet to append. +- `/_js` + - JavaScript to append. ## License diff --git a/core.php b/core.php index a5e7705..fd18c4b 100755 --- a/core.php +++ b/core.php @@ -581,7 +581,16 @@ function printHeader($html, $printpage) { $endpointFound = 1; $html .= "\t\t$Header->data\n"; - break; + } + if ($head['endpoint'] == "/_css") { + $html .= "\n"; + } + if ($head['endpoint'] == "/_js") { + $html .= "\n"; } }