Skip to content

Commit

Permalink
Upgrade Lume to 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
slowe committed Apr 2, 2024
1 parent 76becfe commit 03780f9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
9 changes: 6 additions & 3 deletions _config.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion import_map.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"imports": {
"lume/": "https://deno.land/x/lume@v1.18.4/",
"lume/": "https://deno.land/x/lume@v2.1.3/",
"std/": "https://deno.land/[email protected]/"
}
}
8 changes: 4 additions & 4 deletions src/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ title: Welcome
<h2>Recently updated visualisations...</h2>
<ul class="grid-list">
{% for page in search.pages("theme_page theme!=undefined !draft updated!=undefined", "order updated=desc", 6) %}
<li><a href="{{ page.data.url }}" class="{{ data.themes[page.data.theme].class | safe }}">
{{ data.themes[page.data.theme].icon | safe }}
<h3>{{ page.data.title }}</h3>
<p>Updated: {{ page.data.updated | date('do MMMM yyyy') }}</p>
<li><a href="{{ page.url }}" class="{{ data.themes[page.theme].class | safe }}">
{{ data.themes[page.theme].icon | safe }}
<h3>{{ page.title }}</h3>
<p>Updated: {{ page.updated | date('do MMMM yyyy') }}</p>
</a></li>
{% endfor %}
</ul>

0 comments on commit 03780f9

Please sign in to comment.