I must have been doing something to break it. I copied the gzip example
and like you, just changed names this time and it works.
I think what I want to do is not possible and it was modifying the gzip
plugin to do it that was causing the error I posted before
Basically, after a page / post
Thanks. I now have a copy of base_helper.tmpl and base_header.tmpl in my
custom theme. The downside is obviously that if the parent template is
updated in nikola, old (even those unrelated to my changes) from those
overridden files will be used.
You mention I should keep only functions I need,
On 4 November 2016 at 20:39, Dave wrote:
> Am trying to write a task multiplier plugin that will multiply out after a
> render_x task.
>
> I have copied the gzip multiplier task in the default install but am
> getting:
>
>>ERROR: render_site. Task dependency 'render_site_validate_render_output'
>>
Am trying to write a task multiplier plugin that will multiply out after a
render_x task.
I have copied the gzip multiplier task in the default install but am
getting:
>ERROR: render_site. Task dependency 'render_site_validate_render_output'
does not exist.
where validate_render_output is th
On Fri, Nov 4, 2016 at 1:58 PM Achab Bachadiensis wrote:
>
> The simplest way is to do this:
> nikola theme -c post_header.tmpl
> That will give you a copy of that template in templates/ edit at will, and
> that's it :-)
>
> Thanks! I assume I can change the "real" theme I use just by putting it
> The simplest way is to do this:
> nikola theme -c post_header.tmpl
> That will give you a copy of that template in templates/ edit at will, and
> that's it :-)
>
Thanks! I assume I can change the "real" theme I use just by putting it in
themes/custom/parent, right?
Now how do I override only
The simplest way is to do this:
nikola theme -c post_header.tmpl
That will give you a copy of that template in templates/ edit at will, and
that's it :-)
On Fri, Nov 4, 2016 at 10:58 AM Achab Bachadiensis wrote:
> Hi there,
>
> I would like to change the way available languages of a post are dis
Hi there,
I would like to change the way available languages of a post are displayed
(show flags instead of the visually disturbing "Also available in: ..." at
the top) in a multilingual site. This fragment is generated from the
html_translations(post) function (defined in
data/themes/base/tem