diff --git a/README.md b/README.md index c2e3bb7..6b96aab 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,8 @@ Likely just me and a few friends. That said, anyone wanting a simple and lightwe - `SHOW_DATES`, turn on or off dates next to post titles - `DATE_STYLE`, php date format string for how dates should display - `SIMPLE_CSS`, turn on or off including of _simple.css_ (can also be adjusted in the admin screen: `/admin.php`) + - `INDEX_HEAD`, injects additional tags at the end of the `<head>` element for `index.php` + - `POST_HEAD`, injects additional tags at the end of the `<head>` element for `post.php` ## Installation and usage diff --git a/config.php b/config.php index bd1444c..cd91726 100644 --- a/config.php +++ b/config.php @@ -68,3 +68,27 @@ const DATE_STYLE = "m/d/y h:ia"; */ const SIMPLE_CSS = false; +/* + * Adds custom data to the element of the + * index.php page. This can be useful for linking + * to a favicon, additional stylesheets, javascript, + * etc. The element will already exist and + * this string will be injected after all other + * content. + */ +const INDEX_HEAD = false; + +/* + * Adds custom data to the element of the + * post.php page. This can be useful for linking + * to a favicon, additional stylesheets, javascript, + * etc. The element will already exist and + * this string will be injected after all other + * content. + * + * This CMS is not designed with SEO in mind and + * does not offer the ability to do per post meta + * data. + */ +const POST_HEAD = false; + diff --git a/index.php b/index.php index 8bab49a..b9063cb 100644 --- a/index.php +++ b/index.php @@ -16,6 +16,7 @@ + diff --git a/post.php b/post.php index fa09ef4..1a69607 100644 --- a/post.php +++ b/post.php @@ -27,6 +27,7 @@ +