diff options
Diffstat (limited to 'snippets/header.snippet.php')
-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> |