From 1a99e584ef703550992126fd69a2d41d45b5f135 Mon Sep 17 00:00:00 2001 From: Abhinav I S Date: Wed, 22 May 2024 18:21:34 +0530 Subject: [PATCH] added resources page, fixed tags --- config.toml | 1 + content/_index.md | 2 +- content/posts/_index.md | 10 +++++++--- content/resources/_index.md | 9 +++++++++ 4 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 content/resources/_index.md diff --git a/config.toml b/config.toml index 8b7b83d..6f82952 100644 --- a/config.toml +++ b/config.toml @@ -40,6 +40,7 @@ twitter_card = true header_nav = [ { url = "/", name_en = "home" }, { url = "/blog", name_en = "blog"}, + { url = "/blog/posts", name_en = "posts"}, { url = "/blog/about" ,name_en = "about"} ] diff --git a/content/_index.md b/content/_index.md index b98c0a0..d0e97a3 100644 --- a/content/_index.md +++ b/content/_index.md @@ -18,7 +18,7 @@ Official blog of Cybersecurity Club, IIT Madras. ## Tags -Browse our posts by tags: +Browse our posts by *[tags](/tags)* diff --git a/content/posts/_index.md b/content/posts/_index.md index 024a6e9..a3a35c9 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,5 +1,9 @@ +++ -imaginate_by = 15 -path = "/blog/posts" -page_template="blog-page.html" +paginate_by = 15 +path = "blog/posts" +title = "All posts" +sort_by = "date" +page_template = "blog-page.html" +++ + +> List of all *[tags](/tags)*% diff --git a/content/resources/_index.md b/content/resources/_index.md new file mode 100644 index 0000000..1f43ff3 --- /dev/null +++ b/content/resources/_index.md @@ -0,0 +1,9 @@ ++++ +paginate_by = 15 +path = "blog/resources" +title = "All Resources" +sort_by = "date" +page_template = "blog-page.html" ++++ + +> List of all *[tags](/tags)*