Files
BlogEngine/vendor/blog-engine/php/Dictionary.php
T
2024-10-13 19:11:55 +02:00

32 lines
959 B
PHP

<?php
namespace BlogEngine {
if(!defined("BLOG_TITLE"))
require "_config.php";
class Dictionary {
public function PageTags() : array {
return [
"{POSTS}" => "",
"{LINKS}" => "",
"{FAVICON}" => (BLOG_ICON != ""?"<link rel='icon' type='image/png' href='" . BLOG_ICON . "' sizes='any'>":""),
"{KEYWORDS}" => BLOG_TAGS,
"{TITLE}" => BLOG_TITLE,
"{AUTHOR}" => BLOG_AUTHOR,
"{DESCRIPTION}" => BLOG_DESC,
"{JS}" => "",
"{CSS}" => ""
];
}
public function BlogTags() : array {
return [
"{POST_TITLE}" => "title",
"{POST_AUTHOR}" => "author",
"{POST_CONTENT}" => "content",
"{POST_ADDED}" => "added_at",
"{POST_VIEWS}" => "views"
];
}
}
}