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

Robert Munteanu commented on SLING-6955:
----------------------------------------

So syntax markers are disabled at 
https://github.com/apache/sling-site/blob/master/src/main/jbake/templates/page.tpl#L7
 . Instead of outputting plain {{code}} tags and relying on highlight.js 
autodetection we should set the language directly, e.g. generate {{<code 
class="java">}}.

> Convert Sling website to JBake and gitpubsub
> --------------------------------------------
>
>                 Key: SLING-6955
>                 URL: https://issues.apache.org/jira/browse/SLING-6955
>             Project: Sling
>          Issue Type: Bug
>          Components: Site
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> I've started experimenting with JBake to generate the Sling website. If that 
> works well we might switch to that + gitpubsub to have a more flexible way to 
> generate the site.
> My current experiment is at https://github.com/bdelacretaz/sling-jbake, at 
> this point the site starts looking like the current one and many pages work 
> well.  Update: it's now at https://github.com/apache/sling-site
> Internal links will need to be converted, all *.md files need a more complete 
> "front matter" section, currently I have a stub for that, and I think images 
> need to move under the assets folder.
> To play with that, generate the site with the bake.sh script (setup 
> shamelessly copied from https://github.com/apache/incubator-tamaya-site)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to