Re: [nikola-discuss] Post_list

2024-05-23 Thread Lars Bjørndal
Ah, thanks a lot! Deleting the cache folder made it working. Sorry that I didnæt try that before asking. Lars On Mon, May 20, 2024 at 09:02:58PM +0200, Chris Warrick wrote: > On Mon, 20 May 2024 at 17:14, Lars Bjørndal wrote: > > > > I got another error wh

[nikola-discuss] Post_list

2024-05-20 Thread Lars Bjørndal
I got another error while doing build: DependencyError - taskid:render_posts:cache/pages/index.html ERROR: Task 'render_posts:cache/pages/index.html' saving success: Dependent file '/usr/lib/python3.12/site-packages/nikola/data/themes/base/templates/post_list_directive.tmpl' does not exist.

Re: [nikola-discuss] Build problem

2024-05-07 Thread Lars Bjørndal
Thank you. You wrote: > Your theme is mentioning a template that was removed in the latest > version. This file will be restored in the next release, but with > empty content. > > The easiest fix would be to restore the files in your install as well: >

[nikola-discuss] Build problem

2024-05-07 Thread Lars Bjørndal
Hello! I've installed the latest nikola 8.3.1 within a virtualenv. When trying to do `nikola build`, I get an error message: ERROR: Nikola: mako.exceptions.TopLevelLookupException: Can't locate template for uri 'annotation_helper.tmpl'. I'll paste the complete output below. How can I solve this

[nikola-discuss] Problem with the gallery

2024-03-29 Thread Lars Bjørndal
Hi, list! We have two challenges with the galleries feature of Nikola that are critical to us: - It's difficult to zoom and at the same time navigate in the galleries - Multiple thumbnails are not laid out appealingly. We have many users/readers who are partially sighted. For those people

Re: [nikola-discuss] Major Python upgrade

2023-05-18 Thread Lars Bjørndal
On Thu, May 18, 2023 at 10:16:42AM -0300, Roberto Alsina wrote: > You probably need to rebuild Nikola, since it's still built against 3.10 I ended up deleting the output folder + cache and .doit.db. Lars > On Thu, May 18, 2023 at 9:03 AM Lars Bjørndal <[1]l...@lamasti.net> wrote: &g

[nikola-discuss] Major Python upgrade

2023-05-18 Thread Lars Bjørndal
After upgrading Python from 3.10 to 3.11, I got error from `nikola build` ERROR: Task 'render_posts:cache/pages/index.html' saving success: Dependent file '/usr/lib/python3.10/site-packages/nikola/data/themes/base/templates/post_list_directive.tmpl' does not exist The current Nikola version is

Re: [nikola-discuss] Link to rss feed in head for certain pages

2023-03-08 Thread Lars Bjørndal
Yes - works perfectly! Thanks, Lars On Wed, Mar 08, 2023 at 12:50:49PM -0300, Roberto Alsina wrote: > On Wed, Mar 8, 2023 at 12:35 PM Lars Bjørndal <[1]l...@lamasti.net> wrote: > > On Sun, Feb 12, 2023 at 01:49:34PM -0300, Roberto Alsina wrote: > > Use th

Re: [nikola-discuss] Link to rss feed in head for certain pages

2023-03-08 Thread Lars Bjørndal
un, Feb 12, 2023, 1:16 PM Lars Bjørndal <[1]l...@lamasti.net> wrote: > > Thank you. Sounds good. But how do I use a specific template only for > certain pages on a site? > > Thanks > > Lars > > On Sun, Feb 12, 2023 at 10:00:06AM -0300, Rober

Re: [nikola-discuss] Link to rss feed in head for certain pages

2023-02-12 Thread Lars Bjørndal
Script to inject it, but that's not going > to > be very useful. > > On Sun, Feb 12, 2023, 7:26 AM Lars Bjørndal <[1]l...@lamasti.net> wrote: > > Hi list! > > Some pages on a site does present a podcast. How can I add a Link to the > rss feed for

