diff options
author | Arno Richter <oelna@oelna.de> | 2022-12-21 15:05:28 +0100 |
---|---|---|
committer | Arno Richter <oelna@oelna.de> | 2022-12-21 15:05:28 +0100 |
commit | 482fd7adee5e9e0990bf5904ed7d754d315de649 (patch) | |
tree | 7523a6f3482b6cb024624310f21fa7eeb05e9866 /snippets | |
parent | 057cace8b32e6c3d105695b517eae262071601f4 (diff) | |
download | microblog-482fd7adee5e9e0990bf5904ed7d754d315de649.tar.gz microblog-482fd7adee5e9e0990bf5904ed7d754d315de649.tar.bz2 microblog-482fd7adee5e9e0990bf5904ed7d754d315de649.zip |
first attempt at image attachments!
Diffstat (limited to 'snippets')
-rw-r--r-- | snippets/header.snippet.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/snippets/header.snippet.php b/snippets/header.snippet.php index d3270d8..cc0becb 100644 --- a/snippets/header.snippet.php +++ b/snippets/header.snippet.php @@ -9,7 +9,7 @@ header('Content-Type: text/html; charset=utf-8'); ?><!DOCTYPE html> -<html lang="<?= $config['language'] ?>" class="<?= $template ?>"> +<html lang="<?= $config['language'] ?>" class="no-js <?= $template ?>"> <head> <meta charset="utf-8" /> @@ -20,8 +20,15 @@ <link rel="alternate" type="application/json" title="JSON Feed" href="<?= $config['url'] ?>/feed/json" /> <link rel="alternate" type="application/atom+xml" title="Atom Feed" href="<?= $config['url'] ?>/feed/atom" /> <?php if($config['xmlrpc']): ?><link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?= $config['url'] ?>/rsd" /><?php endif; ?> + + <link rel="authorization_endpoint" href="https://micro.blog/indieauth/auth" /> + <link rel="token_endpoint" href="https://micro.blog/indieauth/token" /> + + <?php if(!empty($config['microblog_account'])): ?> + <link href="https://micro.blog/<?= ltrim($config['microblog_account'], '@') ?>" rel="me" /> + <?php endif; ?> <link rel="stylesheet" href="<?= $config['url'] ?>/css/<?= $css ?>.css" /> - <script src="<?= $config['url'] ?>/microblog.js" type="module" defer></script> + <script src="<?= $config['url'] ?>/js/microblog.js" type="module" defer></script> </head> |