Hi,

I created a template based shortcode "button", and using it as directive according to the example for "post-list":

.. button::
   :icon: paperplane
   :color: blue

   This is the text in the button

Anyhow. when using it in reST file, I get "Unknown directive type "button"".

I tried both

 * themes/mytheme/shortcodes/button.tmpl
 * themes/mytheme/templates/shortcodes/button.tmpl

without success.

What am I doing wrong?

--
Regards
Hartmut Goebel

| Hartmut Goebel          |[email protected]                |
|www.crazy-compilers.com  | compilers which you thought are impossible |

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/f7b086ec-592b-44de-9228-66bc0d7ab38e%40crazy-compilers.com.

Reply via email to