[nikola-discuss] Link to rss feed in head for certain pages

2023-02-12 Thread Lars Bjørndal
Hi list! Some pages on a site does present a podcast. How can I add a Link to the rss feed for the podcast in the head section? Can I somehow do it in the .rst file? Thanks in advance Lars -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To

Re: [nikola-discuss] Segfault after deploy

2021-07-15 Thread Lars Bjørndal
On Tue, Jul 06, 2021 at 07:44:21PM +0100, José Abílio Matos wrote: > On Tuesday, 8 June 2021 19.29.21 WEST Lars Bjørndal wrote: > > > Great! Is it possible that v8.1.3 will be available for Fedora 33 as > well? > > > > > > Thanks > > > > > &

Re: [nikola-discuss] Segfault after deploy

2021-06-08 Thread Lars Bjørndal
Hi! On Tue, Jun 08, 2021 at 09:42:39AM +0100, José Abílio Matos wrote: > On Tuesday, June 8, 2021 8:03:37 AM WEST Chris Warrick wrote: > > > Hi, > > > > > > This is a mostly harmless bug that was fixed in v8.1.3. You can just > > > ignore the error and ~everything will work fine, or you can

[nikola-discuss] Segfault after deploy

2021-06-07 Thread Lars Bjørndal
Hi! After successfully deploying a site, I get the following error: Scanning postsdone! [1m[2021-06-08 07:17:01] INFO: deploy: => preset 'default'[0m [1m[2021-06-08 07:17:01] INFO: deploy: ==> rsync -rav --delete output/ /var/www/html/saf-org[0m sending incremental file list ./

[nikola-discuss] Image as a link

2020-01-28 Thread Lars Bjørndal
Hi, list! In a Nikola page, how can I make a picture, a logo for instance, to function as a link to another page, e.g. the Facebook logo points to a Facebook page? Thanks in advance Lars -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To

Re: [nikola-discuss] Plugin problem

2019-11-03 Thread Lars Bjørndal
Hi! I can now build the page without critical errors from the postcast plugin, thanks a lot for your assistance. However, no information from the assosiated .rst files are generated in the xml. In the config, I have. POSTCAST_PATH = 'casts' POSTCASTS = ['visioneers_cast'] POSTCAST_CATEGORY =

Re: [nikola-discuss] Plubin problem

2019-10-27 Thread Lars Bjørndal
Hi! I still have problem with the postcast plugin. The site source is here: - If running the nikola build command in debug mode $ NIKOLA_DEBUG=1 nikola build 2>&1 |less I get lots of traceback - If I uncomment the POSTCAST_CATEGORY

Re: [nikola-discuss] Plubin problem

2019-10-07 Thread Lars Bjørndal
Hi! On Mon, Oct 07, 2019 at 08:16:16PM +0200, Chris Warrick wrote: > On 2019-10-07 09:41, Lars Bjørndal wrote: > > Hei! > > > > Tried to use the postcast plugin, but get the following error. Any ideas > > on how to fix? > > [snip very long log] [...] > Ther

[nikola-discuss] Anonymous hyperlink mismatch

2019-09-30 Thread Lars Bjørndal
When doing nikola build, and one file is changed, I get: [2019-09-30T12:33:24Z] ERROR: rest: [pages/om/historien-om-hodr-il.rst] Anonymous hyperlink mismatch: 1 references but 0 targets. See "backrefs" attribute for IDs. If I redo the command, I get no error message. And if I do nikola check -l

[nikola-discuss] Traceback after upgrade to v8

2018-11-20 Thread Lars Bjørndal
Hi, list! When doing `nikola build' after upgrade, I get the following errors: . render_taxonomies:output/authors/index.html TaskError - taskid:render_taxonomies:output/authors/index.html PythonAction Error Traceback (most recent call last): File