diff options
author | Arno Richter <mail@arnorichter.de> | 2022-01-26 22:16:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 22:16:27 +0100 |
commit | af2791db7a1f4e1fff0b9a09956f705e7126a306 (patch) | |
tree | 867a5bbdb0b998e29b5286afb8e17259bb88dc56 | |
parent | 8999ab71aa99e0810d05ff4420cdca944b0936dc (diff) | |
parent | a54868024352a4de2bb54bf4805e5d5319d94195 (diff) | |
download | microblog-af2791db7a1f4e1fff0b9a09956f705e7126a306.tar.gz microblog-af2791db7a1f4e1fff0b9a09956f705e7126a306.tar.bz2 microblog-af2791db7a1f4e1fff0b9a09956f705e7126a306.zip |
Merge pull request #8 from jaquer/username-in-title
Added @username to title of pages. Also added post id to title of single post page.
-rw-r--r-- | single.inc.php | 2 | ||||
-rw-r--r-- | timeline.inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/single.inc.php b/single.inc.php index 1e97179..17e282e 100644 --- a/single.inc.php +++ b/single.inc.php @@ -8,7 +8,7 @@ ?><!DOCTYPE html> <html lang="<?= $config['language'] ?>" class="post"> <head> - <title>micro.blog</title> + <title><?= empty($config['microblog_account']) ? "" : $config['microblog_account'] . "'s " ?>micro.blog - entry #<?= $id ?></title> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" href="<?= $config['url'] ?>/microblog.css" /> </head> diff --git a/timeline.inc.php b/timeline.inc.php index c36b3bd..3b0581f 100644 --- a/timeline.inc.php +++ b/timeline.inc.php @@ -19,7 +19,7 @@ ?><!DOCTYPE html> <html lang="<?= $config['language'] ?>" class="timeline"> <head> - <title>micro.blog</title> + <title><?= empty($config['microblog_account']) ? "" : $config['microblog_account'] . "'s "; ?>micro.blog</title> <meta name="viewport" content="width=device-width" /> <link rel="alternate" type="application/json" title="JSON Feed" href="<?= $config['url'] ?>/feed.json" /> <link rel="stylesheet" href="<?= $config['url'] ?>/microblog.css" /> |