From 738c0f9ac4e5e9179319bdc46300c86292061e51 Mon Sep 17 00:00:00 2001 From: Per Starke Date: Tue, 12 Dec 2023 22:41:11 +0100 Subject: [PATCH 1/2] add green-colored include for article headers --- _includes/search-req-header.html | 48 ++++++++++++++++++++++++++++++++ _pages/search.html | 2 +- 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100755 _includes/search-req-header.html diff --git a/_includes/search-req-header.html b/_includes/search-req-header.html new file mode 100755 index 0000000..921e015 --- /dev/null +++ b/_includes/search-req-header.html @@ -0,0 +1,48 @@ +{% assign page = include.page %} + +
+
+

+ {% if include.link %} + {{ page.title }} + {% else %} + {{ page.title }} + {% endif %} +

+ +
    + {% assign tags_num = (page.tags | size) %} + {% if tags_num > 0 %} +
  • + {% endif %} + {% for tag in page.tags %} +
  • + #{{ tag }} +
  • + {% endfor %} +
+ +
+
    + + {% if page.author %} +
  • + + + {{ page.author }} + +
  • + {% if page.icons %} +
  • +
      + {% include icons.html icons=page.icons %} +
    +
  • + {% endif %} + {% endif %} +
+
+
+ + +
diff --git a/_pages/search.html b/_pages/search.html index a3af89f..767c653 100755 --- a/_pages/search.html +++ b/_pages/search.html @@ -18,7 +18,7 @@