From 69ed04745364d560e564a3121eafdca253329c4b Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Wed, 28 Aug 2024 09:35:43 +0200 Subject: [PATCH] Move news to the home page --- layouts/_default/baseof.html | 2 +- layouts/index.html | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7cd9fc8..2878a8b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -26,7 +26,7 @@

pimutils

  • Home
  • Thanks
  • Contact
  • -
  • Blog
  • +
  • Code of Conduct
  • diff --git a/layouts/index.html b/layouts/index.html index aa25efa..cbf016c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,21 @@ {{ define "main" }}

    Utilities for personal information management

    {{ .Content }} + +

    News

    + +
    + {{ range (where .Site.RegularPages "Section" "blog") }} +
    +

    {{ .Title }}

    +
    + Written by {{ .Params.Author }} on + +
    +
    + {{ end }} +
    + {{ end }}