From 880f1ce121434e641c09f63e43ab08a2beaa83d4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 5 Apr 2026 08:43:04 +0200 Subject: feat: add filter functionality, archetypes, and sample content - Create filters.js for post filtering by type (tech, life, quote, link, photo) - Add article.md and page.md archetypes with appropriate fields - Update default.md archetype with correct TOML syntax - Create sample content for home, articles, and about pages - Fix section.html template resource permalink syntax Co-Authored-By: Claude Haiku 4.5 --- archetypes/article.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 archetypes/article.md (limited to 'archetypes/article.md') diff --git a/archetypes/article.md b/archetypes/article.md new file mode 100644 index 0000000..477a18f --- /dev/null +++ b/archetypes/article.md @@ -0,0 +1,11 @@ ++++ +title = "{{ replace .File.ContentBaseName "-" " " | title }}" +date = {{ .Date }} +draft = true +type = "tech" # Options: tech, life, quote, link, photo +featured = false +image = "" # Optional: image path or URL +description = "Brief description of the article (2 lines max)" ++++ + +Write your article here... -- cgit v1.2.3