css: tweaked search to use category_title instead of category

git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@62 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
Claudio Maggioni 2018-11-08 14:10:36 +00:00
parent db305094a7
commit ea515f2e04
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
---
layout: page
category: Basic commands
category_title: Basic commands
tags: directory change navigate
author: Joey Bevilacqua
title: CD

View File

@ -1,6 +1,6 @@
---
layout: page
category: Basic commands
category_title: Basic commands
tags: directory list
author: Claudio Maggioni
title: LS

View File

@ -8,10 +8,10 @@ author: Claudio Maggioni
{% if page.category != "nosearch" %}
{
"title" : "{{ page.title | escape }}",
"category" : "{{ page.category }}",
"tags" : "{{ page.tags | join: ', ' }}",
"url" : "{{ page.baseurl }}{{ page.url }}",
"date" : "{{ page.date }}"
"date" : "{{ page.date }}",
"category": "{{ page.category_title }}"
},
{% endif %}
{% endfor %}