Re: [nikola-discuss] How to list existing categories if any, in a vertical sidebar

2016-08-11 Thread Roberto Alsina
Those things are only available in that page, and won't help you for what you are trying to do. On Thu, Aug 11, 2016 at 6:01 PM Ibn Saeed wrote: > What is cat_items and cat_hierarchy is tags.tmpl > > How to use them. > > -- > You received this message because you are subscribed to the Google Gro

Re: [nikola-discuss] How to list existing categories if any, in a vertical sidebar

2016-08-11 Thread Ibn Saeed
What is cat_items and cat_hierarchy is tags.tmpl How to use them. -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discuss+unsubscr...@googlegroups.com.

Re: [nikola-discuss] How does link://kind/name work ?

2016-08-11 Thread Ibn Saeed
Thank you , that works. On Thursday, August 11, 2016 at 8:11:25 PM UTC+4, Chris Warrick wrote: > > > > On 11 Aug 2016, at 18:08, Ibn Saeed > > wrote: > > > > Hello > > > > How does > > link://kind/name > > > > I tried adding it in my base.tmpl as > > link://categories/mycategory > > > >

Re: [nikola-discuss] How does link://kind/name work ?

2016-08-11 Thread Chris Warrick
> On 11 Aug 2016, at 18:08, Ibn Saeed wrote: > > Hello > > How does > link://kind/name > > I tried adding it in my base.tmpl as > link://categories/mycategory > > > It just displayed the literal text on the main page. > > -- > You received this message because you are subscribed to the G

[nikola-discuss] How does link://kind/name work ?

2016-08-11 Thread Ibn Saeed
Hello How does link://kind/name I tried adding it in my base.tmpl as link://categories/mycategory It just displayed the literal text on the main page. -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and sto

Re: [nikola-discuss] How to list existing categories if any, in a vertical sidebar

2016-08-11 Thread Ibn Saeed
I did hardcoded it into conf.py by adding the list in Global_Context On Thursday, August 11, 2016 at 6:48:17 PM UTC+4, Roberto Alsina wrote: > > 3) Modify the categories plugin to generate that json file > > On Thu, Aug 11, 2016 at 11:41 AM Chris Warrick > wrote: > >> On 11 August 2016 at 16:27,

Re: [nikola-discuss] How to list existing categories if any, in a vertical sidebar

2016-08-11 Thread Roberto Alsina
3) Modify the categories plugin to generate that json file On Thu, Aug 11, 2016 at 11:41 AM Chris Warrick wrote: > On 11 August 2016 at 16:27, Ibn Saeed wrote: > > Hello > > > > How to list existing categories if any, in a vertical sidebar. > > > > I just need the category titles. > > > > [snip

Re: [nikola-discuss] How to list existing categories if any, in a vertical sidebar

2016-08-11 Thread Chris Warrick
On 11 August 2016 at 16:27, Ibn Saeed wrote: > Hello > > How to list existing categories if any, in a vertical sidebar. > > I just need the category titles. > > [snip] > > But it does not work . The variables used in your snippet work only on the “Tags and Categories” page. We don’t provide them

Re: [nikola-discuss] How to list existing categories if any, in a vertical sidebar

2016-08-11 Thread Roberto Alsina
Well, that's for tags, and it only works in the tag list. It is possible to do something similar but it will take a little coding in the categories plugin. On Thu, Aug 11, 2016 at 11:27 AM Ibn Saeed wrote: > Hello > > How to list existing categories if any, in a vertical sidebar. > > I just need

[nikola-discuss] How to list existing categories if any, in a vertical sidebar

2016-08-11 Thread Ibn Saeed
Hello How to list existing categories if any, in a vertical sidebar. I just need the category titles. I found this in tags.tmpl <%block name="content"> % if cat_items: % if items: ${messages("Categories")} % endif % for text, full_name, path, link, indent