From d55aed6034e15329138e3eb205f1fc70cb6b2eb0 Mon Sep 17 00:00:00 2001 From: ryan-p-randall Date: Thu, 2 May 2024 19:56:14 -0600 Subject: [PATCH] Use include for often-repeated decoration Liquid logic. --- _includes/wikifooter.html | 2 +- _layouts/note.html | 2 +- _notes/ADHD-tech/index.html | 16 ++-------------- _notes/ADHD/index.html | 16 ++-------------- _notes/Accessibility/index.html | 16 ++-------------- _notes/Keywords/index.html | 16 ++-------------- _notes/Listening/index.html | 8 +------- _notes/Note-taking/Approaches/index.html | 16 ++-------------- _notes/Note-taking/Dendron/index.html | 16 ++-------------- _notes/Note-taking/Obsidian/index.html | 16 ++-------------- _notes/Note-taking/Zotero/index.html | 16 ++-------------- _notes/Note-taking/index.html | 16 ++-------------- _notes/Pedagogy/index.html | 16 ++-------------- _notes/Reading/Articles/index.html | 16 ++-------------- _notes/Reading/Books/index.html | 16 ++-------------- _notes/Reading/Lists/index.html | 16 ++-------------- _notes/Snippets/index.html | 16 ++-------------- _notes/Technology/Jekyll/index.html | 16 ++-------------- _notes/Technology/Social-Media/index.html | 16 ++-------------- _notes/Technology/VS-Code/index.html | 16 ++-------------- _notes/Technology/index.html | 16 ++-------------- _notes/Thinking/index.html | 16 ++-------------- _notes/Writing/index.html | 16 ++-------------- 23 files changed, 43 insertions(+), 289 deletions(-) diff --git a/_includes/wikifooter.html b/_includes/wikifooter.html index 443fb073..5b352e20 100644 --- a/_includes/wikifooter.html +++ b/_includes/wikifooter.html @@ -10,7 +10,7 @@ diff --git a/_layouts/note.html b/_layouts/note.html index 8b998103..533d9682 100644 --- a/_layouts/note.html +++ b/_layouts/note.html @@ -34,7 +34,7 @@

Details

{% if page.reading-articles %} :page_facing_up: "{{ page.title }}"
{% endif %} {% if page.reading-books %} :book: {{ page.title }}
{% endif %} - {% if page.access == "oa" %}Link: {{ page.work_link_text }} :unlock:
{% endif %} + {% if page.access == "oa" %}Link: {{ page.work_link_text }} :rocket:
{% endif %} {% if page.access == "paywalled" %}Link: {{ page.work_link_text }} :closed_lock_with_key:
{% endif %} {% if page.access != "paywalled" and page.access !="oa" %}Link: {{ page.work_link_text }}
{% endif %} By: {{ page.work_author }}
diff --git a/_notes/ADHD-tech/index.html b/_notes/ADHD-tech/index.html index fa769812..252d67e1 100644 --- a/_notes/ADHD-tech/index.html +++ b/_notes/ADHD-tech/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All {{page.title}} items

{% if adhd-tech_notes_all.size > 0 %} {% else %} diff --git a/_notes/ADHD/index.html b/_notes/ADHD/index.html index a3313daf..feec6e57 100644 --- a/_notes/ADHD/index.html +++ b/_notes/ADHD/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All {{page.title}} items

{% if adhd_notes_all.size > 0 %} {% else %} diff --git a/_notes/Accessibility/index.html b/_notes/Accessibility/index.html index 4eb7976b..a5273ce0 100644 --- a/_notes/Accessibility/index.html +++ b/_notes/Accessibility/index.html @@ -11,13 +11,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -28,13 +22,7 @@

All {{page.title}} items

{% if accessibility_notes_all.size > 0 %} {% else %} diff --git a/_notes/Keywords/index.html b/_notes/Keywords/index.html index a6422f5f..5c46afe3 100644 --- a/_notes/Keywords/index.html +++ b/_notes/Keywords/index.html @@ -45,13 +45,7 @@

All {{page.title}} folders

Pinned {{page.title}} notes

{% endunless %} @@ -62,13 +56,7 @@

All {{page.title}} items

{% if keywords_notes_all.size > 0 %} {% else %} diff --git a/_notes/Listening/index.html b/_notes/Listening/index.html index a47e18b9..56138a3e 100644 --- a/_notes/Listening/index.html +++ b/_notes/Listening/index.html @@ -39,13 +39,7 @@

All {{page.title}} folders

Pinned {{page.title}} notes

{% endunless %} diff --git a/_notes/Note-taking/Approaches/index.html b/_notes/Note-taking/Approaches/index.html index 7237ff81..a85b146d 100644 --- a/_notes/Note-taking/Approaches/index.html +++ b/_notes/Note-taking/Approaches/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All {{page.title}} items

{% if approaches_notes_all.size > 0 %} {% else %} diff --git a/_notes/Note-taking/Dendron/index.html b/_notes/Note-taking/Dendron/index.html index 019bbb55..c0388b75 100644 --- a/_notes/Note-taking/Dendron/index.html +++ b/_notes/Note-taking/Dendron/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All {{page.title}} items

{% if dendron_notes_all.size > 0 %} {% else %} diff --git a/_notes/Note-taking/Obsidian/index.html b/_notes/Note-taking/Obsidian/index.html index 54c5ffa6..76bfd9db 100644 --- a/_notes/Note-taking/Obsidian/index.html +++ b/_notes/Note-taking/Obsidian/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All {{page.title}} items

