diff options
author | jaquer <jaquer@users.noreply.github.com> | 2022-01-26 11:59:38 -0800 |
---|---|---|
committer | jaquer <jaquer@users.noreply.github.com> | 2022-01-26 11:59:38 -0800 |
commit | a54868024352a4de2bb54bf4805e5d5319d94195 (patch) | |
tree | cb768b7ff5157245e671cdc0faa0f16bdde328ff | |
parent | de148409fe5024e662ee79a9d6a67368b727ccfb (diff) | |
download | microblog-a54868024352a4de2bb54bf4805e5d5319d94195.tar.gz microblog-a54868024352a4de2bb54bf4805e5d5319d94195.tar.bz2 microblog-a54868024352a4de2bb54bf4805e5d5319d94195.zip |
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" /> |