💥 giving lume / deno a try
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-23 15:37:43 -04:00
parent 19f785af09
commit df332d5b2b
21 changed files with 1508 additions and 6028 deletions

View File

@ -1,21 +1,21 @@
<!doctype html>
<html lang="en">
<html lang="{{ it.lang }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title or metadata.title }}</title>
<meta name="description" content="{{ description or metadata.description }}">
<link rel="stylesheet" href="{{ '/css/style.css' | relativePath(page) }}">
<link rel="alternate" href="{{ metadata.feed.path | relativePath(page) }}" type="application/atom+xml" title="{{ metadata.title }}">
<link rel="alternate" href="{{ metadata.jsonfeed.path | relativePath(page) }}" type="application/json" title="{{ metadata.title }}">
<title>{{ title or metas.site }}</title>
<meta name="description" content="{{ description or metas.description }}">
<link rel="stylesheet" href="/css/style.css">
<link rel="alternate" href="https://walkah.blog/feed.rss" type="application/rss+xml">
<link rel="alternate" href="https://walkah.blog/feed.json" type="application/json">
</head>
<body class="bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100">
<div class="container max-w-2xl mb-24 mt-8 mx-auto">
<div class="px-5 md:px-8">
<header class="flex flex-row not-prose my-8">
<div rel="author" class="p-author h-card basis-1/2">
<a href="{{ "/" | relativePath(page) }}">
<img class="u-photo w-8 inline-block" src="{{ "/images/walkah-avatar.png" | relativePath(page) }}"> walkah
<a href="/">
<img class="u-photo w-8 inline-block" src="/images/walkah-avatar.png"> walkah
</a>
</div>
</header>

View File

@ -1,9 +1,5 @@
{% extends 'layouts/default.njk' %}
{% set title = post.title %}
{% set codeinjection_head = post.codeinjection_head %}
{% set codeinjection_foot = post.codeinjection_foot %}
{% block content %}
<article class="h-entry prose lg:prose-lg dark:prose-invert" role="article">
<header>
@ -23,14 +19,11 @@
{{ content | safe }}
</section>
<footer class="flex flex-row not-prose">
<div rel="author" class="p-author h-card basis-1/2">
<time class="dt-published" datetime="{{ post.published_at }}" pubdate>
<a class="u-url text-gray-500 text-sm" href="{{ post.url | relativePath(page) }}">{{ post.date | dateString }}</a>
<div class="basis-1/2">
<time class="dt-published" datetime="{{ date | date('DATETIME') }}" pubdate>
<a class="u-url text-gray-500 text-sm" href="{{ post.url }}">{{ date | date }}</a>
</time>
</div>
<div class="text-right basis-1/2">
</div>
</footer>
</article>
{% endblock %}