diff options
Diffstat (limited to 'http/share/components')
| -rw-r--r-- | http/share/components/formatted_date.upphtml | 4 | ||||
| -rw-r--r-- | http/share/components/head.upphtml | 37 | ||||
| -rw-r--r-- | http/share/components/meta.upphtml | 11 | ||||
| -rw-r--r-- | http/share/components/navbar.upphtml | 16 | ||||
| -rw-r--r-- | http/share/components/otp-dialog.upphtml | 28 |
5 files changed, 0 insertions, 96 deletions
diff --git a/http/share/components/formatted_date.upphtml b/http/share/components/formatted_date.upphtml deleted file mode 100644 index ba86181..0000000 --- a/http/share/components/formatted_date.upphtml +++ /dev/null @@ -1,4 +0,0 @@ -#! -FORMATTED_DATE="$(date --date "${DATE}" +'%A %-d %B %Y')" -echo "<time datetime='${DATE}' class='${CLASS}' ${ATTRIBUTES}>${FORMATTED_DATE}</time>" -#! diff --git a/http/share/components/head.upphtml b/http/share/components/head.upphtml deleted file mode 100644 index 87728f1..0000000 --- a/http/share/components/head.upphtml +++ /dev/null @@ -1,37 +0,0 @@ -<!-- IndieWeb --> -<link rel="authorization_endpoint" href="https://indieauth.com/auth"> -<link rel="token_endpoint" href="https://tokens.indieauth.com/token"> -<link rel="micropub" href="https://tasty-windows-lick.loca.lt"> - -<!-- Stylesheets --> -<link rel="stylesheet" href="/css/reset.css" /> -<link rel="stylesheet" href="/css/base.css" /> -<link rel="stylesheet" href="/css/hcard.css" /> -<link rel="stylesheet" href="/css/feed.css" /> - -<!-- Global Metadata --> -<meta charset="utf-8" /> -<meta name="viewport" content="width=device-width,initial-scale=1" /> -<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> -<meta name="generator" content="mkws" /> - -<!-- Canonical URL --> -<link rel="canonical" href={canonicalURL} /> - -<!-- Open Graph / Facebook --> -<meta property="og:type" content="website" /> -<meta property="og:url" content={Astro.url} /> -<meta property="og:title" content={title} /> -<meta property="og:description" content={description} /> -<meta property="og:image" content={new URL(image, Astro.url)} /> - -<!-- Twitter --> -<meta property="twitter:card" content="summary_large_image" /> -<meta property="twitter:url" content={Astro.url} /> -<meta property="twitter:title" content={title} /> -<meta property="twitter:description" content={description} /> -<meta property="twitter:image" content={new URL(image, Astro.url)} /> - -<!-- Feeds --> -<link rel="alternate" type="text/xml" title="Blog RSS" href="/blog/rss.xml"> -<link rel="alternate" type="text/xml" title="Links RSS" href="/links/rss.xml"> diff --git a/http/share/components/meta.upphtml b/http/share/components/meta.upphtml deleted file mode 100644 index fbb0155..0000000 --- a/http/share/components/meta.upphtml +++ /dev/null @@ -1,11 +0,0 @@ -#! -if [ -z "${NO_META}" ]; then -#! - -<title>${TITLE}</title> -<meta name='title' content='${TITLE}' /> -<meta name='description' content='${DESCRIPTION}' /> - -#! -fi -#! diff --git a/http/share/components/navbar.upphtml b/http/share/components/navbar.upphtml deleted file mode 100644 index 777cb40..0000000 --- a/http/share/components/navbar.upphtml +++ /dev/null @@ -1,16 +0,0 @@ -<nav> - <ul> - <li> - <a href="/">Home</a> - </li> - <li> - <a href="/blog">Blog</a> - </li> - <li> - <a href="/microlog">Microlog</a> - </li> - <li> - <a href="/contact">Contact</a> - </li> - </ul> -</nav> diff --git a/http/share/components/otp-dialog.upphtml b/http/share/components/otp-dialog.upphtml deleted file mode 100644 index a51333f..0000000 --- a/http/share/components/otp-dialog.upphtml +++ /dev/null @@ -1,28 +0,0 @@ -<script src="/scripts/otp-form-wc.js"></script> -<link rel="stylesheet" href="/css/otp.css" /> - -<dialog class="otp-dialog"> - <otp-form> - <form class="otp-form" class="otp-form"> - <p> - I've sent a six-digit code to <span class="otp-recipient">your email address</span>. - Let me know what it is, so I can confirm this really is your email address. The - code will be valid <span class="otp-valid-until">for five minutes</span>. - </p> - - <p hidden class="error"/> - - <div class="otp-inputs"> - <input maxlength="1" name="1" required autocapitalize="characters" autocomplete="one-time-code" aria-label="First digit of one-time passcode" autofocus> - <input maxlength="1" name="2" required autocapitalize="characters" autocomplete="one-time-code" aria-label="Second digit of one-time passcode"> - <input maxlength="1" name="3" required autocapitalize="characters" autocomplete="one-time-code" aria-label="Third digit of one-time passcode"> - <input maxlength="1" name="4" required autocapitalize="characters" autocomplete="one-time-code" aria-label="Fourth digit of one-time passcode"> - <input maxlength="1" name="5" required autocapitalize="characters" autocomplete="one-time-code" aria-label="Fifth digit of one-time passcode"> - <input maxlength="1" name="6" required autocapitalize="characters" autocomplete="one-time-code" aria-label="Sixth digit of one-time passcode"> - </div> - - <input type="submit" value="Verify"> - <button disabled class="resend-button">Resend (60s)</button> - </form> - </otp-form> -</dialog> |
