B33Boy / Personal_Site

Portfolio Site + Blog

Home Page:https://abhipatel.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Netlify Status

How to Add Categories for Blog posts

Create a new markdown file in categories/
Replace CATEGORY_NAME and CATEGORY_TITLE and enter the following

---
layout: page
title: CATEGORY_TITLE
permalink: /blog/categories/CATEGORY_NAME
---

<h5> Posts by Category : {{ page.title }} </h5>

<div class="card">
{% for post in site.categories.CATEGORY_NAME %}
 <li class="category-posts"><span>{{ post.date | date_to_string }}</span> &nbsp; <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</div>

How to update Algolia Indices

bundle exec jekyll algolia

About

Portfolio Site + Blog

https://abhipatel.netlify.app

License:MIT License


Languages

Language:SCSS 53.0%Language:HTML 41.7%Language:JavaScript 4.0%Language:Ruby 1.0%Language:Dockerfile 0.3%