From: Dylan Lloyd Date: Fri, 10 Feb 2023 23:39:15 +0000 (-0500) Subject: Add archive layout and abstract syntax headers X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=60b4f0aebfd2d071abc3e3bc31402154629ed88a;p=disinclined.org.git Add archive layout and abstract syntax headers --- diff --git a/_includes/head.html b/_includes/head.html index 665b921..e98f611 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,7 +4,7 @@ {{ site.title }} - + diff --git a/_includes/highlighter.html b/_includes/highlighter.html new file mode 100644 index 0000000..9e28a18 --- /dev/null +++ b/_includes/highlighter.html @@ -0,0 +1,17 @@ + + + + + + diff --git a/_includes/note.html b/_includes/note.html new file mode 100644 index 0000000..193381b --- /dev/null +++ b/_includes/note.html @@ -0,0 +1,19 @@ +
+
+
+ {% if page.date %} + + {{ page.date | date: '%Y-%m-%d' }} + / + {% endif %} + + + {{ page.title }} + + +
+
+ {{ content }} +
+
+
diff --git a/_layouts/archive.html b/_layouts/archive.html new file mode 100644 index 0000000..51db00a --- /dev/null +++ b/_layouts/archive.html @@ -0,0 +1,25 @@ +--- +layout: default +--- + +{% include highlighter.html %} + + diff --git a/_layouts/note.html b/_layouts/note.html index 0e3c844..0f13155 100644 --- a/_layouts/note.html +++ b/_layouts/note.html @@ -2,22 +2,6 @@ layout: default --- -
-
-
- {% if page.date %} - - {{ page.date | date: '%Y-%m-%d' }} - / - {% endif %} - - - {{ page.title }} - - -
-
- {{ content }} -
-
-
+{% include highlighter.html %} + +{% include note.html %} diff --git a/notes/index.html b/notes/index.html index 53de769..fe2df6b 100644 --- a/notes/index.html +++ b/notes/index.html @@ -2,23 +2,6 @@ layout: note --- - - - - - - {% for page in paginator.posts %}
@@ -42,6 +25,7 @@ layout: note previous {% endif %} + {% if paginator.next_page_path %}