From 5d506325232ef33b009fffde04cd1623d10affca Mon Sep 17 00:00:00 2001 From: Ruben Date: Wed, 15 Oct 2025 19:28:40 +0200 Subject: [PATCH] Add list-card-grid template and update metadata Update brosjyrer and FAQ pages to use new list-card-grid template instead of deprecated list_style grid option --- content/brosjyrer/metadata.ini | 2 +- content/faq/metadata.ini | 2 +- custom/templates/list-card-grid.php | 94 +++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 custom/templates/list-card-grid.php diff --git a/content/brosjyrer/metadata.ini b/content/brosjyrer/metadata.ini index 071a448..d784f42 100644 --- a/content/brosjyrer/metadata.ini +++ b/content/brosjyrer/metadata.ini @@ -1,2 +1,2 @@ -list_style = grid +page_template = list-card-grid show_date = false diff --git a/content/faq/metadata.ini b/content/faq/metadata.ini index 586c5e5..9a9093c 100644 --- a/content/faq/metadata.ini +++ b/content/faq/metadata.ini @@ -1,4 +1,4 @@ menu = true title = "FAQ" -list_style = grid +page_template = list-card-grid show_date = false \ No newline at end of file diff --git a/custom/templates/list-card-grid.php b/custom/templates/list-card-grid.php new file mode 100644 index 0000000..e3ef835 --- /dev/null +++ b/custom/templates/list-card-grid.php @@ -0,0 +1,94 @@ + +
+ +
+ + +
+
+ + + +
+
+ +