mirror of
https://tildegit.org/sbgodin/HtmGem.git
synced 2023-08-25 13:53:12 +02:00
Adds favicon and uses define() for a constant
This commit is contained in:
parent
c36e9347a6
commit
ef149dcad8
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -5,7 +5,7 @@ namespace htmgem\html;
|
||||
mb_internal_encoding("UTF-8");
|
||||
mb_regex_encoding("UTF-8");
|
||||
|
||||
$txt_icon = "H͜͡m ";
|
||||
define("TXT_ICON", "H͜͡m ");
|
||||
|
||||
function getHeader(\htmgem\GemtextTranslate_html $gt_html) {
|
||||
$css = $gt_html->getCss();
|
||||
@ -36,7 +36,6 @@ function array_key_last_slice($array) {
|
||||
* @param $pageLink if not null, means no URL rewritting
|
||||
*/
|
||||
function getMenu(string $scheme, string $domain, string $path, string $prefix=null) {
|
||||
global $txt_icon;
|
||||
$links = \htmgem\split_path_links($path, $prefix);
|
||||
|
||||
// Removes the last part, as it won't hold a link
|
||||
|
Loading…
x
Reference in New Issue
Block a user