diff --git a/_data/blog_categories.yml b/_data/blog_categories.yml new file mode 100644 index 00000000..13fbb1a4 --- /dev/null +++ b/_data/blog_categories.yml @@ -0,0 +1,19 @@ +- title: Training and certifications + slug: training-and-certifications + match: training-and-certifications + +- title: Career management + slug: career-management + match: career-management + +- title: Machine Learning + slug: machine-learning + match: machine-learning + +- title: Community learning and experiences + slug: community-learning + match: community-learning + +- title: Tech career + slug: tech-career + match: tech-career \ No newline at end of file diff --git a/_data/navbar.yml b/_data/navbar.yml index afa5ca8d..59c49581 100644 --- a/_data/navbar.yml +++ b/_data/navbar.yml @@ -83,6 +83,7 @@ - name: Blog link: blog index: 4 + subfolderitems: [] - name: About Us index: 5 subfolderitems: diff --git a/_includes/navbar.html b/_includes/navbar.html index 6ae1acb0..3c768f12 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -6,7 +6,7 @@ @@ -17,24 +17,41 @@ {% if item.subfolderitems %} {% if item.link %} - + {{ item.name }} {% else %} + aria-haspopup="true" aria-expanded="false"> {{ item.name }} {% endif %}
{% else %} {{ item.name }} @@ -44,4 +61,4 @@ - + \ No newline at end of file diff --git a/_layouts/blog-category.html b/_layouts/blog-category.html new file mode 100644 index 00000000..b5217159 --- /dev/null +++ b/_layouts/blog-category.html @@ -0,0 +1,52 @@ +--- +layout: default +--- + +{% assign posts = site.posts | where: "category", page.category %} + + + +