diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/feed.xml | 8 | ||||
| -rw-r--r-- | templates/index.gmi | 3 | ||||
| -rw-r--r-- | templates/index.html | 26 | ||||
| -rw-r--r-- | templates/index.txt | 13 |
4 files changed, 16 insertions, 34 deletions
diff --git a/templates/feed.xml b/templates/feed.xml index 36edc28..17a4c7c 100644 --- a/templates/feed.xml +++ b/templates/feed.xml @@ -1,14 +1,12 @@ <?xml version="1.0"?> <rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> - <atom:link href="https://r.bdr.sh/gemlog/feed.xml" rel="self" type="application/rss+xml" /> - <title>Ruben's Gemlog</title> - <link>https://r.bdr.sh/gemlog/</link> - <description>This is the gemlog at r.bdr.sh.</description> + <title>My Ephemeral Blog</title> + <description>My Ephemeral Blog</description> <language>en</language> {{~ it.posts: post}} <item> - <guid isPermaLink="false">rbdr:{{= post.id}}</guid> + <guid isPermaLink="false">blog:{{= post.id}}</guid> <pubDate>{{= post.createdOn}}</pubDate> <title>{{= post.title}}</title> <description> diff --git a/templates/index.gmi b/templates/index.gmi new file mode 100644 index 0000000..9df2f55 --- /dev/null +++ b/templates/index.gmi @@ -0,0 +1,3 @@ +# Gemlog Archive + +{{= it.posts }} diff --git a/templates/index.html b/templates/index.html index 448a785..f1967e4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,39 +1,27 @@ <!doctype html> -<html lang="en" class="h-feed"> +<html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta class="p-author" name="author" content="Rubén Beltrán del Río"> - <meta name="description" content="This is ruben's gemlog"> + <meta name="description" content="My ephemeral blog"> <meta name="theme-color" content="#ffffff"> - <title class="p-name">Ruben's gemlog</title> + <title class="p-name">My Ephemeral Blog</title> - <script src="./js/blog.js"></script> - - <link href="/css/style.css" rel="stylesheet"> <link href="./feed.xml" rel="alternate" hreflang="en" title="RSS feed"> - - <script type="module" src="//r.bdr.sh/js/animation.js"></script> - </head> <body> - <header aria-label="Logo" class="main-header"> + <header> <h1> - <canvas width=100 height=100></canvas> - <a href="/gemlog">r.bdr.sh/gemlog</a> + <a href="./">My Ephemeral Blog</a> </h1> </header> <main> <p> Only 3 posts kept at a time. This blog is also available in <a href="./index.txt">txt</a> - and <a href="./feed.xml">rss</a>. - Full archive available in <a href="gemini://r.bdr.sh/gemlog">gemini</a> - </p> - <p> - → <a href="/">home</a>. + and <a href="./feed.xml">rss</a> </p> {{~ it.posts: post}} <article class="h-entry" id="{{= post.index + 1}}"> @@ -47,7 +35,7 @@ {{?}} </main> <footer> - <p>Press 1, 2, and 3 to switch. <a href="https://r.bdr.sh">r.bdr.sh</a></p> + <p>Press 1, 2, and 3 to switch.</p> </footer> </body> </html> diff --git a/templates/index.txt b/templates/index.txt index b3b27a9..1474e7c 100644 --- a/templates/index.txt +++ b/templates/index.txt @@ -1,18 +1,11 @@ -╔══════════════════════════════════════════════════════════════════════════════╗ -║ ║ -║ The Blog at Unlimited Pizza ║ -║ ║ -╚══════════════════════════════════════════════════════════════════════════════╝ -┌──────────────────────────────────────────────────────────────────────────────┐ -│ Written by Rubén Beltrán del Río │ -└──────────────────────────────────────────────────────────────────────────────┘ +# My Ephemeral Blog {{~ it.posts: post}} {{= post.raw}} -■──────────────────────────────────────────────────────────────────────────────■ +------------------------------------ {{~}} {{? it.posts.length === 0}} -# This is a fresh blog! +## This is a fresh blog! There are no posts yet. {{?}} |