Rename updates to notes
This commit is contained in:
parent
bacaac2ada
commit
75480fcdfa
|
@ -14,7 +14,7 @@ layout: base
|
||||||
<header>
|
<header>
|
||||||
<h2>Updates</h2>
|
<h2>Updates</h2>
|
||||||
</header>
|
</header>
|
||||||
{% include 'snippets/updates.njk' %}
|
{% include 'snippets/notes.njk' %}
|
||||||
</aside>
|
</aside>
|
||||||
<aside class="home__badges box pad">
|
<aside class="home__badges box pad">
|
||||||
<header>
|
<header>
|
||||||
|
|
|
@ -31,7 +31,9 @@ This is a list of changes to my website, organized by date.
|
||||||
|
|
||||||
### Done
|
### Done
|
||||||
|
|
||||||
- Settled on `/entry/YYYY/MM/DD/slug` for journal permalinks
|
- Permalinks
|
||||||
|
- Journal entries: `/entry/YYYY/MM/DD/slug`
|
||||||
|
- Notes: `/note/YYYY-MM-DD[a-z]`
|
||||||
- Added favicon
|
- Added favicon
|
||||||
- Paginated category and tag pages (not enough content to have pages but it works, trust me)
|
- Paginated category and tag pages (not enough content to have pages but it works, trust me)
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,18 @@
|
||||||
---
|
---
|
||||||
layout: single
|
layout: single
|
||||||
permalink: "/note/{{ update.date | formatDateIso('yyyy-MM-dd') }}{{ update.slug }}/index.html"
|
permalink: "/note/{{ note.date | formatDateIso('yyyy-MM-dd') }}{{ note.slug }}/index.html"
|
||||||
pagination:
|
pagination:
|
||||||
data: updates
|
data: notes
|
||||||
size: 1
|
size: 1
|
||||||
alias: update
|
alias: note
|
||||||
title: "Note"
|
title: "Note"
|
||||||
---
|
---
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1>Note {{ update.date | formatDateIso('yyyy-MM-dd') }}{{ update.slug }}</h1>
|
<h1>Note {{ note.date | formatDateIso('yyyy-MM-dd') }}{{ note.slug }}</h1>
|
||||||
<p>Posted {{ update.date | formatDateIsoRel }}</time>
|
<p>Posted {{ note.date | formatDateIsoRel }}</p>
|
||||||
</p>
|
|
||||||
</header>
|
</header>
|
||||||
<p>{{ update.content | safe }}</p>
|
<p>{{ note.content | safe }}</p>
|
||||||
{% if pagination.href.previous or pagination.href.next %}
|
{% if pagination.href.previous or pagination.href.next %}
|
||||||
<p>
|
<p>
|
||||||
{% if pagination.href.previous %}
|
{% if pagination.href.previous %}
|
Loading…
Reference in a new issue