{% if obsidian_notes_all.size > 0 %} {% else %} diff --git a/_notes/Note-taking/Zotero/index.html b/_notes/Note-taking/Zotero/index.html index 01dd7ee1..1ca14467 100644 --- a/_notes/Note-taking/Zotero/index.html +++ b/_notes/Note-taking/Zotero/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All {{page.title}} items

{% if zotero_notes_all.size > 0 %} {% else %} diff --git a/_notes/Note-taking/index.html b/_notes/Note-taking/index.html index cd39b2b8..cd0719d4 100644 --- a/_notes/Note-taking/index.html +++ b/_notes/Note-taking/index.html @@ -69,13 +69,7 @@

TESTING

Pinned {{page.title}} notes:

{% endunless %} @@ -86,13 +80,7 @@

All {{page.title}} items

{% if note-taking_notes_all.size > 0 %} {% else %} diff --git a/_notes/Pedagogy/index.html b/_notes/Pedagogy/index.html index ed9398b3..3bc17fc8 100644 --- a/_notes/Pedagogy/index.html +++ b/_notes/Pedagogy/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All {{page.title}} items

{% if pedagogy_notes_all.size > 0 %} {% else %} diff --git a/_notes/Reading/Articles/index.html b/_notes/Reading/Articles/index.html index 43a06e58..1f99fd3b 100644 --- a/_notes/Reading/Articles/index.html +++ b/_notes/Reading/Articles/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -26,13 +20,7 @@

All my notes on articles I've read

{% if reading-articles_notes_all.size > 0 %} {% else %} diff --git a/_notes/Reading/Books/index.html b/_notes/Reading/Books/index.html index 9641f0e6..b8d8620d 100644 --- a/_notes/Reading/Books/index.html +++ b/_notes/Reading/Books/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All my notes on books

{% if reading-books_notes_all.size > 0 %} {% else %} diff --git a/_notes/Reading/Lists/index.html b/_notes/Reading/Lists/index.html index 77696d5d..bf610667 100644 --- a/_notes/Reading/Lists/index.html +++ b/_notes/Reading/Lists/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All my reading list notes

{% if reading-lists_notes_all.size > 0 %} {% else %} diff --git a/_notes/Snippets/index.html b/_notes/Snippets/index.html index 6bfb928a..8ad4d397 100644 --- a/_notes/Snippets/index.html +++ b/_notes/Snippets/index.html @@ -10,13 +10,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -27,13 +21,7 @@

All {{page.title}} items

{% if snippets_notes_all.size > 0 %} {% else %} diff --git a/_notes/Technology/Jekyll/index.html b/_notes/Technology/Jekyll/index.html index 56ff7c94..23c323c9 100644 --- a/_notes/Technology/Jekyll/index.html +++ b/_notes/Technology/Jekyll/index.html @@ -9,13 +9,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -26,13 +20,7 @@

All {{page.title}} items

{% if technology-jekyll_notes_all.size > 0 %} {% else %} diff --git a/_notes/Technology/Social-Media/index.html b/_notes/Technology/Social-Media/index.html index b16b0e22..266e5d08 100644 --- a/_notes/Technology/Social-Media/index.html +++ b/_notes/Technology/Social-Media/index.html @@ -9,13 +9,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -26,13 +20,7 @@

All {{page.title}} items

{% if technology-social-media_notes_all.size > 0 %} {% else %} diff --git a/_notes/Technology/VS-Code/index.html b/_notes/Technology/VS-Code/index.html index 1e4e43ce..3bdf94d3 100644 --- a/_notes/Technology/VS-Code/index.html +++ b/_notes/Technology/VS-Code/index.html @@ -9,13 +9,7 @@

Pinned {{page.title}} notes

{% endunless %} @@ -26,13 +20,7 @@

All {{page.title}} items

{% if technology-vs-code_notes_all.size > 0 %} {% else %} diff --git a/_notes/Technology/index.html b/_notes/Technology/index.html index 3382b80b..43e71db1 100644 --- a/_notes/Technology/index.html +++ b/_notes/Technology/index.html @@ -37,13 +37,7 @@

All {{page.title}} folders

Pinned {{page.title}} notes

{% endunless %} @@ -54,13 +48,7 @@

All {{page.title}} items

{% if technology_notes_all.size > 0 %} {% else %} diff --git a/_notes/Thinking/index.html b/_notes/Thinking/index.html index a2718279..7850ca05 100644 --- a/_notes/Thinking/index.html +++ b/_notes/Thinking/index.html @@ -39,13 +39,7 @@

All {{page.title}} folders

Pinned {{page.title}} notes

{% endunless %} @@ -56,13 +50,7 @@

All {{page.title}} items

{% if thinking_notes_all.size > 0 %} {% else %} diff --git a/_notes/Writing/index.html b/_notes/Writing/index.html index fc21fd16..dcbaca26 100644 --- a/_notes/Writing/index.html +++ b/_notes/Writing/index.html @@ -39,13 +39,7 @@

All {{page.title}} folders

Pinned {{page.title}} notes

{% endunless %} @@ -56,13 +50,7 @@

All {{page.title}} items

{% if writing_notes_all.size > 0 %} {% else %}