diff --git a/.eleventy.js b/.eleventy.js index af7e6bc..1915eb4 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -236,6 +236,8 @@ export default function (eleventyConfig) { return catMap; }); + eleventyConfig.setQuietMode(true); + return { dir: { input: "src", diff --git a/src/_components/head/meta.njk b/src/_components/head/meta.njk index cbe3841..7b96a01 100644 --- a/src/_components/head/meta.njk +++ b/src/_components/head/meta.njk @@ -16,4 +16,5 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/src/_components/idcard.njk b/src/_components/idcard.njk new file mode 100644 index 0000000..2bf03e3 --- /dev/null +++ b/src/_components/idcard.njk @@ -0,0 +1,30 @@ + \ No newline at end of file diff --git a/src/_components/snippets/badges.njk b/src/_components/snippets/badges.njk index 17e923b..0dcffdd 100644 --- a/src/_components/snippets/badges.njk +++ b/src/_components/snippets/badges.njk @@ -1 +1,11 @@ -{% include 'snippets/neighbors.njk' %} \ No newline at end of file +
+ {% for neighbor in neighbors -%}
+ {%- if neighbor.link -%}
+
+ {%- endif -%}
+
+ {%- if neighbor.link -%}
+
+ {%- endif -%}
+ {%- endfor %}
+
- {% for neighbor in neighbors -%}
- {%- if neighbor.link -%}
-
- {%- endif -%}
-
- {%- if neighbor.link -%}
-
- {%- endif -%}
- {%- endfor %}
-
- {% for update in updates | reverse %}
- {{ update.date | formatDateIso('yyyy-MM-dd') }}
- / {{ update.content | safe }}
+ {% for note in notes | reverse %}
+ {{ note.date | formatDateIso('yyyy-MM-dd') }}
+ / {{ note.content | safe }}
{% endfor %}
- posted + posted {{ page.date | formatDate('yyyy-MM-dd') }} {% if author %} by {{ author }} {% elif meta.author %} @@ -29,7 +29,7 @@ layout: base {% if lastmod %}
Last modified - + {{ lastmod | formatDate("yyyy-MM-dd") }}
{% endif %} {% if tags %} diff --git a/src/notes.njk b/src/notes.njk index e067185..3edd844 100644 --- a/src/notes.njk +++ b/src/notes.njk @@ -1,6 +1,6 @@ --- layout: single -permalink: "/note/{{ note.date | formatDateIso('yyyy-MM-dd') }}{{ note.slug }}/index.html" +permalink: '/note/{{ note.date | formatDateIso("yyyy-MM-dd") }}{{ note.slug }}/index.html' pagination: data: notes size: 1 @@ -9,12 +9,12 @@ title: "Note" ---Posted {{ note.date | formatDateIsoRel }}
+Posted {{ note.date | formatDateIso("yyyy-MM-dd 'at' T") }}
{{ note.content | safe }}
{% if pagination.href.previous or pagination.href.next %} -+
+ {% endif %}