[ 
https://issues.apache.org/jira/browse/LUCENE-8987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037861#comment-17037861
 ] 

Uwe Schindler commented on LUCENE-8987:
---------------------------------------

I figured out why it does not work: For jinja2content there are some 
restictions:
"In this approach, your content is first rendered by the Jinja template engine. 
The result is then passed to the normal pelican reader as usual. There are two 
consequences for usage. First, this means the Pelican context and jinja 
variables usually visible to your article or page template are not available at 
rendering time. Second, it means that if any of your input content could be 
parsed as Jinja directives, they will be rendered as such. This is unlikely to 
happen accidentally, but it's good to be aware of."

So it looks like vraibales from pelicanconf are not available at this time! I 
am looking around.

> Move Lucene web site from svn to git
> ------------------------------------
>
>                 Key: LUCENE-8987
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8987
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: general/website
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>         Attachments: lucene-site-repo.png
>
>
> INFRA just enabled [a new way of configuring website 
> build|https://s.apache.org/asfyaml] from a git branch, [see dev list 
> email|https://lists.apache.org/thread.html/b6f7e40bece5e83e27072ecc634a7815980c90240bc0a2ccb417f1fd@%3Cdev.lucene.apache.org%3E].
>  It allows for automatic builds of both staging and production site, much 
> like the old CMS. We can choose to auto publish the html content of an 
> {{output/}} folder, or to have a bot build the site using 
> [Pelican|https://github.com/getpelican/pelican] from a {{content/}} folder.
> The goal of this issue is to explore how this can be done for 
> [http://lucene.apache.org|http://lucene.apache.org/] by, by creating a new 
> git repo {{lucene-site}}, copy over the site from svn, see if it can be 
> "Pelicanized" easily and then test staging. Benefits are that more people 
> will be able to edit the web site and we can take PRs from the public (with 
> GitHub preview of pages).
> Non-goals:
>  * Create a new web site or a new graphic design
>  * Change from Markdown to Asciidoc



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to