diff options
author | Christian Cleberg <hello@cleberg.net> | 2023-06-01 10:48:03 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2023-06-01 10:48:03 -0500 |
commit | 14343865db323804feaef6fb49b6230d2d0aac05 (patch) | |
tree | 93c482ffec930a562636045ee3632782aeebde7e | |
parent | a87e0ca4d11601d10b81c30bff23d65be9d1ccd7 (diff) | |
download | hn-14343865db323804feaef6fb49b6230d2d0aac05.tar.gz hn-14343865db323804feaef6fb49b6230d2d0aac05.tar.bz2 hn-14343865db323804feaef6fb49b6230d2d0aac05.zip |
fix: incorrect canonical URL for homepage
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ if (empty($elements[0])) { 'Top' ); echo_html( - $GLOBALS['full_domain'] . '/top/', + $GLOBALS['full_domain'], 'The top stories from Hacker News, proxied by hn.', 'hn', $html_output @@ -23,7 +23,7 @@ if (empty($elements[0])) { 'Top' ); echo_html( - $GLOBALS['full_domain'] . '/top/', + $GLOBALS['full_domain'], 'The top stories from Hacker News, proxied by hn.', 'hn', $html_output |