migrate from 11ty to Lume
This commit is contained in:
parent
491694c19d
commit
00ff630785
18 changed files with 574 additions and 4226 deletions
|
@ -3,16 +3,14 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="author" content="{{ site.authorName }}">
|
||||
<meta name="description" content="{{ site.description }}">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
||||
|
||||
<title>{{ title }} - cheri.pink</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="stylesheet" href="/elements.css">
|
||||
<title>{{ title }}</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="stylesheet" href="/elements.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<ul>
|
||||
{% for post in listposts | reverse %}
|
||||
<li>
|
||||
<strong><a href="{{ post.url | url }}"> {{ post.data.title }}</a></strong>
|
||||
-
|
||||
<time datetime="{{ post.date | htmlDateString}}">{{ post.date | readableDate}}</time>
|
||||
<br><small>{{ post.data.description }}</small>
|
||||
</li>
|
||||
{% for post in search.pages("type=post", "date=desc") %}
|
||||
<li>
|
||||
<strong><a href="{{ post.url }}"> {{ post.title }}</a></strong>
|
||||
-
|
||||
<time datetime="{{ post.date | date}}">{{ post.date | date}}</time>
|
||||
<br><small>{{ post.description }}</small>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
@ -3,7 +3,7 @@ layout: base.njk
|
|||
---
|
||||
<div class="title">
|
||||
<h1>{{ title }}</h1>
|
||||
<time datetime="{{ date | readableDate }}">{{ date | postDate }}</time>
|
||||
<time datetime="{{ date | date }}">{{ date | date('HUMAN_DATE') }}</time>
|
||||
</div>
|
||||
<article>
|
||||
{{ content | safe }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue